fides
fides copied to clipboard
Bump redis from 3.5.3 to 5.0.3
Bumps redis from 3.5.3 to 5.0.3.
Release notes
Sourced from redis's releases.
5.0.3
Changes
🐛 Bug Fixes
- Fix breaking change: message in LockError is now optional (#3176)
🧰 Maintenance
- Bump release-drafter/release-drafter from 5 to 6 (#3171)
- Bump rojopolis/spellcheck-github-actions from 0.35.0 to 0.36.0 (#3172)
- Remove redundant async-timeout dependency (#3177)
5.0.2
Changes
🚀 New Features
- Allow to control the minimum SSL version (#3127)
- Add modules support to async RedisCluster (#3115)
- Adding lock_name to LockError (#3023)
- Add GEOSHAPE field type for index creation of RediSearch (#2957)
🐛 Bug Fixes
- Fix retry logic for pubsub and pipeline (#3134)
- Ignore TypeError on disconnect (within multiprocess) (#3149)
- Release already acquired connections on ClusterPipeline, when get_connection raises an exception (#3133)
- Fix possible pipeline connections leak (#3104)
- Return a copy of the response from cache (#3106)
- Fix:
HSETunexpectedly mutates the list passed to items (#3103)- Fix
acl_genpasswith bits (#3062)- Allow the parsing of the asking command to forward original options (#3012)
- Fix parsing of
FT.PROFILEresult (#3063)- Use
disable_decodingin asyncread_responsewith hiredis parser. (#3042)- Fix return types in json commands (#3071)
- Fix Specifying Target Nodes broken hyperlink (#3072)
🧰 Maintenance
- Fix incorrect asserts in test and ensure connections are closed (#3004)
- Revert stale issue version update (#3142)
- Docs: Add timeout parameter for get_message example (#3129)
- Bump codecov/codecov-action from 3 to 4 (#3131)
- Bump actions/stale from 3 to 9 (#3132)
- Fix grammer in BlockingConnectionPool class documentation (#3120)
- Updating async-timeout to 4.0.3 (#3109)
- Fix type hint of arbitrary argument lists (#2908)
- Fix
JSON.OBJLENtype hint (#2966)- Fix
HDELtype hint (#3029)- Docs: organize cluster mode part of lua scripting (#3073)
... (truncated)
Changelog
Sourced from redis's changelog.
* Allow to control the minimum SSL version * Add an optional lock_name attribute to LockError. * Fix return types for `get`, `set_path` and `strappend` in JSONCommands * Connection.register_connect_callback() is made public. * Fix async `read_response` to use `disable_decoding`. * Add 'aclose()' methods to async classes, deprecate async close(). * Fix [#2831](https://github.com/redis/redis-py/issues/2831), add auto_close_connection_pool=True arg to asyncio.Redis.from_url() * Fix incorrect redis.asyncio.Cluster type hint for `retry_on_error` * Fix dead weakref in sentinel connection causing ReferenceError ([#2767](https://github.com/redis/redis-py/issues/2767)) * Fix [#2768](https://github.com/redis/redis-py/issues/2768), Fix KeyError: 'first-entry' in parse_xinfo_stream. * Fix [#2749](https://github.com/redis/redis-py/issues/2749), remove unnecessary __del__ logic to close connections. * Fix [#2754](https://github.com/redis/redis-py/issues/2754), adding a missing argument to SentinelManagedConnection * Fix `xadd` command to accept non-negative `maxlen` including 0 * Revert [#2104](https://github.com/redis/redis-py/issues/2104), [#2673](https://github.com/redis/redis-py/issues/2673), add `disconnect_on_error` option to `read_response()` (issues [#2506](https://github.com/redis/redis-py/issues/2506), [#2624](https://github.com/redis/redis-py/issues/2624)) * Add `address_remap` parameter to `RedisCluster` * Fix incorrect usage of once flag in async Sentinel * asyncio: Fix memory leak caused by hiredis ([#2693](https://github.com/redis/redis-py/issues/2693)) * Allow data to drain from async PythonParser when reading during a disconnect() * Use asyncio.timeout() instead of async_timeout.timeout() for python >= 3.11 ([#2602](https://github.com/redis/redis-py/issues/2602)) * Add a Dependabot configuration to auto-update GitHub action versions. * Add test and fix async HiredisParser when reading during a disconnect() ([#2349](https://github.com/redis/redis-py/issues/2349)) * Use hiredis-py pack_command if available. * Support `.unlink()` in ClusterPipeline * Simplify synchronous SocketBuffer state management * Fix string cleanse in Redis Graph * Make PythonParser resumable in case of error ([#2510](https://github.com/redis/redis-py/issues/2510)) * Add `timeout=None` in `SentinelConnectionManager.read_response` * Documentation fix: password protected socket connection ([#2374](https://github.com/redis/redis-py/issues/2374)) * Allow `timeout=None` in `PubSub.get_message()` to wait forever * add `nowait` flag to `asyncio.Connection.disconnect()` * Update README.md links * Fix timezone handling for datetime to unixtime conversions * Fix start_id type for XAUTOCLAIM * Remove verbose logging from cluster.py * Add retry mechanism to async version of Connection * Compare commands case-insensitively in the asyncio command parser * Allow negative `retries` for `Retry` class to retry forever * Add `items` parameter to `hset` signature * Create codeql-analysis.yml ([#1988](https://github.com/redis/redis-py/issues/1988)). Thanks @chayim * Add limited support for Lua scripting with RedisCluster * Implement `.lock()` method on RedisCluster * Fix cursor returned by SCAN for RedisCluster & change default target to PRIMARIES * Fix scan_iter for RedisCluster * Remove verbose logging when initializing ClusterPubSub, ClusterPipeline or RedisCluster * Fix broken connection writer lock-up for asyncio ([#2065](https://github.com/redis/redis-py/issues/2065)) * Fix auth bug when provided with no username ([#2086](https://github.com/redis/redis-py/issues/2086)) * Fix missing ClusterPipeline._lock ([#2189](https://github.com/redis/redis-py/issues/2189)) * Added dynaminc_startup_nodes configuration to RedisCluster * Fix reusing the old nodes' connections when cluster topology refresh is being done * Fix RedisCluster to immediately raise AuthenticationError without a retry
... (truncated)
Commits
1784b37Version 5.0.3 (#3179)e90b7c5Cherry pick for v5.0.3 (#3178)535f90eVersion 5.0.2 (#3164)911aa37Cherry pick for v5.0.2 (#3159)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)- 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)