Backwards Incompatible Changes
- Removed support for end of life Python 2.7. #1318
- All values within Redis URLs are unquoted via
urllib.parse.unquote. Prior versions of redis-py supported this by
specifying thedecode_components
flag to thefrom_url
functions.
This is now done by default and cannot be disabled. #589 - Redis commands were moved into a mixin
(see commands.py). Anyone importingredis.client
to access commands
directly should importredis.commands
. #1534, #1550
CHANGES
- Removed technical debt on REDIS_6_VERSION placeholder. Thanks @chayim #1582.
- Various docus fixes. Thanks @Andrew-Chen-Wang #1585, #1586.
- Support for LOLWUT command, available since Redis 5.0.0.
Thanks @brainix #1568. - Added support for CLIENT REPLY, available in Redis 3.2.0.
Thanks @chayim #1581. - Support for Auto-reconnect PubSub on get_message. Thanks @luhn #1574.
- Fix RST syntax error in README/ Thanks @JanCBrammer #1451.
- IDLETIME and FREQ support for RESTORE. Thanks @chayim #1580.
- Supporting args with MODULE LOAD. Thanks @chayim #1579.
- Updating RedisLabs with Redis. Thanks @gkorland #1575.
- Added support for ASYNC to SCRIPT FLUSH available in Redis 6.2.0.
Thanks @chayim. #1567 - Added CLIENT LIST fix to support multiple client ids available in
Redis 2.8.12. Thanks @chayim #1563. - Added DISCARD support for pipelines available in Redis 2.0.0.
Thanks @chayim #1565. - Added ACL DELUSER support for deleting lists of users available in
Redis 6.2.0. Thanks @chayim. #1562 - Added CLIENT TRACKINFO support available in Redis 6.2.0.
Thanks @chayim. #1560 - Added GEOSEARCH and GEOSEARCHSTORE support available in Redis 6.2.0.
Thanks @AvitalFine Redis. #1526 - Added LPUSHX support for lists available in Redis 4.0.0.
Thanks @chayim. #1559 - Added support for QUIT available in Redis 1.0.0.
Thanks @chayim. #1558 - Added support for COMMAND COUNT available in Redis 2.8.13.
Thanks @chayim. #1554. - Added CREATECONSUMER support for XGROUP available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1553 - Including slowly complexity in INFO if available.
Thanks @ian28223 #1489. - Added support for STRALGO available in Redis 6.0.0.
Thanks @AvitalFineRedis. #1528 - Addes support for ZMSCORE available in Redis 6.2.0.
Thanks @2014BDuck and @jiekun.zhu. #1437 - Support MINID and LIMIT on XADD available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1548 - Added sentinel commands FLUSHCONFIG, CKQUORUM, FAILOVER, and RESET
available in Redis 2.8.12.
Thanks @otherpirate. #834 - Migrated Version instead of StrictVersion for Python 3.10.
Thanks @tirkarthi. #1552 - Added retry mechanism with backoff. Thanks @nbraun-amazon. #1494
- Migrated commands to a mixin. Thanks @chayim. #1534
- Added support for ZUNION, available in Redis 6.2.0. Thanks
@AvitalFineRedis. #1522 - Added support for CLIENT LIST with ID, available in Redis 6.2.0.
Thanks @chayim. #1505 - Added support for MINID and LIMIT with xtrim, available in Reds 6.2.0.
Thanks @chayim. #1508 - Implemented LMOVE and BLMOVE commands, available in Redis 6.2.0.
Thanks @chayim. #1504 - Added GET argument to SET command, available in Redis 6.2.0.
Thanks @2014BDuck. #1412 - Documentation fixes. Thanks @enjoy-binbin @Jonher937. #1496 #1532
- Added support for XAUTOCLAIM, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1529 - Added IDLE support for XPENDING, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1523 - Add a count parameter to lpop/rpop, available in Redis 6.2.0.
Thanks @wavenator. #1487 - Added a (pypy) trove classifier for Python 3.9.
Thanks @D3X. #1535 - Added ZINTER support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1520 - Added ZINTER support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1520 - Added ZDIFF and ZDIFFSTORE support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1518 - Added ZRANGESTORE support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1521 - Added LT and GT support for ZADD, available in Redis 6.2.0.
Thanks @chayim. #1509 - Added ZRANDMEMBER support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1519 - Added GETDEL support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1514 - Added CLIENT KILL laddr filter, available in Redis 6.2.0.
Thanks @chayim. #1506 - Added CLIENT UNPAUSE, available in Redis 6.2.0.
Thanks @chayim. #1512 - Added NOMKSTREAM support for XADD, available in Redis 6.2.0.
Thanks @chayim. #1507 - Added HRANDFIELD support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1513 - Added CLIENT INFO support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1517 - Added GETEX support, available in Redis 6.2.0.
Thanks @AvitalFineRedis. #1515 - Added support for COPY command, available in Redis 6.2.0.
Thanks @malinaa96. #1492 - Provide a development and testing environment via docker. Thanks
@abrookins. #1365 - Added support for the LPOS command available in Redis 6.0.6. Thanks
@aparcar #1353/#1354 - Added support for the ACL LOG command available in Redis 6. Thanks
@2014BDuck. #1307 - Added support for ABSTTL option of the RESTORE command available in
Redis 5.0. Thanks @charettes. #1423