fastapi-cache
fastapi-cache copied to clipboard
Bump redis from 4.6.0 to 5.0.1
Bumps redis from 4.6.0 to 5.0.1.
Release notes
Sourced from redis's releases.
5.0.1
Changes
🚀 New Features
- Provide aclose() / close() for classes requiring lifetime management (#2898)
- Add support for
ModuleCommandsin cluster (#2951)- Add support for multiple values in
RPUSHX(#2949)- Add
Redis.from_pool()class method, for explicitly owning and closing a ConnectionPool (#2913)🐛 Bug Fixes
- Fixing monitor parsing for messages containing specific substrings (#2950)
- Cluster determine slot command name need to be upper (#2919)
- Support timeout = 0 in search query (#2934)
- Fix async sentinel: add
push_requestkeyword argument toread_response(#2922)- Fix protocol checking for search commands (#2923)
- Fix: SentinelManagedConnection.read_response() got an unexpected keyword argument 'push_request' (#2894)
- Fix: automatically close connection pool for async Sentinel (#2900)
- Save a reference to created async tasks, to avoid tasks potentially disappearing (#2816)
- Avoid reference cycling by the garbage collector during response reading (#2932)
🧰 Maintenance
- Type hint improvements (#2952)
- Replace
clear_connect_callbackswith_deregister_connect_callback(#2955)- Async fixes, remove del and other things (#2870)
- Add pagination, sorting and grouping examples to search json example (#2890)
- Remove process-id checks from asyncio. Asyncio and fork() does not mix. (#2911)
- Fix resource usage and cleanup Mocks in the unit tests (#2936)
- Remove mentions of tox (#2929)
- Add 7.2 to supported Redis versions (#2896)
- Fix resource warnings in unit tests (#2899)
- Fix typo in redis-stream-example.ipynb (#2918)
- Deprecate RedisGraph (#2927)
- Fix redis 7.2.0 tests (#2902)
- Fix test_scorer (search) (#2920)
Contributors
We'd like to thank all the contributors who worked on this release!
@AOrazaev,@akx,@anio,@chayim,@dvora-h,@elfkuzco,@hauntsaninja,@kristjanvalur,@meiravgri,@uglideand@yangbodong220115.0.0
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
... (truncated)
Commits
cc4bc1aVersion 5.0.1 (#2958)2ee7c3cType hint improvements (#2952)56b254eSave a reference to created async tasks, to avoid tasks potentially disappear...1b370daReplace clear_connect_callbacks with _deregister_connect_callback (#2955)ded9f7casync fixes, remove del and other things (#2870)c46a28dProvide aclose() / close() for classes requiring lifetime management (#2898)6207641Add support forModuleCommandsin cluster (#2951)2df75adFix monitor regex bug (#2950)0acd0e7Add support for multimple values inRPUSHX(#2949)012f7cfAddRedis.from_pool()class method, for explicitly owning and closing a Con...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)