Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

chore: upgrade fred v9 → v10.1#90

Merged
christopherwxyz merged 1 commit into
mainfrom
chore/upgrade-fred-v10
Feb 9, 2026
Merged

chore: upgrade fred v9 → v10.1#90
christopherwxyz merged 1 commit into
mainfrom
chore/upgrade-fred-v10

Conversation

@christopherwxyz

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade fred Redis client from v9 to v10.1, a major release with type renames, async event handlers, and removal of auto_pipeline config
  • Update all type references across 4 source files: RedisPoolPool, RedisConfigConfig, RedisValueValue, RedisErrorError, RedisErrorKindErrorKind
  • Replace connect()+wait_for_connect() with init(), make event handlers async, and fix ClusterHash usage after it moved to a private module

Test plan

  • cargo check — all type renames compile
  • cargo clippy — no warnings
  • cargo test — 264 passed, 0 failed
  • cargo build --release — full release build succeeds

- Rename types: RedisPool→Pool, RedisConfig→Config, RedisValue→Value,
  RedisError→Error, RedisErrorKind→ErrorKind
- Remove auto_pipeline (always on in v10)
- Replace connect()+wait_for_connect() with init()
- Make event handlers async (on_error now receives (err, server) tuple)
- Update ClusterHash usage (moved to private module, use None::<u16>)
- Import Scanner trait from fred::types::scan for take_results()
- Replace prelude glob imports in stream.rs with specific trait imports
@christopherwxyz
christopherwxyz merged commit 6dd470b into main Feb 9, 2026
4 checks passed
@christopherwxyz
christopherwxyz deleted the chore/upgrade-fred-v10 branch February 10, 2026 00:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant