Skip to content

Releases: redis/redis-py

Version 4.2.0-rc1

22 Feb 14:03
4a714aa
Compare
Choose a tag to compare
Version 4.2.0-rc1 Pre-release
Pre-release

Changes

🔥 Breaking Changes

  • Functions within RedisGraph support, were renamed to match Python naming conventions. (#1872)
  • Modified rootPath argument in JSON.SET to root_path as part of type hint addition. (#1921)

🚀 New Features

  • Added ASYNC support, merging with aioredis (#1899)
  • Add cluster support for scripting (#1937)
  • Add support for Redis 7 functions (#1998)
  • Add support for ACL DRYRUN (#1992)
  • Add support for BZMPOP (#1851)
  • Add support for CLIENT NO-EVICT (#1856)
  • Add support for ZINTERCARD (#1857)
  • Add support for EVAL_RO (#1862)
  • Add support for EVAL_RO (#1863)
  • Add support for SINTERCARD (#1859)
  • Add support for LMPOP (#1843)
  • Add support for BLMPOP (#1849)
  • Add support for ZMPOP (#1923)
  • Add support for LCS (#1924)
  • Implemented AUTH by always throwing NotImplementedError (#1910)
  • Implemented FAILOVER by always throwing NotImplementedError (#1911)
  • Implemented HELLO by always throwing NotImplementedError (#1912)

🐛 Bug Fixes

  • Catch OSError in BlockingConnectionPool.get_connection (#2001)
  • Fixing Elevated CPU utilization on one node when using RedisCluster pipeline (#1985)

🧰 Maintenance

  • Fixing type annotation for EXPLAIN (#1997)
  • Add type hints for list commands (#1917)
  • Add type hints for set commands (#1918)
  • Add type hints for hash commands (#1919)
  • Add type hints for JSON commands (#1921)
  • Add set and get examples (#1916)
  • Docs: fix the wrong link to watch command (#1984)
  • Fix typo in readme (#1936)

Contributors

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

@Andrew-Chen-Wang, @chayim, @dogukanteber, @dvora-h, @elemoine, @jakebarnwell, @shchurov, @ashtul, @Pagliacii, @joseotoro and @srittau

Version 4.1.4

16 Feb 09:26
0ed0660
Compare
Choose a tag to compare

Changes

🚀 New Features

  • Adding ExecutionPlan support for graph (#1993)
  • Vector similiary search support (#1986)

Version 4.1.3

08 Feb 07:35
6c00e09
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix flushdb and flushall (#1926)

🧰 Maintenance

  • Add redis5 and redis4 dockers (#1871)
  • Change json.clear test multi to be up to date with redisjson (#1922)
  • Fixing volume for unstable_cluster docker (#1914)
  • Update changes file with changes since 4.0.0-beta2 (#1915)

Contributors

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

@MeirShpilraien, @dvora-h

Version 4.1.2

27 Jan 11:27
1ea842c
Compare
Choose a tag to compare

Changes

🚀 New Features

  • Invalid OCSP certificates should raise ConnectionError on failed validation (#1907)
  • Added retry mechanism on socket timeouts when connecting to the server (#1895)

🐛 Bug Fixes

  • LMOVE, BLMOVE return incorrect responses (#1906)
  • Fixing AttributeError in UnixDomainSocketConnection (#1903)
  • Fixing TypeError in GraphCommands.explain (#1901)

🧰 Maintenance

  • For tests, increasing wait time for the cluster (#1908)
  • Increased pubsub's wait_for_messages timeout to prevent flaky tests (#1893)
  • README code snippets formatted to highlight properly (#1888)
  • Fix link in the main page (#1897)
  • Documentation fixes: JSON Example, SSL Connection Examples, RTD version (#1887)
  • Direct link to readthedocs (#1885)

Contributors

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

@barshaul, @chayim, @dvora-h, @soumendrak and @varunchopra

Version 4.1.1

17 Jan 10:59
90295ea
Compare
Choose a tag to compare

Changes

🚀 New Features

  • Add retries to connections in Sentinel Pools (#1879)
  • OCSP Stapling Support (#1873)
  • Define incr/decr as aliases of incrby/decrby (#1874)
  • FT.CREATE - support MAXTEXTFIELDS, TEMPORARY, NOHL, NOFREQS, SKIPINITIALSCAN (#1847)

🐛 Bug Fixes

  • Timeseries docs fix (#1877)
  • get_connection: catch OSError too (#1832)
  • Set keys var otherwise variable not created (#1853)
  • Clusters should optionally require full slot coverage (#1845)

🧰 Maintenance

  • Triple quote docstrings in client.py PEP 257 (#1876)
  • syncing requirements (#1870)
  • Typo and typing in GraphCommands documentation (#1855)
  • Allowing poetry and redis-py to install together (#1854)
  • setup.py: Add project_urls for PyPI (#1867)
  • Support test with redis unstable docker (#1850)
  • Connection examples (#1835)
  • Documentation cleanup (#1841)

Contributors

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

@Andrew-Chen-Wang, @AvitalFineRedis, @Enchufa2, @barshaul, @chayim, @dvora-h, @jdieter, @salty-horse, @sbv-csis and @tony

Version 4.1.0

26 Dec 13:32
1b7d5bb
Compare
Choose a tag to compare

Changes

4.1.0-rc2 release notes
4.1.0-rc1 release notes

🚀 New Features

  • OCSP stapling support (#1820)
  • Support for SELECT (#1825)
  • Support for specifying error types with retry (#1817)
  • Support for RESET command since Redis 6.2.0 (#1824)
  • Support CLIENT TRACKING (#1612)
  • Support WRITE in CLIENT PAUSE (#1549)
  • JSON set_file and set_path support (#1818)
  • Allow ssl_ca_path with rediss:// urls (#1814)
  • Support for password-encrypted SSL private keys (#1782)
  • Support SYNC and PSYNC (#1741)

🐛 Bug Fixes

  • Retry on error exception and timeout fixes (#1821)
  • Fixing read race condition during pubsub (#1737)
  • Fixing exception in listen (#1823)
  • Fixed MovedError, and stopped iterating through startup nodes when slots are fully covered (#1819)
  • Socket not closing after server disconnect (#1797)
  • Single sourcing the package version (#1791)
  • Ensure redis_connect_func is set on uds connection (#1794)

🧰 Maintenance

  • SRTALGO - Skip for redis versions greater than 7.0.0 (#1831)
  • Documentation updates (#1822)
  • Add CI action to install package from repository commit hash (#1781) (#1790)
  • Fix link in lmove docstring (#1793)
  • Disabling JSON.DEBUG tests (#1787)

Contributors

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

@Akuli, @AvitalFineRedis, @alisaifee, @ashwani99, @barshaul, @chayim, @dvora-h, @pawl and @yanivhershkovich

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