Update dependency redis to v6 #30

Merged
profitroll merged 1 commits from renovate/redis-6.x into dev 2025-04-30 23:21:05 +03:00
Collaborator

This PR contains the following updates:

Package Update Change
redis (changelog) major ~=5.3.0 -> ~=6.0.0

Release Notes

redis/redis-py (redis)

v6.0.0: 6.0.0

Compare Source

Changes

🚀 New Features

  • New hash commands with expiration options support are added - HGETDEL, HGETEX, HSETEX (#​3570)
  • Adds option not to raise an exception when leaving context manager after lock expiration (#​3531)
  • Add force_master_ip support to async Sentinel client (#​3524)

🧪 Experimental Features

  • Adding VectorSet commands support. (#​3584)

🔥 Breaking changes

  • Changing the default value for ssl_check_hostname to True, to ensure security validations are not skipped by default (#​3626)
  • Updated default value of 'require_full_coverage' argument to true for sync Cluster client to match sync/async cluster APIs (#​3434)
  • Adding default retry configuration changes for cluster clients (#​3622)
    Important: When instantiating a cluster client retry object becomes mandatory.
    • If retry object is not provided a default one is created with ExponentialWithJitterBackoff strategy and number of retries synced with 'cluster_error_retry_attempts'
    • In case a retry object is provided, its number of retries will be used for cluster operations number of retries and 'cluster_error_retry_attempts' will be ignored
    • Argument 'cluster_error_retry_attempts' is now deprecated
    • For Async Cluster Client the argument 'connection_error_retry_attempts' is completely removed
  • Updating default retry strategy for standalone clients. 3 retries with ExponentialWithJitterBackoff become the default config. (#​3614)
  • Removing 'charset' and 'errors' inputs from the Redis initialization arguments - deprecated 3 years ago. (#​3608)
  • Removing support for RedisGears module. (#​3553). For more info you can check the deprecated Redis features
  • Removing support for RedisGraph module. (#​3548). For more info you can check the deprecated Redis features
  • Fixing typing for FCALL commands to match PEP 484 (#​3537)
  • Moved ClusterParser exceptions to BaseParser class (#​3475)
  • Changed default dialect to 2 (#​3467) - This release introduces a client-side default dialect for Redis’ search and query capabilities. By default, the client now overrides the server-side dialect with version 2, automatically appending DIALECT 2to commands like FT.AGGREGATE and FT.SEARCH.
    Important: Be aware that the query dialect may impact the results returned. If needed, you can revert to a different dialect version by configuring the client accordingly. You can find further details in the query dialect documentation.

⚠️ Deprecations

  • Adding default retry configuration changes for cluster clients (#​3622)
  • Updating default retry strategy for standalone clients. 3 retries with ExponentialWithJitterBackoff become the default config. (#​3614)
  • Marks old RediSearch 1.0 commands as deprecated (#​3606)
  • Adding deprecation messages for the exposed in search module commands: FT.CONFIG GET and FT.CONFIG SET (#​3499 #​3500 )
  • Deprecating Search module config_set and config_get commands. Adding tests for modules ACL and modules config changes in 8.0 (#​3489)

🐛 Bug Fixes

  • Handling some special values when transforming response data into list (issue #​3573) (#​3586)
  • Fixed infinitely recursive health checks (#​3557)
  • Fixing search module dropindex function not to send invalid third parameter. Updating pipeline infra (#​3564)
  • Fixing async cluster pipeline execution when client is created with cluster_error_retry_attempts=0 (#​3545)
  • Fix client_list with multiple client ids (#​3539)
  • Add valid Exception type to Except in ClusterPipeline (#​3516)
  • Fix #​3130 TimeoutError during ClusterPipeline makes the client unrecoverable (#​3513)
  • Fix connection health check for protocol != 2 when auth credentials are provided and health check interval is configured (#​3477)
  • Fix AttributeError when client.get_default_node() returns None (#​3458)
  • fix: add TimeoutError handling in get_connection() (#​1485)
  • Avoid stacktrace on process exit in Client.del() (#​3397)

🧰 Maintenance

  • Updating pipeline tests to use test libs image with RC2. Updating timeseries tests. (#​3623)
  • Fixing flaky tests - part 2 (#​3592)
  • DOC-5107 added hash examples for index/query intro page (#​3609)
  • DOC-5073 vector set quantization and dimension reduction examples (#​3597)
  • Fixing some sporadically failing tests - part 1 (#​3589)
  • DOC-5073 added examples for vector sets intro page (#​3590)
  • Fix incorrect link to docs for fcall_ro command (#​3576)
  • Improvement: Use shutdown() Before close() in connection.py (#​3567)
  • Truncate pipeline exception message to a sane size (#​3530)
  • Docs/raae 724/remove redis ventures (#​3579)
  • Adding info for sentinel handling failover when Redis client is acquired with master_for() method. (#​3578)
  • Type hints improvements (#​3420 #​3480 #​3522 #​3526)
  • Increasing the operations-per-run for stale issues GH action (#​3556)
  • Got rid of time.time() everywhere (#​3551)
  • Removing deprecated usage of forbid_global_loop=True in pytest.mark.asyncio decorator (#​3542)
  • allow more recent pyopenssl (#​3541)
  • Bump rojopolis/spellcheck-github-actions from 0.38.0 to 0.47.0 (#​3538)
  • Fix LockError message when releasing a lock. (#​3534)
  • Fix readthedocs.yml integration(#​3527 #​3528 #​3529)
  • Adding vector search tests for types int8/uint8 (#​3525)
  • Adding requested resources into sdist. Fix for issue #​3057 (#​3511)
  • maintenance: Python 3.13 compatibility (#​3510)
  • Adding unit test for core info command related to modules info (#​3507)
  • Update connection_examples.ipynb (#​3504)
  • Update Python imports in doc examples (index_definition => indexDefinition) (#​3490)
  • DOC-4736 added geo indexing examples (#​3485)
  • Updated test infrastructure with latest versions (#​3484)
  • fix: update redis university url, the old link doesn't work (#​3481)
  • Fix #​3464: Correct misleading exception_handler example in docs (#​3474)
  • Added Redis 8.0 to test matrix (#​3469)
  • Added workflow_dispatch for pypi release workflow (#​3465)
  • Avoid the multiprocessing forkserver method in Python 3.14 (#​3442)
  • Fix inaccurate docstring for unwatch() (#​3424)
  • Update README.md - Fix 'Note' - bold (#​3413)
  • skip ssl import if not available (#​3078)
  • Replace flake8+isort+black with ruff (#​3147)
  • Fixes minor grammar nit in documentation. (#​3354)

Contributors

We'd like to thank all the contributors who worked on this release!
@​elena-kolevska @​petyaslavova @​vladvildanov @​andy-stark-redis @​JimNero009 @​donbowman @​julianolm @​666romeo @​three-kinds @​bssyousefi @​mbilski @​Yard1 @​bacchuswng @​noirbee @​nbertram @​birthdaysgift @​Perlence @​excitoon @​dimbleby @​shenxiangzhuang @​paololazzari @​dwdougherty @​niklasbec @​byeongjulee222 @​befeleme @​djroze @​BaseMax @​dicej @​akx @​cavemanpi @​lattwood @​rbs333 @​rohansingh @​allrob23


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [redis](https://github.com/redis/redis-py) ([changelog](https://github.com/redis/redis-py/releases)) | major | `~=5.3.0` -> `~=6.0.0` | --- ### Release Notes <details> <summary>redis/redis-py (redis)</summary> ### [`v6.0.0`](https://github.com/redis/redis-py/releases/tag/v6.0.0): 6.0.0 [Compare Source](https://github.com/redis/redis-py/compare/v5.3.0...v6.0.0) ### Changes #### 🚀 New Features - New hash commands with expiration options support are added - HGETDEL, HGETEX, HSETEX ([#&#8203;3570](https://github.com/redis/redis-py/issues/3570)) - Adds option not to raise an exception when leaving context manager after lock expiration ([#&#8203;3531](https://github.com/redis/redis-py/issues/3531)) - Add force_master_ip support to async Sentinel client ([#&#8203;3524](https://github.com/redis/redis-py/issues/3524)) #### 🧪 Experimental Features - Adding VectorSet commands support. ([#&#8203;3584](https://github.com/redis/redis-py/issues/3584)) #### 🔥 Breaking changes - Changing the default value for ssl_check_hostname to True, to ensure security validations are not skipped by default ([#&#8203;3626](https://github.com/redis/redis-py/issues/3626)) - Updated default value of 'require_full_coverage' argument to true for sync Cluster client to match sync/async cluster APIs ([#&#8203;3434](https://github.com/redis/redis-py/issues/3434)) - Adding default retry configuration changes for cluster clients ([#&#8203;3622](https://github.com/redis/redis-py/issues/3622)) **Important**: When instantiating a cluster client `retry` object becomes mandatory. - If retry object is not provided a default one is created with ExponentialWithJitterBackoff strategy and number of retries synced with 'cluster_error_retry_attempts' - **In case a retry object is provided, its number of retries will be used for cluster operations number of retries and 'cluster_error_retry_attempts' will be ignored** - Argument 'cluster_error_retry_attempts' is now deprecated - **For Async Cluster Client the argument 'connection_error_retry_attempts' is completely removed** - Updating default retry strategy for standalone clients. **3 retries with ExponentialWithJitterBackoff become the default config.** ([#&#8203;3614](https://github.com/redis/redis-py/issues/3614)) - Removing 'charset' and 'errors' inputs from the Redis initialization arguments - deprecated 3 years ago. ([#&#8203;3608](https://github.com/redis/redis-py/issues/3608)) - Removing support for RedisGears module. ([#&#8203;3553](https://github.com/redis/redis-py/issues/3553)). For more info you can check the [deprecated Redis features](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/) - Removing support for RedisGraph module. ([#&#8203;3548](https://github.com/redis/redis-py/issues/3548)). For more info you can check the [deprecated Redis features](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/) - Fixing typing for FCALL commands to match PEP 484 ([#&#8203;3537](https://github.com/redis/redis-py/issues/3537)) - Moved ClusterParser exceptions to BaseParser class ([#&#8203;3475](https://github.com/redis/redis-py/issues/3475)) - Changed default dialect to 2 ([#&#8203;3467](https://github.com/redis/redis-py/issues/3467)) - This release introduces a client-side default dialect for Redis’ search and query capabilities. By default, the client now overrides the server-side dialect with version 2, automatically appending DIALECT 2to commands like FT.AGGREGATE and FT.SEARCH. **Important**: Be aware that the query dialect may impact the results returned. If needed, you can revert to a different dialect version by configuring the client accordingly. You can find further details in the [query dialect documentation](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/dialects/). #### ⚠️ Deprecations - Adding default retry configuration changes for cluster clients ([#&#8203;3622](https://github.com/redis/redis-py/issues/3622)) - Updating default retry strategy for standalone clients. **3 retries with ExponentialWithJitterBackoff become the default config.** ([#&#8203;3614](https://github.com/redis/redis-py/issues/3614)) - Marks old RediSearch 1.0 commands as deprecated ([#&#8203;3606](https://github.com/redis/redis-py/issues/3606)) - Adding deprecation messages for the exposed in search module commands: FT.CONFIG GET and FT.CONFIG SET ([#&#8203;3499](https://github.com/redis/redis-py/issues/3499) [#&#8203;3500](https://github.com/redis/redis-py/issues/3500) ) - Deprecating Search module config_set and config_get commands. Adding tests for modules ACL and modules config changes in 8.0 ([#&#8203;3489](https://github.com/redis/redis-py/issues/3489)) #### 🐛 Bug Fixes - Handling some special values when transforming response data into list (issue [#&#8203;3573](https://github.com/redis/redis-py/issues/3573)) ([#&#8203;3586](https://github.com/redis/redis-py/issues/3586)) - Fixed infinitely recursive health checks ([#&#8203;3557](https://github.com/redis/redis-py/issues/3557)) - Fixing search module dropindex function not to send invalid third parameter. Updating pipeline infra ([#&#8203;3564](https://github.com/redis/redis-py/issues/3564)) - Fixing async cluster pipeline execution when client is created with cluster_error_retry_attempts=0 ([#&#8203;3545](https://github.com/redis/redis-py/issues/3545)) - Fix client_list with multiple client ids ([#&#8203;3539](https://github.com/redis/redis-py/issues/3539)) - Add valid Exception type to Except in ClusterPipeline ([#&#8203;3516](https://github.com/redis/redis-py/issues/3516)) - Fix [#&#8203;3130](https://github.com/redis/redis-py/issues/3130) TimeoutError during ClusterPipeline makes the client unrecoverable ([#&#8203;3513](https://github.com/redis/redis-py/issues/3513)) - Fix connection health check for protocol != 2 when auth credentials are provided and health check interval is configured ([#&#8203;3477](https://github.com/redis/redis-py/issues/3477)) - Fix AttributeError when client.get_default_node() returns None ([#&#8203;3458](https://github.com/redis/redis-py/issues/3458)) - fix: add TimeoutError handling in get_connection() ([#&#8203;1485](https://github.com/redis/redis-py/issues/1485)) - Avoid stacktrace on process exit in Client.**del**() ([#&#8203;3397](https://github.com/redis/redis-py/issues/3397)) #### 🧰 Maintenance - Updating pipeline tests to use test libs image with RC2. Updating timeseries tests. ([#&#8203;3623](https://github.com/redis/redis-py/issues/3623)) - Fixing flaky tests - part 2 ([#&#8203;3592](https://github.com/redis/redis-py/issues/3592)) - DOC-5107 added hash examples for index/query intro page ([#&#8203;3609](https://github.com/redis/redis-py/issues/3609)) - DOC-5073 vector set quantization and dimension reduction examples ([#&#8203;3597](https://github.com/redis/redis-py/issues/3597)) - Fixing some sporadically failing tests - part 1 ([#&#8203;3589](https://github.com/redis/redis-py/issues/3589)) - DOC-5073 added examples for vector sets intro page ([#&#8203;3590](https://github.com/redis/redis-py/issues/3590)) - Fix incorrect link to docs for fcall_ro command ([#&#8203;3576](https://github.com/redis/redis-py/issues/3576)) - Improvement: Use shutdown() Before close() in connection.py ([#&#8203;3567](https://github.com/redis/redis-py/issues/3567)) - Truncate pipeline exception message to a sane size ([#&#8203;3530](https://github.com/redis/redis-py/issues/3530)) - Docs/raae 724/remove redis ventures ([#&#8203;3579](https://github.com/redis/redis-py/issues/3579)) - Adding info for sentinel handling failover when Redis client is acquired with master_for() method. ([#&#8203;3578](https://github.com/redis/redis-py/issues/3578)) - Type hints improvements ([#&#8203;3420](https://github.com/redis/redis-py/issues/3420) [#&#8203;3480](https://github.com/redis/redis-py/issues/3480) [#&#8203;3522](https://github.com/redis/redis-py/issues/3522) [#&#8203;3526](https://github.com/redis/redis-py/issues/3526)) - Increasing the operations-per-run for stale issues GH action ([#&#8203;3556](https://github.com/redis/redis-py/issues/3556)) - Got rid of time.time() everywhere ([#&#8203;3551](https://github.com/redis/redis-py/issues/3551)) - Removing deprecated usage of forbid_global_loop=True in pytest.mark.asyncio decorator ([#&#8203;3542](https://github.com/redis/redis-py/issues/3542)) - allow more recent pyopenssl ([#&#8203;3541](https://github.com/redis/redis-py/issues/3541)) - Bump rojopolis/spellcheck-github-actions from 0.38.0 to 0.47.0 ([#&#8203;3538](https://github.com/redis/redis-py/issues/3538)) - Fix LockError message when releasing a lock. ([#&#8203;3534](https://github.com/redis/redis-py/issues/3534)) - Fix readthedocs.yml integration([#&#8203;3527](https://github.com/redis/redis-py/issues/3527) [#&#8203;3528](https://github.com/redis/redis-py/issues/3528) [#&#8203;3529](https://github.com/redis/redis-py/issues/3529)) - Adding vector search tests for types int8/uint8 ([#&#8203;3525](https://github.com/redis/redis-py/issues/3525)) - Adding requested resources into sdist. Fix for issue [#&#8203;3057](https://github.com/redis/redis-py/issues/3057) ([#&#8203;3511](https://github.com/redis/redis-py/issues/3511)) - maintenance: Python 3.13 compatibility ([#&#8203;3510](https://github.com/redis/redis-py/issues/3510)) - Adding unit test for core info command related to modules info ([#&#8203;3507](https://github.com/redis/redis-py/issues/3507)) - Update connection_examples.ipynb ([#&#8203;3504](https://github.com/redis/redis-py/issues/3504)) - Update Python imports in doc examples (index_definition => indexDefinition) ([#&#8203;3490](https://github.com/redis/redis-py/issues/3490)) - DOC-4736 added geo indexing examples ([#&#8203;3485](https://github.com/redis/redis-py/issues/3485)) - Updated test infrastructure with latest versions ([#&#8203;3484](https://github.com/redis/redis-py/issues/3484)) - fix: update redis university url, the old link doesn't work ([#&#8203;3481](https://github.com/redis/redis-py/issues/3481)) - Fix [#&#8203;3464](https://github.com/redis/redis-py/issues/3464): Correct misleading exception_handler example in docs ([#&#8203;3474](https://github.com/redis/redis-py/issues/3474)) - Added Redis 8.0 to test matrix ([#&#8203;3469](https://github.com/redis/redis-py/issues/3469)) - Added workflow_dispatch for pypi release workflow ([#&#8203;3465](https://github.com/redis/redis-py/issues/3465)) - Avoid the multiprocessing forkserver method in Python 3.14 ([#&#8203;3442](https://github.com/redis/redis-py/issues/3442)) - Fix inaccurate docstring for unwatch() ([#&#8203;3424](https://github.com/redis/redis-py/issues/3424)) - Update README.md - Fix 'Note' - bold ([#&#8203;3413](https://github.com/redis/redis-py/issues/3413)) - skip ssl import if not available ([#&#8203;3078](https://github.com/redis/redis-py/issues/3078)) - Replace flake8+isort+black with ruff ([#&#8203;3147](https://github.com/redis/redis-py/issues/3147)) - Fixes minor grammar nit in documentation. ([#&#8203;3354](https://github.com/redis/redis-py/issues/3354)) #### Contributors We'd like to thank all the contributors who worked on this release! [@&#8203;elena-kolevska](https://github.com/elena-kolevska) [@&#8203;petyaslavova](https://github.com/petyaslavova) [@&#8203;vladvildanov](https://github.com/vladvildanov) [@&#8203;andy-stark-redis](https://github.com/andy-stark-redis) [@&#8203;JimNero009](https://github.com/JimNero009) [@&#8203;donbowman](https://github.com/donbowman) [@&#8203;julianolm](https://github.com/julianolm) [@&#8203;666romeo](https://github.com/666romeo) [@&#8203;three-kinds](https://github.com/three-kinds) [@&#8203;bssyousefi](https://github.com/bssyousefi) [@&#8203;mbilski](https://github.com/mbilski) [@&#8203;Yard1](https://github.com/Yard1) [@&#8203;bacchuswng](https://github.com/bacchuswng) [@&#8203;noirbee](https://github.com/noirbee) [@&#8203;nbertram](https://github.com/nbertram) [@&#8203;birthdaysgift](https://github.com/birthdaysgift) [@&#8203;Perlence](https://github.com/Perlence) [@&#8203;excitoon](https://github.com/excitoon) [@&#8203;dimbleby](https://github.com/dimbleby) [@&#8203;shenxiangzhuang](https://github.com/shenxiangzhuang) [@&#8203;paololazzari](https://github.com/paololazzari) [@&#8203;dwdougherty](https://github.com/dwdougherty) [@&#8203;niklasbec](https://github.com/niklasbec) [@&#8203;byeongjulee222](https://github.com/byeongjulee222) [@&#8203;befeleme](https://github.com/befeleme) [@&#8203;djroze](https://github.com/djroze) [@&#8203;BaseMax](https://github.com/BaseMax) [@&#8203;dicej](https://github.com/dicej) [@&#8203;akx](https://github.com/akx) [@&#8203;cavemanpi](https://github.com/cavemanpi) [@&#8203;lattwood](https://github.com/lattwood) [@&#8203;rbs333](https://github.com/rbs333) [@&#8203;rohansingh](https://github.com/rohansingh) [@&#8203;allrob23](https://github.com/allrob23) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Renovate added 1 commit 2025-04-30 22:28:16 +03:00
Renovate scheduled this pull request to auto merge when all checks succeed 2025-04-30 22:28:17 +03:00
profitroll merged commit dda548b5fc into dev 2025-04-30 23:21:05 +03:00
profitroll deleted branch renovate/redis-6.x 2025-04-30 23:21:05 +03:00
Sign in to join this conversation.
No description provided.