redis/redis-py (redis)
Compare Source
Changes
🧪 Experimental Features
- Support
JSON.MERGE
command (#2761)
- Support
JSON.MSET
command (#2766)
🚀 New Features
- Extract abstract async connection class (#2734)
- Add support for
WAITAOF
(#2760)
- Introduce OutOfMemoryError exception for Redis write command rejections due to OOM errors (#2778)
- Add
WITHSCORE
argument to ZRANK
(#2758)
🐛 Bug Fixes
- Fix dead weakref in sentinel connection causing ReferenceError (#2767) (#2771)
- Fix Key Error in parse_xinfo_stream (#2788)
- Remove unnecessary __del__ handlers (#2755)
- Added support for missing argument to SentinelManagedConnection.read_response() (#2756)
🧰 Maintenance
- Fix type hint for retry_on_error in async cluster (#2804)
- Clean up documents and fix some redirects (#2801)
- Add unit tests for the
connect
method of all Redis connection classes (#2631)
- Docstring formatting fix (#2796)
Contributors
We'd like to thank all the contributors who worked on this release!
@Smit-Parmar, @TheKevJames, @aciddust, @bmacphee, @bodevone, @dvora-h, @kristjanvalur, @shacharPash, @shahar-lev, @vmihailenco and @woutdenolf
Compare Source
Changes
🚀 New Features
- Add support for
CLIENT NO-TOUCH
(#2745)
- Add support for
CLUSTER MYSHARDID
(#2704)
- Add "address_remap" feature to RedisCluster (#2726)
- Add
WITHSCORES
argument to ZREVRANK
command (#2725)
- Improve error output for master discovery (#2720)
🐛 Bug Fixes
- Fix
XADD
: allow non negative maxlen (#2739)
- Fix create single connection client from url (#2752)
- Optionally disable disconnects in read_response (#2695)
- Fix
SLOWLOG GET
return value (#2732)
- Fix potential race condition during disconnection (#2719)
- Return response in case of KeyError (#2628)
- Fix incorrect usage of once flag in async Sentinel (#2718)
- Fix memory leak caused by hiredis in asyncio case (#2694)
- Really do not use asyncio's timeout lib before 3.11.2 (#2699)
🧰 Maintenance
- Clean PytestUnraisableExceptionWarning from asycio client (#2731)
- Add RedisCluster.remap_host_port, Update tests for CWE 404 (#2706)
- Updated AWS Elasticache IAM connection example (#2702)
- Update CONTRIBUTING guidelines (#2736)
- Fix
ClusterCommandProtocol
type (#2729)
- Fix
TOPK
list example. (#2724)
- Improving vector similarity search example (#2661)
- Update example of Redisearch creating index (#2703)
Contributors
We'd like to thank all the contributors who worked on this release!
@AYMENJD, @Anthchirp, @Avasam, @NickG123, @SoulPancake, @aciddust, @chayim, @cristianmatache, @dvora-h, @felipou, @kristjanvalur, @mirekdlugosz, @mzdehbashi-github, @oranav, @scoopex, @shacharPash and @tylerhutcherson
Compare Source
Changes
Upgrade urgency: SECURITY, contains fixes to security issues.
- (CVE-2023-28859) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
- (CVE-2023-28858) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
🐛 Bug Fixes
- Fixing cancelled async futures (#2666)
- Fix: do not use asyncio's timeout lib before 3.11.2 (#2659)
- Fix UDS in v4.5.2: UnixDomainSocketConnection missing constructor argument (#2630)
🧰 Maintenance
- Minor fixes for #2666 and enhanced async test (#2673)
- Fix issue 2660: PytestUnraisableExceptionWarning from asycio client (#2669)
- Removing accidentally checked in files (#2642)
Contributors
We'd like to thank all the contributors who worked on this release!
@bellini666, @chayim, @dvora-h, @shacharPash and @woutdenolf
Compare Source
Changes
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
🐛 Bug Fixes
Compare Source
Changes
🚀 New Features
- Introduce AbstractConnection so that UnixDomainSocketConnection can call super().init (#2588)
- Added queue_class to REDIS_ALLOWED_KEYS (#2577)
- Made search document subscriptable (#2615)
- Sped up the protocol parsing (#2596)
🐛 Bug Fixes
- Fix behaviour of async PythonParser to match RedisParser as for issue #2349 (#2582)
- Replace async_timeout by asyncio.timeout (#2602)
- Update json().arrindex() default values (#2611)
🧰 Maintenance
- Coverage for pypy-3.9 (#2608)
- Developer Experience: Adding redis version compatibility details to the README (#2621)
- Remove redundant assignment to RedisCluster.nodes_manager. (#2620)
- Developer Experience: [types] update return type of smismember to list[int] (#2617)
- Developer Experience: [docs] ConnectionPool SSL example (#2605)
- Developer Experience: Fixed CredentialsProvider examples (#2587)
- Developer Experience: Update README to make pip install copy-pastable on zsh (#2584)
- Developer Experience: Fix for
lpop
and rpop
return typing (#2590)
Contributors
We'd like to thank all the contributors who worked on this release!
@CrimsonGlory, @Galtozzy, @aksinha334, @barshaul, @chayim, @davemcphee, @dvora-h, @kristjanvalur, @ryin1, @sileht, @thebarbershop, @uglide, @woutdenolf and @zakaf
Compare Source
Changes
🐛 Bug Fixes
- Fix #2581
UnixDomainSocketConnection
object has no attribute _command_packer
(#2583)
Contributors
We'd like to thank all the contributors who worked on this release!
@dvora-h and @prokazov
Compare Source
Changes
Special Note: This redis-py release introduces the ability to write to Redis, using hiredis. If you're using hiredis as an optional requirement, please upgrade to hiredis 2.2.1. In many cases, writes times decrease by > 25%.
🧪 Experimental Features
- Add TS.MGET example for OS Redis Cluster (#2507)
🚀 New Features
- Use hiredis::pack_command to serialized the commands. (#2570)
- Add support for
unlink
in cluster pipeline (#2562)
🐛 Bug Fixes
- Fix issue with
pack_commands
returning an empty byte sequence (#2416)
- Async HiredisParser should finish parsing after a Connection.disconnect() (#2557)
- Check for none, prior to raising exception (#2569)
- Tuple function cannot be passed more than one argument (#2573)
- Synchronise concurrent command calls to single-client to single-client mode (#2568)
🧰 Maintenance
- Add TS.MGET example for OS Redis Cluster (#2507)
- Documentation changes: typo fix (#2566)
- Simplify the sync SocketBuffer, add type hints (#2543)
- Add missing
Union
type in method StreamCommands.xclaim()
(#2553)
- Change redismod docker to redis-stack-server (#2556)
Contributors
We'd like to thank all the contributors who worked on this release!
@SoulPancake, @Vivanov98, @ant1fact, @dvora-h, @gmbnomis, @jmcbailey, @kosuke-zhang, @kristjanvalur, @prokazov, @rbowen and @uglide
Uh oh!
There was an error while loading. Please reload this page.
This PR contains the following updates:
==4.4.4
->==4.6.0
Release Notes
redis/redis-py (redis)
v4.6.0
: 4.6.0Compare Source
Changes
🧪 Experimental Features
JSON.MERGE
command (#2761)JSON.MSET
command (#2766)🚀 New Features
WAITAOF
(#2760)WITHSCORE
argument toZRANK
(#2758)🐛 Bug Fixes
🧰 Maintenance
connect
method of all Redis connection classes (#2631)Contributors
We'd like to thank all the contributors who worked on this release!
@Smit-Parmar, @TheKevJames, @aciddust, @bmacphee, @bodevone, @dvora-h, @kristjanvalur, @shacharPash, @shahar-lev, @vmihailenco and @woutdenolf
v4.5.5
: 4.5.5Compare Source
Changes
🚀 New Features
CLIENT NO-TOUCH
(#2745)CLUSTER MYSHARDID
(#2704)WITHSCORES
argument toZREVRANK
command (#2725)🐛 Bug Fixes
XADD
: allow non negative maxlen (#2739)SLOWLOG GET
return value (#2732)🧰 Maintenance
ClusterCommandProtocol
type (#2729)TOPK
list example. (#2724)Contributors
We'd like to thank all the contributors who worked on this release!
@AYMENJD, @Anthchirp, @Avasam, @NickG123, @SoulPancake, @aciddust, @chayim, @cristianmatache, @dvora-h, @felipou, @kristjanvalur, @mirekdlugosz, @mzdehbashi-github, @oranav, @scoopex, @shacharPash and @tylerhutcherson
v4.5.4
: 4.5.4Compare Source
Changes
Upgrade urgency: SECURITY, contains fixes to security issues.
🐛 Bug Fixes
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
@bellini666, @chayim, @dvora-h, @shacharPash and @woutdenolf
v4.5.3
: 4.5.3Compare Source
Changes
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
🐛 Bug Fixes
v4.5.2
: 4.5.2Compare Source
Changes
🚀 New Features
🐛 Bug Fixes
🧰 Maintenance
lpop
andrpop
return typing (#2590)Contributors
We'd like to thank all the contributors who worked on this release!
@CrimsonGlory, @Galtozzy, @aksinha334, @barshaul, @chayim, @davemcphee, @dvora-h, @kristjanvalur, @ryin1, @sileht, @thebarbershop, @uglide, @woutdenolf and @zakaf
v4.5.1
: 4.5.1Compare Source
Changes
🐛 Bug Fixes
UnixDomainSocketConnection
object has no attribute_command_packer
(#2583)Contributors
We'd like to thank all the contributors who worked on this release!
@dvora-h and @prokazov
v4.5.0
: 4.5.0Compare Source
Changes
Special Note: This redis-py release introduces the ability to write to Redis, using hiredis. If you're using hiredis as an optional requirement, please upgrade to hiredis 2.2.1. In many cases, writes times decrease by > 25%.
🧪 Experimental Features
🚀 New Features
unlink
in cluster pipeline (#2562)🐛 Bug Fixes
pack_commands
returning an empty byte sequence (#2416)🧰 Maintenance
Union
type in methodStreamCommands.xclaim()
(#2553)Contributors
We'd like to thank all the contributors who worked on this release!
@SoulPancake, @Vivanov98, @ant1fact, @dvora-h, @gmbnomis, @jmcbailey, @kosuke-zhang, @kristjanvalur, @prokazov, @rbowen and @uglide
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.