You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New StreamingCredentialProvider interface was added with an idea to integrate redis-py with credential providers that stream an events that should be handled by given listeners.
r=Redis(protocol=3, cache_config=CacheConfig())
cache=r.get_cache()
r.set("foo", "bar")
### get key from redis and save in local cacheprint(r.get("foo"))
### get key from local cacheprint(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)
### change key in redis (cause invalidation)r.set("foo", "barbar")
### Retrieves a new value from server and cache itprint(r.get("foo"))
### Make sure that new value was cachedprint(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)
r=Redis(protocol=3, cache_config=CacheConfig())
cache=r.get_cache()
r.set("foo", "bar")
### get key from redis and save in local cacheprint(r.get("foo"))
### get key from local cacheprint(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)
### change key in redis (cause invalidation)r.set("foo", "barbar")
### Retrieves a new value from server and cache itprint(r.get("foo"))
### Make sure that new value was cachedprint(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)
Triggers and Functions allow you to execute server-side functions triggered when key values are modified or created in Redis, a stream entry arrival, or explicitly calling them. Simply put, you can replace Lua scripts with easy-to-develop JavaScript or TypeScript code. Move your business logic closer to the data to ensure a lower latency, and forget about updating dependent key values manually in your code. Try it for yourself with Quick start
Python 3.7 has reached its end-of-life (EOL) as of June 2023. This means that starting from this date, Python 3.7 will no longer receive any updates, including security patches, bug fixes, or improvements. If you continue to use Python 3.7 post-EOL, you may expose your projects and systems to potential security vulnerabilities. We ended its support in this version and strongly recommend migrating to Python 3.10.
🐛 Bug Fixes
Fix timeout retrying on pipeline execution (#2812)
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%.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==3.5.3->==5.3.0Release Notes
redis/redis-py (redis)
v5.3.0: 5.3.0Compare Source
Changes
🚀 New Features
Token-based authentication:
New StreamingCredentialProvider interface was added with an idea to integrate redis-py with credential providers that stream an events that should be handled by given listeners.
Check the documentation for the quick start guide.
CredentialProvider instance creation interface was enhanced. Feel free to check the updated documentation
Other features:
🐛 Bug Fixes
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
@uglide @woutdenolf @vladvildanov @hauntsaninja @dwdougherty @patrick91 @Vulwsztyn @JimNero009 @andy-stark-redis @petyaslavova
v5.2.1: 5.2.1Compare Source
Changes
🐛 Bug Fixes
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
@IlianIliev @uglide @vladvildanov @teodorfn @akx
v5.2.0: 5.2.0Compare Source
Changes
🚀 New Features
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
@uglide @rbs333 @vladvildanov @dwdougherty
v5.1.1: 5.1.1Compare Source
Changes
5.1.1
🐛 Bug Fixes
5.1.0
🚀 New Features
How to start with Client-side caching?
Check documentation to get more examples
🔥 Breaking Changes
Contributors
We'd like to thank all the contributors who worked on this release!
@vladvildanov @dmaier-redislabs @vineethvkumar @ramchandra-st @RafalBielickiIM @jules-ch
v5.1.0: 5.1.0Compare Source
Changes
🚀 New Features
How to start with Client-side caching?
Check documentation to get more examples
🔥 Breaking Changes
🐛 Bug Fixes
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
@AYMENJD, @AniketP04, @BackflipPenguin, @ING-XIAOJIAN, @MrDenkoV, @Pedram-Parsian, @TheBlusky, @TomerHekmati, @Wh1isper, @Zaczero, @ahmedabdou14, @akx, @andy-stark-redis, @catap, @chayim, @d184230, @danielzhangau, @daveisfera, @dependabot, @dependabot[bot], @dkuser, @dmaier-redislabs, @dmkulazhenko, @dudizimber, @dvora-h, @dwdougherty, @enjoy-binbin, @gerzse, @hongqn, @jakob-keller, @kristjanvalur, @kurtmckee, @matrey, @mattwang44, @max-muoto, @parmenashp, @poiuj, @r0ro, @sjpotter, @tbbream, @trkwyk, @uglide, @vladvildanov, @w-miller, @wKollendorf, @willfrey, @willianmrs, @zakaf, @zware and @zxjlm
v5.0.8: 5.0.8Compare Source
Changes
🔥 Breaking Changes
🚀 New Features
🧰 Maintenance
🐛 Bug Fixes
v5.0.7: 5.0.7Compare Source
Changes
🐛 Bug Fixes
🧰 Maintenance
Contributors
We'd like to thank all the contributors who worked on this release!
@vladvildanov @dmaier-redislabs
v5.0.6: 5.0.6Compare Source
Changes
🐛 Bug Fixes
v5.0.5: 5.0.5Compare Source
Changes
🐛 Bug Fixes
v5.0.4: 5.0.4Compare Source
Changes
🐛 Bug Fixes
v5.0.3: 5.0.3Compare Source
Changes
🐛 Bug Fixes
🧰 Maintenance
v5.0.2: 5.0.2Compare Source
Changes
🚀 New Features
🐛 Bug Fixes
HSETunexpectedly mutates the list passed to items (#3103)acl_genpasswith bits (#3062)FT.PROFILEresult (#3063)disable_decodingin asyncread_responsewith hiredis parser. (#3042)🧰 Maintenance
JSON.OBJLENtype hint (#2966)HDELtype hint (#3029)Contributors
We'd like to thank all the contributors who worked on this release!
@AYMENJD, @AniketP04, @BackflipPenguin, @ING-XIAOJIAN, @MrDenkoV, @Pedram-Parsian, @TheBlusky, @ahmedabdou14, @akx, @chayim, @d184230, @danielzhangau, @dependabot, @dependabot[bot], @dmkulazhenko, @dvora-h, @enjoy-binbin, @hongqn, @jakob-keller, @kristjanvalur, @mattwang44, @parmenashp, @poiuj, @r0ro, @sjpotter, @tbbream, @trkwyk, @w-miller, @wKollendorf, @zakaf, @zware and @zxjlm
v5.0.1: 5.0.1Compare Source
Changes
🚀 New Features
ModuleCommandsin cluster (#2951)RPUSHX(#2949)Redis.from_pool()class method, for explicitly owning and closing a ConnectionPool (#2913)🐛 Bug Fixes
push_requestkeyword argument toread_response(#2922)🧰 Maintenance
clear_connect_callbackswith_deregister_connect_callback(#2955)Contributors
We'd like to thank all the contributors who worked on this release!
@AOrazaev, @akx, @anio, @chayim, @dvora-h, @elfkuzco, @hauntsaninja, @kristjanvalur, @meiravgri, @uglide and @yangbodong22011
v5.0.0: 5.0.0Compare Source
What's new?
Triggers and Functions support
Triggers and Functions allow you to execute server-side functions triggered when key values are modified or created in Redis, a stream entry arrival, or explicitly calling them. Simply put, you can replace Lua scripts with easy-to-develop JavaScript or TypeScript code. Move your business logic closer to the data to ensure a lower latency, and forget about updating dependent key values manually in your code.
Try it for yourself with Quick start
Full Redis 7.2 and RESP3 support
Python 3.7 End-of-Life
Python 3.7 has reached its end-of-life (EOL) as of June 2023. This means that starting from this date, Python 3.7 will no longer receive any updates, including security patches, bug fixes, or improvements. If you continue to use Python 3.7 post-EOL, you may expose your projects and systems to potential security vulnerabilities. We ended its support in this version and strongly recommend migrating to Python 3.10.
🐛 Bug Fixes
🧰 Maintenance
CONTRIBUTING.md(#2848)Contributors
We'd like to thank all the contributors who worked on this release!
@JoanFM, @Ovsyanka83, @chayim, @dependabot, @dependabot[bot], @dvora-h, @kristjanvalur, @kurtmckee, @pall-j and @shacharPash
v4.6.0: 4.6.0Compare Source
Changes
🧪 Experimental Features
JSON.MERGEcommand (#2761)JSON.MSETcommand (#2766)🚀 New Features
WAITAOF(#2760)WITHSCOREargument toZRANK(#2758)🐛 Bug Fixes
🧰 Maintenance
connectmethod 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)WITHSCORESargument toZREVRANKcommand (#2725)🐛 Bug Fixes
XADD: allow non negative maxlen (#2739)SLOWLOG GETreturn value (#2732)🧰 Maintenance
ClusterCommandProtocoltype (#2729)TOPKlist 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
lpopandrpopreturn 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
UnixDomainSocketConnectionobject 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
unlinkin cluster pipeline (#2562)🐛 Bug Fixes
pack_commandsreturning an empty byte sequence (#2416)🧰 Maintenance
Uniontype 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
v4.4.4: 4.4.4Compare Source
Changes
Upgrade urgency: SECURITY, contains fixes to security issues.
🐛 Bug Fixes
v4.4.3: 4.4.3Compare Source
Changes
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
🐛 Bug Fixes
v4.4.2: 4.4.2Compare Source
Changes
Note: this release include #2548 and it is suggested that users upgrade immediately.
🧪 Experimental Features
🚀 New Features
🐛 Bug Fixes
Contributors
We'd like to thank all the contributors who worked on this release!
@Threated, @dvora-h, @shacharPash and @zakaf
v4.4.1: 4.4.1Compare Source
Changes
🚀 New Features
FT.AGGREGATE(#2537)resetchannelsinACL SETUSER(#2514)🐛 Bug Fixes
__eq__in graph classes (#2531)exparameter insetcommand (#2529)🧰 Maintenance
DeprecationWarningby replaceget_event_loopwithget_running_loop(#2530)JSON.ARRINDEXtest (#2527)Contributors
We'd like to thank all the contributors who worked on this release!
@DvirDukhan, @SessionIssue, @YiuRULE, @chayim, @dgilmanAIDENTIFIED, @dvora-h, @kristjanvalur, @mohsinhaider, @raz-mon, @shacharPash, @stitchWzc, @uglide, @vmihailenco, @winmorre and @zakaf
v4.4.0: Version 4.4.0Compare Source
Changes
4.4.0rc4 release notes
4.4.0rc3 release notes
4.4.0rc2 release notes
4.4.0rc1 release notes
🚀 New Features (since 4.4.0rc4)
🐛 Bug Fixes (since 4.4.0rc4)
geosearchcommand (#2464)🧰 Maintenance (since 4.4.0rc4)
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.