Skip to content

Update fred requirement from 6.3.0 to 7.0.0#5

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/fred-7.0.0
Closed

Update fred requirement from 6.3.0 to 7.0.0#5
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/fred-7.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 9, 2023

Updates the requirements on fred to permit the latest version.

Release notes

Sourced from fred's releases.

7.0.0

  • Added a new client Builder and configuration interface.
  • Reworked or removed the majority of the globals interface.
  • Support multiple IP addresses in the Resolve interface.
  • Add with_options command configuration interface.
  • Replaced the no-client-setname feature flag with auto-client-setname.
  • Add an interface to configure TCP socket options.
  • Removed the automatic serde_json::Value -> RedisValue type conversion logic.
  • Reworked the majority of the RedisPool interface.
  • Moved and refactored the on_* functions into a new EventInterface.
  • Fixed bugs with the Replica routing implementation.
  • Fixed bugs related to parsing single-element arrays.
  • Changed several FromRedis type conversion rules.
  • Add a RedisJSON interface.
  • Add a RESP2 and RESP3 codec interface.
Changelog

Sourced from fred's changelog.

7.0.0

  • Added a new client builder and configuration interface.
  • Reworked or removed the majority of the globals interface.
  • Support multiple IP addresses in the Resolve interface.
  • Add with_options command configuration interface.
  • Replaced the no-client-setname feature flag with auto-client-setname.
  • Add an interface to configure TCP socket options.
  • Removed the automatic serde_json::Value -> RedisValue type conversion logic.
    • This unintentionally introduced some ambiguity on certain interfaces.
    • The RedisValue -> serde_json::Value type conversion logic was not changed.
  • Reworked the majority of the RedisPool interface.
  • Moved and refactored the on_* functions into a new EventInterface.
  • Fixed bugs with the Replica routing implementation.
  • Fixed bugs related to parsing single-element arrays.
  • Changed several FromRedis type conversion rules. See below or the FromRedis docs for more information.
  • Add a RedisJSON interface.
  • Add a RESP2 and RESP3 codec interface.

Upgrading from 6.x

Notable interface changes:

  • ArcStr has been replaced with bytes_utils::Str.
  • Timeout arguments or fields now all use std::time::Duration.
  • Many of the old global or performance config values can now be set on individual commands via the with_options interface.
  • The RedisPool interface now directly implements ClientLike rather than relying on Deref shenanigans.
  • The on_* event functions were moved and renamed. Reconnection events now include the associated Server.
  • The tls_server_name field on Server is now properly gated by the TLS feature flags.
  • Mocks are now optional even when the feature flag is enabled.

Notable implementation Changes:

  • Pipeline and Transaction structs can now be reused. Calling exec, all, last, or try_all no longer drains the inner command buffer.
  • Many of the default timeout values have been lowered significantly, often from 60 sec to 10 sec.
  • In earlier versions the FromRedis trait implemented a few inconsistent or ambiguous type conversions policies.
    • Most of these were consolidated under the default-nil-types feature flag.
    • It is recommended that callers review the updated FromRedis docs or see the unit tests in responses.
  • The connect function can now be called more than once to force reset all client state.

6.3.2

  • Fix a bug with connection errors unexpectedly ending the connection task.

6.3.1

  • Update various dependencies
  • Move pretty-env-logger to dev-dependencies
  • Update rustfmt.toml

... (truncated)

Commits

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)

Updates the requirements on [fred](https://github.com/aembke/fred.rs) to permit the latest version.
- [Release notes](https://github.com/aembke/fred.rs/releases)
- [Changelog](https://github.com/aembke/fred.rs/blob/main/CHANGELOG.md)
- [Commits](aembke/fred.rs@v6.3.0...v7.0.0)

---
updated-dependencies:
- dependency-name: fred
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 9, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 13, 2023

Superseded by #6.

@dependabot dependabot bot closed this Dec 13, 2023
@dependabot dependabot bot deleted the dependabot/cargo/fred-7.0.0 branch December 13, 2023 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants