Debian Codegraph @

CHANGELOG.md

raw
1 ## UPCOMING
2
3 - Bugfix: the bottom bar syntax do not show `token` like `MATCH`, `COUNT`, `TYPE`.
4 - Bugfix: replace the `open_text` API with `files()`.
5 - Dependency: Add support for Python 3.13, drop support for Python 3.8 and 3.9.
6 - Bugfix: `CONFIG GET` auto-completion grammar now matches commands.json (accepts one or
7 more parameters instead of parameter+value).
8 - Bugfix: `CONFIG SET` auto-completion grammar now matches commands.json (accepts one or
9 more parameter-value pairs since Redis 7.0).
10 - Bugfix: `COMMAND INFO` auto-completion grammar now matches commands.json (accepts 0 or
11 more command names; Redis 7.0+ allows no argument).
12 - Bugfix: `ACL DRYRUN` added to command syntax and grammar (username, command, optional args).
13 - Bugfix: `LPOP`/`RPOP` auto-completion grammar now matches commands.json (optional count
14 since Redis 6.2).
15 - Bugfix: `PUBSUB` (CHANNELS/NUMSUB/NUMPAT) grammar now matches commands.json (0 or more
16 channels/pattern).
17 - Bugfix: `COMMAND LIST` added to command syntax (since Redis 7.0, optional FILTERBY).
18 - Bugfix: `RPUSHX` auto-completion grammar now matches commands.json (multiple elements
19 since Redis 4.0).
20 - Bugfix: `SCRIPT FLUSH` grammar now matches commands.json (optional ASYNC|SYNC since 6.2).
21 - Bugfix: `CLIENT NO-EVICT` and `CLIENT NO-TOUCH` added to command syntax (since 7.0/7.2, ON|OFF).
22 - Bugfix: `MEMORY USAGE` grammar now matches commands.json (optional SAMPLES count).
23 - Bugfix: `OBJECT` grammar now matches commands.json (OBJECT HELP with no key, or subcommand key).
24 - Bugfix: `PUNSUBSCRIBE`/`UNSUBSCRIBE` grammar now matches commands.json (0 or more channels/patterns).
25 - Bugfix: `LMOVE` added to command syntax (since 6.2, source dest LEFT|RIGHT LEFT|RIGHT).
26 - Bugfix: `COMMAND DOCS` added to command syntax (since 7.0, 0 or more command names).
27 - Bugfix: `ZDIFF` added to command syntax (since 6.2).
28 - Bugfix: 73 commands added or aligned in command_syntax.csv to match commands.json
29 (ASKING, BLMPOP, BZMPOP, CLIENT HELP, CLIENT SETINFO,
30 CLUSTER ADDSLOTSRANGE/HELP/LINKS/SHARDS, COMMAND GETKEYSANDFLAGS/HELP, CONFIG HELP,
31 FCALL, FCALL_RO, FUNCTION DELETE/DUMP/FLUSH/HELP/KILL/LIST/LOAD/RESTORE/STATS,
32 GEORADIUS_RO, GEORADIUSBYMEMBER_RO, LCS, LMPOP, MODULE HELP/LOADEX,
33 OBJECT ENCODING/FREQ/HELP/IDLETIME/REFCOUNT, PEXPIRETIME, PFDEBUG, PFSELFTEST,
34 PUBSUB CHANNELS/HELP/NUMPAT/NUMSUB/SHARDCHANNELS/SHARDNUMSUB, REPLCONF, RESET,
35 RESTORE-ASKING, SCRIPT HELP, SINTERCARD, SLOWLOG GET/HELP/LEN/RESET, SMISMEMBER,
36 SORT_RO, SPUBLISH, SSUBSCRIBE, SUBSTR, SUNSUBSCRIBE, WAITAOF, XAUTOCLAIM, XSETID,
37 ZDIFFSTORE, ZINTER, ZINTERCARD, ZMPOP, ZMSCORE, ZRANDMEMBER, ZRANGESTORE, ZUNION).
38 Container-only entries (CONFIG, MEMORY, FUNCTION, CLUSTER, COMMAND, CLIENT, ACL,
39 DEBUG, LATENCY, MODULE, SCRIPT) are not in command_syntax.csv because they
40 require a subcommand and must not be offered as standalone completions.
41 XGROUP/XINFO subcommand rows are not added so existing command_xgroup
42 / command_xinfo grammar and tests remain valid. HELP-style subcommands use
43 command_parametersx for 0+ arguments. All commands from commands.json are now
44 present in command_syntax.csv.
45 - Deprecate: Do not provide the single standalone build using `Pyoxidizer` from this version.
46
47 ### 1.16.1
48
49 - Feature: add `--natmap` for Redis Cluster deployments whose nodes advertise
50 private addresses, such as clusters accessed through SSH tunnels or other
51 NAT/port-forwarding setups. (thanks to [h3nnn4n])
52 - Bugfix: handle redis-py's `MovedError` so cluster `MOVED` redirects are
53 reissued correctly. (thanks to [rafaelclp])
54 - Bugfix: properly handle empty passwords when connecting with authentication.
55 (thanks to [giom-l])
56 - Dependency: add Python 3.13 classifier support.
57 - Test: add coverage for `MOVED` redirect handling and `--natmap` parsing.
58 - Doc: document `--natmap` with a Redis Cluster/NAT example.
59 - CI: refresh GitHub Actions cache setup.
60
61 ### 1.15.2
62
63 - Feature: config file (`iredisrc`)'s path now can be set by environment
64 variable using `IREDIS_CONFIG`.
65
66 ### 1.15.1
67
68 - Bugfix: fix `xgroup help` command output.
69
70 ## 1.15
71
72 - Dependency: remove pendulum, add `python-dateutil` (thanks to [deronnax])
73 - Dependency: Supports Python 3.12 Now! (thanks to [deronnax])
74
75 ### 1.14.1
76
77 - Bugfix: fix argument parsing, `"foo\nbar"` will be parsed to `foo` and `\`
78 and `n` and `bar`, the `\` and `n` should be one character `\n` instead.
79
80 ## 1.14
81
82 - Dependency: upgrade redis-py to 5 (thanks to [chayim])
83 - Feature: porting to redis-server 7.2 now
84 - Feature: supports python 3.10, 3.11 now
85 - Doc: update commands.json from redis-doc to latest version
86
87 ## 1.13.2
88
89 - Dependency: upgrade markdown render mistune to v3
90 - Dependency: deprecated importlib_resources, use Python build in
91 `importlib.resources` now
92 - Dependency: upgrade redis-py to 4.5
93 - Doc: update homepage link to iredis.xbin.io
94 - Bugfix: Fix restore command caused by string literal escape
95
96 ## 1.13
97
98 - Dependency: Drop Python 3.6 support.
99 - Bugfix: fix some typos.
100
101 ### 1.12.2
102
103 - Feature: IRedis now honors the `ssl_cert_reqs` strategy, either specifying it
104 via command line (`--verify-ssl=<none|optional|required>`) or as an url
105 parameter (`ssl_cert_reqs`) when the connection is secured via tls
106 (`rediss://`). (authored by [torrefatto])
107
108 ### 1.12.1
109
110 - Feature: support new command: `HRANDFIELD`.
111 - Bugfix: all tests pass on redis:7 now.
112 - Feature: IRedis now accept `username` for auth, redis server version under 6
113 will ignore `username`.
114 - Feature: IRedis support prompt now, you can customize prompt string. (thanks
115 to [aymericbeaumet])
116
117 ## 1.12
118
119 - Feature: `CLIENT KILL` now support `LADDR` argument.
120 - Feature: `CLIENT LIST` now support `ID` argument.
121 - Feature: `CLIENT PAUSE` support options and added `CLIENT UNPAUSE` command.
122 - Feature: `CLIENT TRACKING` support multiple prefixes.
123 - Feature: support new command: `CLIENT TRACKINGINFO`.
124 - Feature: support new command: `COPY`.
125 - Feature: support new command: `EVAL_RO` and `EVALSHA_RO`.
126 - Feature: support new command: `EXPIRETIME`.
127 - Feature: support new command: `FAILOVER`.
128 - Feature: support new command: `GEOSEARCH`.
129 - Feature: support new command: `GEOSEARCHRESTORE`.
130 - Feature: support new command: `GETDEL`.
131 - Feature: support new command: `GETEX`.
132 - Feature: `FLUSHDB` and `FLUSHALL` supports `SYNC` option.
133 - Feature: `GEOADD` supports `CH XX NX` options.
134 - Feature: Timestamp Completers are now support completion for timestamp fields
135 and milliseconds timestamp fields.
136 - Deprecate: `GEORADIUS` is deprecated, no auto-complete for this command
137 anymore.
138 - Deprecate: `GEORADIUSBYMEMBER` is deprecated, no auto-complete for this
139 command anymore.
140
141 ### 1.11.1
142
143 - Bugfix: Switch `distutils.version` to `packaging.version` to fix the version
144 parse for windows. (new dependency: pypi's python-packaging.
145
146 ## 1.11
147
148 - Dependency: Upgrade mistune lib to ^2.0. (see
149 https://github.com/laixintao/iredis/issues/232)
150
151 ## 1.10
152
153 - Feature: more human readable output for `HELP` command like `ACL HELP` and
154 `MEMORY HELP`.
155 - Feature: you can use <kbd>Ctrl</kbd> + <kbd>C</kbd> to cancel a blocking
156 command like `BLPOP`.
157 - Test: IRedis now tested under ubuntu-latest (before is ubuntu-16.04)
158 - Dependency: Support Python 3.10 now, thanks to [tssujt].
159 - Add new command group: `bitmap`.
160 - Support new command in Redis:
161 - `ACL GETUSER`
162 - `ACL HELP`
163 - `BLMOVE`
164 - `CLIENT INFO`
165
166 ### 1.9.4
167
168 - Bugfix: respect newbie_mode set in config, if cli flag is missing. thanks to
169 [sid-maddy]
170
171 ### 1.9.3
172
173 - Bugfix: When IRedis start with `--decode=utf-8`, command with shell pipe will
174 fail. ( [#383](https://github.com/laixintao/iredis/issues/383)). Thanks to
175 [hanaasagi].
176
177 ### 1.9.2
178
179 - Bugfix: before `cluster` commands' `node-id` only accept numbers, not it's
180 fixed. `node-id` can be `\w+`.
181 - Feature: support set client name for iredis connections via `--client-name`.
182
183 ### 1.9.1
184
185 - Feature: support auto-reissue command to another Redis server, when got a
186 "MOVED" error in redis cluster.
187
188 ## 1.9
189
190 - Feature: Support `LPOS` command.
191 - Doc: Update docs in `HELP` command update to date.
192
193 ## 1.8
194
195 - Feature: Fully support Redis6!
196 - Support `STRALGO` command.
197 - `MIGRATE` command now support `AUTH2`.
198 - DISABLE `hello` command, IRedis not support RESP3.
199
200 ### 1.7.4
201
202 - Bugfix: Lock wcwidth's version on `1.9.0`. Fix binary build.
203
204 ### 1.7.3
205
206 - Bugfix: IRedis can be suspended by <kbd>Ctrl</kbd> + <kbd>Z</kbd>. (Thanks
207 [wooden-robot])
208 - Bugfix: Press <kbd>Enter</kbd> when completion is open will not execute
209 commands. (Thanks [wooden-robot])
210 - Feature: `AUTH` command is now compatible with both Redis 5 and Redis 6.
211 - Redis6 support: `CLIENT KILL` support kill by `USER`, `XINFO` command support
212 `FULL` option.
213
214 ### 1.7.2
215
216 - Feature: Support `ACL` ( [#340](https://github.com/laixintao/iredis/pull/343)
217 ).
218 - Bugfix: Include tests in source distribution.
219
220 ### 1.7.1
221
222 - Bugfix: `command in` considered as an invalid input case, due to matched with
223 `command`'s syntax, and `in` as an extra args. Fixed by falling back to
224 default grammar if there are ambiguous commands that can match.
225
226 ## 1.7
227
228 - Update: Builtin doc was updated with latest
229 redis-doc(dd4159397f115d53423c21337eedb04d3258d291).
230 - Feature: New command support: `CLIENT GETREDIR`, `CLIENT TRACKING` and
231 - Test: IRedis now was tested in both Redis 5 and Redis 6.
232 - Bugfix: Fix exception when transaction fails. (Thanks [brianmaissy])
233 - Bugfix: Merging multiple spaces bug, e.g. `set foo "hello world"` will result
234 in sending `set foo "hello world"` to redis-server. `CLIENT CACHING`.
235 - Bugfix: `--url` options is ignored, but don't worry, it is fixed now by
236 [otms61].
237
238 ### 1.6.2
239
240 - Bugfix: `INFO` command accepts `section` now.
241 - Bugfix: refused to start when can not create connection.
242
243 ### 1.6.1
244
245 - Bugfix: Dangerous command will still run even user canceled.
246
247 ## 1.6
248
249 - Feature: support pager. You can disable it using `--no-pager` or in your
250 `iredisrc`, or change the pager behavior by setting `pager` in `iredisrc`.
251
252 ## 1.5
253
254 - Bugfix: PEEK command do not use MEMORY USAGE before redis version 4.0.
255 - Feature: Support disable shell pipeline feature in iredisrc. (Thanks
256 [wooden-robot])
257
258 ### 1.4.3
259
260 - Support `LOLWUT` command of Redis 6 version.
261
262 ### 1.4.2
263
264 - Password for `AUTH` command will be hidden as `*`.
265
266 ### 1.4.1
267
268 - This is a test release, nothing new.
269
270 ## 1.4.0
271
272 - Bugfix: Fix PyOxidizer binary build, by locking the importlib_resources
273 version.
274
275 ### 1.3.1
276
277 - Bugfix: Fix PyOxidizer binary build.
278 - Feature: Completer for HELP command.
279 - Bugfix: Lowercase for `--newbie` mode.
280 - Bugfix: Bottom hint for IRedis builtin commands.
281
282 ## 1.3.0
283
284 - Catch up with redis-doc: d19fb20..6927ef0:
285 - `SET` command support `KEEPTTL` option.
286 - `LPUSHX` accepts multiple elements.
287 - Add commands support for:
288 - CLUSTER BUMPEPOCH
289 - CLUSTER FLUSHSLOTS
290 - CLUSTER MYID
291 - MODULE LIST
292 - MODULE LOAD
293 - MODULE UNLOAD
294 - PSYNC
295 - LATENCY DOCTOR
296 - LATENCY GRAPH
297 - LATENCY HISTORY
298 - LATENCY LATEST
299 - LATENCY RESET
300 - LATENCY HELP
301
302 ## 1.2.0
303
304 - Feature: Peek command now displays more friendly, before each "info" will take
305 one line, now type/encoding/ttl/memory usage will display in one line, makes
306 the result looks more clear.
307 - Support DSN. (Thanks [lyqscmy]).
308 - Support URL.
309 - Support socket connection.
310
311 ### 1.1.2
312
313 - Feature: support history location config.
314
315 ### 1.1.1
316
317 - This release is for testing the binary build, nothing else changed.
318
319 ## 1.1
320
321 - Feature: Package into a single binary with PyOxidizer (thanks [Mac Chaffee])
322
323 ### 1.0.5
324
325 - Feature: <kbd>Ctrl - X</kbd> then <kbd>Ctrl -E</kbd> to open an editor to edit
326 command.
327 - Feature: Support `completion_casing` config.
328
329 ### 1.0.4
330
331 - Bugfix: command completions when a command is substring of another command.
332 [issue#198](https://github.com/laixintao/iredis/issues/198)
333
334 ### 1.0.3
335
336 - Feature: Support `bitfield` command, and a new completer for int type.
337
338 ### 1.0.2
339
340 - Internal: Migrate CI from travis and circleci to github action.
341
342 ### 1.0.1
343
344 - Bugfix: Fix info command decode error on
345 decode=utf-8 #[266](https://github.com/laixintao/iredis/pull/266)
346
347 # 1.0
348
349 - Feature: Support `EXIT` to exit iredis REPL.
350 - Feature: Support `CLEAR` to clear screen.
351 - Feature: Support config log location in iredisrc file, default to None.
352
353 ### 0.9.1
354
355 - Feature: Support `PEEK` Command.
356
357 ## 0.9
358
359 - Refactor: split completer update and response render; Move cli tests to travis
360 ci. (Thanks: [ruohan.chen])
361 - Support stream commands. _ Timestamp completer support. _ Stream command
362 renders and lexers.
363 - Bugfix: When response is None,
364 `iredis.completers.udpate_completer_for_responase` will raise Exception.
365
366 ### 0.8.12
367
368 - Bugfix: Multi spaces between commands can be recognised as correct commands
369 now.
370 - Feature: Warning on dangerous command.
371
372 ### 0.8.11
373
374 - Bugfix: Fix HELP command can not render markdown with a `<h3>` header.
375 - Bugfix: Pipeline using a builtin Python API.
376
377 ### 0.8.10
378
379 - Bugfix: previous version of iredis didn't package redis-doc correctly.
380 - Feature: prompt for dangerous commands.
381
382 ### 0.8.9
383
384 - Support config files.
385
386 ### 0.8.8
387
388 - Bugfix: pipeline in iredis can run shell command include pipes. thanks to
389 [Wooden-Robot].
390
391 ### 0.8.7
392
393 - Support connect shell utilities with pipeline
394
395 [wooden-robot]: https://github.com/Wooden-Robot
396 [ruohan.chen]: https://github.com/crhan
397 [mac chaffee]: https://github.com/mac-chaffee
398 [lyqscmy]: https://github.com/lyqscmy
399 [brianmaissy]: https://github.com/brianmaissy
400 [otms61]: https://github.com/otms61
401 [hanaasagi]: https://github.com/Hanaasagi
402 [sid-maddy]: https://github.com/sid-maddy
403 [tssujt]: https://github.com/tssujt
404 [aymericbeaumet]: https://github.com/aymericbeaumet
405 [torrefatto]: https://github.com/torrefatto
406 [chayim]: https://github.com/chayim
407 [deronnax]: https://github.com/deronnax
408 [h3nnn4n]: https://github.com/h3nnn4n
409 [rafaelclp]: https://github.com/rafaelclp
410 [giom-l]: https://github.com/giom-l