Releases: redis/redis-py
4.4.0rc1
Changes
Breaking Changes
- Change
dropindex()
function to useFT.DROPINDEX
(insteadFT.DROP
) (#2315) - Drop python 3.6 support (#2306)
- Async cluster: fix max_connections/ssl & improve args (#2217)
- Remove verbose logging from
redis-py/redis/cluster.py
(#2238) - Drop python 3.6 support (#2306)
🧪 Experimental Features
- Add support for WITHSUFFIXTRIE to FT.CREATE (#2324)
🚀 New Features
- Add TDIGEST.TRIMMED_MEAN (#2300)
- Support TDIGEST.MERGESTORE and make compression optional on TDIGEST.CREATE (#2319)
- Add support for
TDIGEST.QUANTILE
extensions (#2317) - Add support for async GRAPH module (#2273)
- Add support for TIMESERIES 1.8 (#2296)
- Use retry mechanism in async version of Connection objects (#2271)
- Graph - add counters for removed labels and properties (#2292)
🐛 Bug Fixes
- Fix async SEARCH pipeline (#2316)
- Change
dropindex()
to useFT.DROPINDEX
(insteadFT.DROP
) (#2315) - Automatically reconnect pubsub when reading messages in blocking mode (#2281)
- Async cluster: fix max_connections/ssl & improve args (#2217)
- Async cluster: fix concurrent pipeline (#2280)
- Fix crash: key expire while search (#2270)
- Fix: workaround asyncio bug on connection reset by peer (#2259)
- Fix async connection.is_connected to return a boolean value (#2278)
- ClusterPipeline Doesn't Handle ConnectionError for Dead Hosts (#2225)
🧰 Maintenance
- Adding experimental features, as a release option (#2323)
- Search test - Ignore order of the items in the response (#2322)
- Replace
ensure_future
withcreate_task
(#2311) - Fix typo in README.md (#2314)
- Remove python2-only
__nonzero__
method fromcluster.py
(#2313) - Fix typing on smembers command (#2312)
- drop invocation of redismod_cluster docker (#2307)
- Cleaning up the readme and moving docs into readthedocs (#2291)
- Fix warnings and resource usage problems in asyncio unittests (#2258)
- Doc add timeseries example (#2267)
- Fix:
start_id
type forXAUTOCLAIM
(#2257) - redis stream example (#2269)
- Remove verbose logging from
redis-py/redis/cluster.py
(#2238) - Docs: Fix a few typos (#2274)
- Pypy 3.8 CI support (#2266)
- Fix timezone handling for datetime to unixtime conversions (#2213)
Contributors
We'd like to thank all the contributors who worked on this release!
@DvirDukhan, @GaMeRaM, @Iglesys347, @aandrukhovich, @agusdmb, @bodevone, @chayim, @dvora-h, @grippy, @joekohlsdorf, @kristjanvalur, @nialdaly, @pedrofrazao, @sileht, @sobolevn, @szumka, @timgates42 and @utkarshgupta137
Version 4.3.4
Changes
🔥 Breaking Changes
- Fix backward compatibility from 4.3.2 in Lock.acquire() (#2254)
- Fix
XAUTOCLAIM
to return the full response, instead of only keys 2+ (#2252)
🚀 New Features
🐛 Bug Fixes
- Fix retries in async mode (#2180)
- Async cluster: fix simultaneous initialize (#2231)
- Uppercased commands in CommandsParser.get_keys (#2236)
🧰 Maintenance
- Late eval of the skip condition in async tests(#2248, #2253)
- Reuse the old nodes' connections when a cluster topology refresh is being done (#2235)
- Docs: add pipeline examples (#2240)
- Correct retention_msecs value (#2232)
- Cluster: use pipeline to execute split commands (#2230)
- Docs: Add a note about client_setname and client_name difference (#2247)
Contributors
We'd like to thank all the contributors who worked on this release!
@Iglesys347, @barshaul, @dvora-h, @earthgecko, @elemoine, @falk-h, @kristjanvalur, @psrok1 and @utkarshgupta137
Version 4.3.3
Version 4.3.2
Changes
🚀 New Features
- SHUTDOWN - add support for the new NOW, FORCE and ABORT modifiers (#2150)
- Adding pipeline support for async cluster (#2199)
- Support CF.MEXISTS + Clean bf/commands.py (#2184)
- Extending query_params for FT.PROFILE (#2198)
- Implementing ClusterPipeline Lock (#2190)
🐛 Bug Fixes
- Set default response_callbacks to redis.asyncio.cluster.ClusterNode (#2201)
- Add default None for maxlen at xtrim command (#2188)
🧰 Maintenance
- Async cluster: add/update typing (#2195)
- Changed list type to single element type (#2203)
- Made sync lock consistent and added types to it (#2137)
- Async cluster: optimisations (#2205)
- Fix typos in README (#2206)
- Fix modules links to https://redis.io/commands/ (#2185)
Contributors
We'd like to thank all the contributors who worked on this release!
@Avital-Fine, @Olegt0rr, @WisdomPill, @dvora-h, @grippy, @mfgnik, @rapidia, @ryanrussell and @utkarshgupta137
Version 4.3.1
Version 4.3.0
Changes
🔥 Breaking Changes
- Replace OSError exceptions from
can_read
withredis.ConnectionError
(#2140) - Updated FUNCTION LOAD changes (from release 7.0 rc3 to support redis 7.0 final) (#2139)
🚀 New Features
- Get command keys for subcommands (#2170)
- Add support for CLUSTER SHARDS (#2151)
- Add support for COMMAND LIST (#2149)
- Add Async RedisCluster (#2099)
- ACL SETUSER - add selectors and key based permissions (#2161)
- Support for redis 7 streams features (#2157)
- Async Connection: Allow
PubSub.run()
without previoussubscribe()
(#2148) - Implemented LATENCY HISTOGRAM by always throwing NotImplementedError (#2147)
- Add async supoort for SEARCH commands (#2096)
Retry()
: Support negativeretries
value (#2110)- Add support for MODULE LOADEX (#2146)
- INFO - add support for taking multiple section arguments (#2145)
- CONFIG SET - add the ability to set multiple parameters in one call (#2143)
- CONFIG GET - add the ability to pass multiple pattern parameters in one call (#2142)
- Add support for COMMAND GETKEYSANDFLAGS (#2141)
- Support CASESENSITIVE for TAG fields (#2112)
🐛 Bug Fixes
- Rename 'update_supported_erros' to 'update_supported_errors' in Retry module (#2144)
- Fix execute_command() determining nodes error when no key command (#2097)
- Fix incorrect return statement in auth (#2086) (#2092)
🧰 Maintenance
- Add unittest for PubSub.connect() (#2167)
- Fix incorrect return annotation in asyncio.lock (#2155)
- Minor cleanups in commands/cluster.py (#2094)
- Update xtrim type annotation (#2093)
- Async tests for redis commands, json, bloom, timeseries (#2087)
- Fixed typing in getex command (#2088)
Contributors
We'd like to thank all the contributors who worked on this release!
@Andrew-Chen-Wang, @Ankhas, @Avital-Fine, @JelleZijlstra, @chayim, @dvora-h, @enjoy-binbin, @kamyabzad, @kristjanvalur, @richli, @suxb201 and @utkarshgupta137
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