Skip to content

chore: update dependencies to latest versions#431

Merged
thinkingfish merged 6 commits intomainfrom
deps-update
Mar 21, 2026
Merged

chore: update dependencies to latest versions#431
thinkingfish merged 6 commits intomainfrom
deps-update

Conversation

@thinkingfish
Copy link
Copy Markdown
Member

@thinkingfish thinkingfish commented Mar 21, 2026

Summary

  • Update all transitive dependencies via cargo update (272 packages)
  • Bump 33 direct dependency version specifiers to latest compatible

Breaking version upgrades

Crate Old New Notes
toml 0.8 1.0 Drop-in
webpki-roots 0.26 1.0 Drop-in
momento 0.57 0.61 Resolves protosocket-rpc 0.11/0.12 diamond dependency
redis 0.23 1.0 query_async API change, hgethmget for multi-field, fixes future-incompat
warp 0.3 0.4 Added explicit server feature flag

Deferred upgrades

  • rand 0.10RngCore renamed to Rng, ~30 call sites need migration
  • prost/tonic 0.14tonic-build removed compile_protos(), requires build pipeline restructure
  • boring/boring-sys 5.x — blocked by pelikan-net depending on boring-sys 3.x

Test plan

  • cargo check passes
  • No new warnings (only pre-existing momento from_env_var deprecation)
  • CI green

🤖 Generated with Claude Code

thinkingfish and others added 6 commits March 20, 2026 21:51
Update all dependencies to latest compatible versions. Pin
momento-protos to 0.127.3 to avoid protosocket-rpc 0.11/0.12
diamond conflict. Fix pre-existing bug in momento cache client
where GetBatch used nonexistent `latency_histograms` instead of
`extra_histogram`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update 33 direct dependency versions to latest semver-compatible
releases. No breaking changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Both are drop-in major version bumps with no API changes needed.

rand 0.10 requires significant migration (RngCore -> Rng rename,
rand_distr API changes) and is deferred to a separate PR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Resolves the protosocket-rpc 0.11/0.12 diamond dependency that
required pinning momento-protos. CredentialProvider::from_env_var
is deprecated in favor of from_env_var_v2 (different signature,
requires endpoint env var) - left as-is for now.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
API changes:
- query_async no longer takes connection type as generic param
- hget now requires ToSingleRedisArg; multi-field case uses hmget
- Resolves future-incompat warning from redis 0.23

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
warp 0.4 split features; added explicit "server" feature flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@thinkingfish thinkingfish merged commit b55502e into main Mar 21, 2026
29 checks passed
@thinkingfish thinkingfish deleted the deps-update branch March 22, 2026 21:55
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.

1 participant