Skip to content

Releases: redis/redis-py

Version 4.1.0-rc2

09 Dec 10:07
12c17bf
Compare
Choose a tag to compare
Version 4.1.0-rc2 Pre-release
Pre-release

Changes

🔥 Breaking Changes (from 4.1.0 rc1)

  • Migrated targeted nodes to kwargs in Cluster Mode (#1762)

🚀 New Features

  • Added support for MONITOR in clusters (#1756)
  • Adding ROLE Command (#1610)
  • Integrate RedisBloom support (#1683)
  • Adding RedisGraph support (#1556)
  • Allow overriding connection class via keyword arguments (#1752)
  • Aggregation LOAD * support for RediSearch (#1735)

🧰 Maintenance

  • Adding cluster, bloom, and graph docs (#1779)
  • Add packaging to setup_requires, and use >= to play nice to setup.py (fixes #1625) (#1780)
  • Fixing the license link in the readme (#1778)
  • Removing distutils from tests (#1773)
  • Fix cluster ACL tests (#1774)
  • Improved RedisCluster's reinitialize_steps and documentation (#1765)
  • Added black and isort (#1734)
  • Link Documents for all module commands (#1711)
  • Pyupgrade + flynt + f-strings (#1759)
  • Remove unused aggregation subclasses in RediSearch (#1754)

Contributors

We'd like to thank all the contributors who worked on this release!

@AvitalFineRedis, @WisdomPill, @akx, @barshaul, @asheryerm, @chayim, @hartwork and @m-novikov

Version 4.1.0-rc1

25 Nov 14:58
4db85ef
Compare
Choose a tag to compare
Version 4.1.0-rc1 Pre-release
Pre-release

Changes

🚀 New Features

  • Adding RedisCluster client to support Redis Cluster Mode (#1660)
  • Support RediSearch FT.PROFILE command (#1727)
  • Adding support for non-decodable commands (#1731)
  • COMMAND GETKEYS support (#1738)
  • RedisJSON 2.0.4 behaviour support (#1747)

🐛 Bug Fixes

  • Removing deprecating distutils (PEP 632) (#1730)

🧰 Maintenance

  • Updating PR template (#1745)
  • Removing duplication of Script class (#1751)
  • Splitting documentation for read the docs (#1743)
  • Improve code coverage for aggregation tests (#1713)
  • Fixing COMMAND GETKEYS tests (#1750)
  • GitHub release improvements (#1684)
  • 4.1.0rc1 (#1742)

Contributors

We'd like to thank all the contributors who worked on this release!

@AvitalFineRedis, @barshaul and @chayim

Version 4.0.2

22 Nov 08:30
64791a5
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

  • Restoring Sentinel commands to redis client (#1723)
  • Better removal of hiredis warning (#1726)

🧰 Maintenance

  • Adding links to redis documents in function calls (#1719)

Contributors

We'd like to thank all the contributors who worked on this release!

@Carlosbogo, @sculley and @wuisawesome

Version 4.0.1

17 Nov 11:01
4e9cc01
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Removing command on initial connections (#1722)
  • Removing hiredis warning when not installed (#1721)

Contributors

We'd like to thank all the contributors who worked on this release!

@chayim

Version 4.0.0

15 Nov 11:49
c02d720
Compare
Choose a tag to compare

Changes Since 3.5.3

4.0.0-rc2 release notes
4.0.0-rc1 release notes
4.0.0-beta3 release notes
4.0.0-beta2 release notes
4.0.0-beta1 ​release notes

🚀 New Features

  • FT.EXPLAINCLI intentionally raising NotImplementedError (#1705)

🐛 Bug Fixes

  • Restoring ZRANGE desc for Redis < 6.2.0 (#1697)
  • Response parsing occasionally fails to parse floats (#1692)
  • Re-enabling read-the-docs (#1707)

🧰 Maintenance

  • Call HSET after FT.CREATE to avoid keyspace scan (#1706)
  • Unit tests fixes for compatibility (#1703)
  • Improve documentation about Locks (#1701)
  • Fixes to allow --redis-url to pass through all tests (#1700)
  • Fix unit tests running against Redis 4.0.0 (#1699)
  • Search alias test fix (#1695)
  • Adding RediSearch/RedisJSON tests (#1691)
  • Updating codecov rules (#1689)
  • Tests to validate custom JSON decoders (#1681)
  • Added breaking icon to release drafter (#1702)

Contributors

We'd like to thank all the contributors who worked on this release!

@AvitalFineRedis, @ashtul, @chayim and @jerr0328

4.0.0-rc2

09 Nov 14:22
f5160f5
Compare
Choose a tag to compare
4.0.0-rc2 Pre-release
Pre-release

🐛 Bug Fixes

  • Removing dependency on six (#1676)
  • Re-enable pipeline support for JSON and TimeSeries (#1674)
  • Export Sentinel, and SSL like other classes (#1671)
  • Restore zrange functionality for older versions of Redis (#1670)
  • Fixed garbage collection deadlock (#1578)

🧰 Maintenance

  • Tests to validate built python packages (#1678)
  • Sleep for flaky search test (#1680)
  • Test function renames, to match standards (#1679)
  • Docstring improvements for Redis class (#1675)
  • Fix georadius tests (#1672)

Contributors

We'd like to thank all the contributors who worked on this release!

@AvitalFineRedis, @chayim, @emorozov and @terencehonles

4.0.0-rc1

04 Nov 12:15
9804bdc
Compare
Choose a tag to compare
4.0.0-rc1 Pre-release
Pre-release

Breaking Changes

  • Improvements to JSON coverage (#1666)
    Impact: JSON commands available since 4.0.0beta3 now better match RedisJSON
  • Add python_requires setuptools check for python > 3.6 (#1656)

🚀 New Features

🐛 Bug Fixes

  • Added boolean parsing to PEXPIRE and PEXPIREAT (#1665)
  • Add python_requires setuptools check for python > 3.6 (#1656)

🧰 Maintenance

  • Adding vulture for static analysis (#1655)
  • Starting to clean the docs (#1657)
  • Update README.md (#1654)
  • Adding description format for package (#1651)
  • Publish to pypi as releases are generated with the release drafter (#1647)
  • Restore actions to prs (#1653)

Contributors

We'd like to thank all the contributors who worked on this release!

@Nicusor97, @WisdomPill, @chayim and @gkorland

4.0.0-beta3

26 Oct 11:17
866ac00
Compare
Choose a tag to compare
4.0.0-beta3 Pre-release
Pre-release

Changes

🐛 Bug Fixes

  • Fixing the package to include commands (#1649)

🧰 Maintenance

  • Re-enabling codecov as part of CI process (#1646)

Contributors

We'd like to thank all the contributors who worked on this release!

@chayim

4.0.0-beta2

26 Oct 08:08
20f71ab
Compare
Choose a tag to compare
4.0.0-beta2 Pre-release
Pre-release

Changes

🚀 New Features

🐛 Bug Fixes

🧰 Maintenance

4.0.0-beta1

26 Oct 07:19
2bb225a
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release

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 the decode_components flag to the from_url functions.
    This is now done by default and cannot be disabled. #589
  • Redis commands were moved into a mixin
    (see commands.py). Anyone importing redis.client to access commands
    directly should import redis.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