Releases: redis/redis-py
Version 4.2.2
Changes
🚀 New Features
- Extended "CLUSTER NODES" parser to support special slot entries (#2080)
- 🔥 NOTE: This change is potentially breaking depending on your use of specialized slot entries. Support for bytes was added
- Add support for BIT|BYTE option available in redis 7 (#2068)
🐛 Bug Fixes
- Fix imports in for async (#2079)
- Always clear reference to closed reader/writer (#2077)
- Fix disable decode for dump command in async (#2070)
🧰 Maintenance
- Cluster commands linkdocs (#2069)
- Clarify bit type in setbit/getbit documentation (#2078)
- Clean up test supoort enterprise environments (#2082)
- Vector similarity search example (#2083)
- Fix search query with params tests (#2076)
Contributors
We'd like to thank all the contributors who worked on this release!
@barshaul, @beasteers, @dsoprea, @dvora-h, @enjoy-binbin, @nosammai and @wwqgtxx
Version 4.2.1
Changes
🚀 New Features
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
@dvora-h, @enjoy-binbin and @mgorny
Version 4.2.0
Changes
4.2.0-rc1 release notes
4.2.0-rc2 release notes
4.2.0-rc3 release notes
🚀 New Features
- Support for Vector Fields for Vector Similarity Search (#2041)
🐛 Bug Fixes
- Fix cluster scan command cursors & scan_iter (#2054)
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
Version 4.2.0rc3
Changes
🚀 New Features
- Add support for SORT_RO available in redis 7(#1858)
- Added support for redisearch module commands in cluster (#2042)
- Add support for PEXPIREAT command options available in redis 7 (#2027)
- Add support for PEXPIRE command option available in redis 7 (#2026)
- Add support for EXPIREAT command options available in redis 7 (#2024)
- Add support for EXPIRE command's options available in redis 7 (#2002)
- SSL connections can now load certificates from strings instead of just files (#2048)
- Add support for CLUSTER LINKS available in redis 7 (#2019)
- Add support for CLUSTER DELSLOTSRANGE available in redis 7 (#2018)
- Add support for CLUSTER ADDSLOTSRANGE available in redis 7 (#2017)
🐛 Bug Fixes
- Fix TypeError in graph commands (#2050)
- Async - ensure redis_connect_func is set on uds connection (#2046)
🧰 Maintenance
- Fix: avoiding issue with PytestUnraisableExceptionWarning (#1458)
- Documentation typos (#2045, #2043)
Contributors
We'd like to thank all the contributors who worked on this release!
@advance512, @dogukanteber, @dvora-h, @fuho, @lazToum and @razzeee
Version 4.2.0rc2
Changes
🚀 New Features
- Add pipeline support for Search (#2038)
- Add support for PEXPIRETIME (#1861)
- Add support for EXPIRETIME (#1860)
- Implemented COMMAND DOCS by always throwing NotImplementedError (#2020)
- Add cluster support for functions (#2016)
- Add support for HSET items (#2006)
- Add support for JSON, TIMESERIES, BLOOM & GRAPH commands in cluster (#2032)
- Add support for AUTH (#1929)
- Implement locks for RedisCluster (#2013)
🧰 Maintenance
- Add async typing support to commands' returns (#2010)
- Fix asyncio retry.py typing (#2011)
- Fix typo in comment (#2025)
- Fixing TimesSeries tests (#2029)
- Add AsyncFunctionCommands (#2009)
- Renaming chore as maintenance (#2015)
- Add Python 3.6 back to hash verify CI (#2008)
- Add redismod cluster docker (#2022)
Contributors
We'd like to thank all the contributors who worked on this release!
@Andrew-Chen-Wang, @OfirMos, @chayim, @dogukanteber, @dvora-h, @jakebarnwell, @mdczaplicki and @spagh-eddie
Version 4.2.0-rc1
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
Version 4.1.3
🐛 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!
Version 4.1.2
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!
Version 4.1.1
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