Skip to content

Bump redis from 4.1.3 to 5.0.1#31

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/redis-5.0.1
Open

Bump redis from 4.1.3 to 5.0.1#31
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/redis-5.0.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 26, 2023

Bumps redis from 4.1.3 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 ModuleCommands in 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_request keyword argument to read_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_callbacks with _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, @​uglide and @​yangbodong22011

5.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)

Changelog

Sourced from redis's changelog.

* 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
* ClusterPipeline Doesn't Handle ConnectionError for Dead Hosts ([#2225](https://github.com/redis/redis-py/issues/2225))
* Remove compatibility code for old versions of Hiredis, drop Packaging dependency
* The `deprecated` library is no longer a dependency
* Failover handling improvements for RedisCluster and Async RedisCluster ([#2377](https://github.com/redis/redis-py/issues/2377))
* Fixed "cannot pickle '_thread.lock' object" bug ([#2354](https://github.com/redis/redis-py/issues/2354), [#2297](https://github.com/redis/redis-py/issues/2297))

... (truncated)

Commits
  • cc4bc1a Version 5.0.1 (#2958)
  • 2ee7c3c Type hint improvements (#2952)
  • 56b254e Save a reference to created async tasks, to avoid tasks potentially disappear...
  • 1b370da Replace clear_connect_callbacks with _deregister_connect_callback (#2955)
  • ded9f7c async fixes, remove del and other things (#2870)
  • c46a28d Provide aclose() / close() for classes requiring lifetime management (#2898)
  • 6207641 Add support for ModuleCommands in cluster (#2951)
  • 2df75ad Fix monitor regex bug (#2950)
  • 0acd0e7 Add support for multimple values in RPUSHX (#2949)
  • 012f7cf Add Redis.from_pool() class method, for explicitly owning and closing a Con...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [redis](https://github.com/redis/redis-py) from 4.1.3 to 5.0.1.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](redis/redis-py@v4.1.3...v5.0.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 26, 2023

The following labels could not be found: dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants