Update Rust crate redis to 0.24.0 #45

Merged
pierre merged 3 commits from renovate/redis-0.x into master 2024-03-04 09:06:21 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
redis dependencies minor 0.23.3 -> 0.24.0

Release Notes

redis-rs/redis-rs (redis)

v0.24.0: v0.24.0

Compare Source

0.24.0 (2023-12-05)
Features
Changes
  • Order in usage of ClusterParams. (#​997)
  • Breaking change: Fix StreamId::contains_key signature (#​783 @​Ayush1325)
  • Breaking change: Update Command expiration values to be an appropriate type (#​589 @​joshleeb)
  • Breaking change: Bump aHash to v0.8.6 (#​966 @​aumetra)
  • Fix features for load_native_certs. (#​996)
  • Revert redis-test versioning changes (#​993)
  • Tests: Add retries to test cluster creation (#​994)
  • Fix sync cluster behavior with transactions. (#​983)
  • Sync Pub/Sub - cache received pub/sub messages. (#​910)
  • Prefer routing to primary in a transaction. (#​986)
  • Accept iterator at ClusterClient initialization (#​987 @​ruanpetterson)
  • Breaking change: Change timeouts from usize and isize to f64 (#​988 @​eythorhel19)
  • Update minimal rust version to 1.6.5 (#​982)
  • Disable JSON module tests for redis 6.2.4. (#​980)
  • Add connection string examples (#​976 @​NuclearOreo)
  • Move response policy into multi-node routing. (#​952)
  • Added functions that allow tests to check version. (#​963)
  • Fix XREADGROUP command ordering as per Redis Docs, and compatibility with Upstash Redis (#​960 @​prabhpreet)
  • Optimize make_pipeline_results by pre-allocate memory (#​957 @​PureWhiteWu)
  • Run module tests sequentially. (#​956)
  • Log cluster creation output in tests. (#​955)
  • CI: Update and use better maintained github actions. (#​954)
  • Call CLIENT SETINFO on new connections. (#​945)
  • Deprecate functions that erroneously use tokio in their name. (#​913)
  • CI: Increase timeouts and use newer redis. (#​949)
  • Remove redis version from redis-test. (#​943)

v0.23.4

Compare Source


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 | Type | Update | Change | |---|---|---|---| | [redis](https://github.com/redis-rs/redis-rs) | dependencies | minor | `0.23.3` -> `0.24.0` | --- ### Release Notes <details> <summary>redis-rs/redis-rs (redis)</summary> ### [`v0.24.0`](https://github.com/redis-rs/redis-rs/releases/tag/redis-0.24.0): v0.24.0 [Compare Source](https://github.com/redis-rs/redis-rs/compare/redis-0.23.4...redis-0.24.0) ##### 0.24.0 (2023-12-05) ##### Features - **Breaking change**: Support Mutual TLS ([#&#8203;858](https://github.com/redis-rs/redis-rs/pull/858) [@&#8203;sp-angel](https://github.com/sp-angel)) - Implement `FromRedisValue` for `Box<[T]>` and `Arc<[T]>` ([#&#8203;799](https://github.com/redis-rs/redis-rs/pull/799) [@&#8203;JOT85](https://github.com/JOT85)) - Sync Cluster: support multi-slot operations. ([#&#8203;967](https://github.com/redis-rs/redis-rs/pull/967)) - Execute multi-node requests using try_request. ([#&#8203;919](https://github.com/redis-rs/redis-rs/pull/919)) - Sorted set blocking commands ([#&#8203;962](https://github.com/redis-rs/redis-rs/pull/962) [@&#8203;gheorghitamutu](https://github.com/gheorghitamutu)) - Allow passing routing information to cluster. ([#&#8203;899](https://github.com/redis-rs/redis-rs/pull/899)) - Add `tcp_nodelay` feature ([#&#8203;941](https://github.com/redis-rs/redis-rs/pull/941) [@&#8203;PureWhiteWu](https://github.com/PureWhiteWu)) - Add support for multi-shard commands. ([#&#8203;900](https://github.com/redis-rs/redis-rs/pull/900)) ##### Changes - Order in usage of ClusterParams. ([#&#8203;997](https://github.com/redis-rs/redis-rs/pull/997)) - **Breaking change**: Fix StreamId::contains_key signature ([#&#8203;783](https://github.com/redis-rs/redis-rs/pull/783) [@&#8203;Ayush1325](https://github.com/Ayush1325)) - **Breaking change**: Update Command expiration values to be an appropriate type ([#&#8203;589](https://github.com/redis-rs/redis-rs/pull/589) [@&#8203;joshleeb](https://github.com/joshleeb)) - **Breaking change**: Bump aHash to v0.8.6 ([#&#8203;966](https://github.com/redis-rs/redis-rs/pull/966) [@&#8203;aumetra](https://github.com/aumetra)) - Fix features for `load_native_certs`. ([#&#8203;996](https://github.com/redis-rs/redis-rs/pull/996)) - Revert redis-test versioning changes ([#&#8203;993](https://github.com/redis-rs/redis-rs/pull/993)) - Tests: Add retries to test cluster creation ([#&#8203;994](https://github.com/redis-rs/redis-rs/pull/994)) - Fix sync cluster behavior with transactions. ([#&#8203;983](https://github.com/redis-rs/redis-rs/pull/983)) - Sync Pub/Sub - cache received pub/sub messages. ([#&#8203;910](https://github.com/redis-rs/redis-rs/pull/910)) - Prefer routing to primary in a transaction. ([#&#8203;986](https://github.com/redis-rs/redis-rs/pull/986)) - Accept iterator at `ClusterClient` initialization ([#&#8203;987](https://github.com/redis-rs/redis-rs/pull/987) [@&#8203;ruanpetterson](https://github.com/ruanpetterson)) - **Breaking change**: Change timeouts from usize and isize to f64 ([#&#8203;988](https://github.com/redis-rs/redis-rs/pull/988) [@&#8203;eythorhel19](https://github.com/eythorhel19)) - Update minimal rust version to 1.6.5 ([#&#8203;982](https://github.com/redis-rs/redis-rs/pull/982)) - Disable JSON module tests for redis 6.2.4. ([#&#8203;980](https://github.com/redis-rs/redis-rs/pull/980)) - Add connection string examples ([#&#8203;976](https://github.com/redis-rs/redis-rs/pull/976) [@&#8203;NuclearOreo](https://github.com/NuclearOreo)) - Move response policy into multi-node routing. ([#&#8203;952](https://github.com/redis-rs/redis-rs/pull/952)) - Added functions that allow tests to check version. ([#&#8203;963](https://github.com/redis-rs/redis-rs/pull/963)) - Fix XREADGROUP command ordering as per Redis Docs, and compatibility with Upstash Redis ([#&#8203;960](https://github.com/redis-rs/redis-rs/pull/960) [@&#8203;prabhpreet](https://github.com/prabhpreet)) - Optimize make_pipeline_results by pre-allocate memory ([#&#8203;957](https://github.com/redis-rs/redis-rs/pull/957) [@&#8203;PureWhiteWu](https://github.com/PureWhiteWu)) - Run module tests sequentially. ([#&#8203;956](https://github.com/redis-rs/redis-rs/pull/956)) - Log cluster creation output in tests. ([#&#8203;955](https://github.com/redis-rs/redis-rs/pull/955)) - CI: Update and use better maintained github actions. ([#&#8203;954](https://github.com/redis-rs/redis-rs/pull/954)) - Call CLIENT SETINFO on new connections. ([#&#8203;945](https://github.com/redis-rs/redis-rs/pull/945)) - Deprecate functions that erroneously use `tokio` in their name. ([#&#8203;913](https://github.com/redis-rs/redis-rs/pull/913)) - CI: Increase timeouts and use newer redis. ([#&#8203;949](https://github.com/redis-rs/redis-rs/pull/949)) - Remove redis version from redis-test. ([#&#8203;943](https://github.com/redis-rs/redis-rs/pull/943)) ### [`v0.23.4`](https://github.com/redis-rs/redis-rs/compare/redis-0.23.3...redis-0.23.4) [Compare Source](https://github.com/redis-rs/redis-rs/compare/redis-0.23.3...redis-0.23.4) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy44OS40IiwidXBkYXRlZEluVmVyIjoiMzcuOTEuNCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
pierre scheduled this pull request to auto merge when all checks succeed 2023-12-08 00:10:56 +00:00
pierre force-pushed renovate/redis-0.x from 2278953084 to 065b8736a2 2023-12-13 00:15:48 +00:00 Compare
Author
Owner

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: geneit_backend/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path geneit_backend/Cargo.toml --workspace
    Updating crates.io index
warning: spurious network error (3 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 4013 ms: Couldn't connect to server)
warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server)
warning: spurious network error (1 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server)
error: failed to get `actix-cors` as a dependency of package `geneit_backend v0.1.0 (/tmp/renovate/repos/gitea/pierre/GeneIT/geneit_backend)`

Caused by:
  failed to query replaced source registry `crates-io`

Caused by:
  download of config.json failed

Caused by:
  failed to download from `https://index.crates.io/config.json`

Caused by:
  [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server)

### ⚠ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: geneit_backend/Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path geneit_backend/Cargo.toml --workspace Updating crates.io index warning: spurious network error (3 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 4013 ms: Couldn't connect to server) warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server) warning: spurious network error (1 tries remaining): [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server) error: failed to get `actix-cors` as a dependency of package `geneit_backend v0.1.0 (/tmp/renovate/repos/gitea/pierre/GeneIT/geneit_backend)` Caused by: failed to query replaced source registry `crates-io` Caused by: download of config.json failed Caused by: failed to download from `https://index.crates.io/config.json` Caused by: [7] Couldn't connect to server (Failed to connect to index.crates.io port 443 after 0 ms: Couldn't connect to server) ```
Author
Owner

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

### Edited/Blocked Notification Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ **Warning**: custom changes will be lost.
pierre canceled auto merging this pull request when all checks succeed 2024-03-04 09:00:26 +00:00
pierre added 1 commit 2024-03-04 09:01:13 +00:00
Attempt to fix breaking change
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
86d57264bf
pierre added 1 commit 2024-03-04 09:03:19 +00:00
Update geneit_backend/src/connections/redis_connection.rs
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
544c9e7c01
pierre merged commit 9f83183d2c into master 2024-03-04 09:06:21 +00:00
pierre deleted branch renovate/redis-0.x 2024-03-04 09:06:22 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pierre/GeneIT#45
No description provided.