Skip to content

chore(deps): bundle major bumps — tonic 0.14, prost 0.14, sha2 0.11, pbkdf2 0.13#504

Merged
satyakwok merged 1 commit intomainfrom
chore/deps-major-bumps-2026-05-06
May 6, 2026
Merged

chore(deps): bundle major bumps — tonic 0.14, prost 0.14, sha2 0.11, pbkdf2 0.13#504
satyakwok merged 1 commit intomainfrom
chore/deps-major-bumps-2026-05-06

Conversation

@satyakwok
Copy link
Copy Markdown
Member

Supersedes #490, #492, #493, #494. These dependabot bumps cross-depend (tonic 0.14 needs prost 0.14, sha2 0.11 needs pbkdf2 0.13), so they must land bundled.

Versions

dep old new
sha2 0.10 0.11
pbkdf2 0.12 0.13
tonic 0.12 0.14
tonic-web 0.12 0.14
tonic-build 0.12 0.14
tonic-prost (new) 0.14
tonic-prost-build (new) 0.14
prost 0.13 0.14
prost-build 0.13 0.14

Code change

crates/sentrix-grpc/build.rstonic_build::configuretonic_prost_build::configure + compile_protos_with_configcompile_with_config (tonic-build 0.14 split prost-specific codegen into a separate tonic-prost-build crate). No src/*.rs changes.

Verified

  • cargo check --workspace --tests: pass
  • cargo clippy --workspace --tests -- -D warnings: zero warnings
  • cargo test --workspace --lib: 714 unit tests pass
  • cargo test --workspace --tests: all integration tests pass

…kdf2 0.13

Supersedes dependabot PRs #490 #492 #493 #494 — those individual bumps
fail CI in isolation because the four crates are cross-dependent:
  - tonic 0.14 requires prost 0.14 (ProstCodec moved from tonic::codec
    to a new tonic-prost crate)
  - tonic-web 0.14 follows tonic
  - sha2 0.11 needs pbkdf2 0.13 (older pbkdf2's hmac trait bound on
    sha2 doesn't satisfy under sha2 0.11's CoreProxy)
Bundling lands all four together so the workspace compiles + tests
pass at every step.

Migration notes:
  - tonic-build 0.14 split prost-specific codegen into tonic-prost-build.
    crates/sentrix-grpc/build.rs now uses tonic_prost_build::configure
    + compile_with_config (the old compile_protos_with_config method
    was renamed). Added tonic-prost + tonic-prost-build deps.
  - No sentrix code uses tonic::codec types directly (gRPC service is
    skeleton-only with Unimplemented handlers; runtime codec is
    generated by the build script). So no src changes needed beyond
    build.rs.
  - sha2 0.11 + pbkdf2 0.13 just bumped together; existing call sites
    use the trait re-exports unchanged.

Versions on workspace:
  sha2:        0.10  → 0.11   (7 Cargo.toml files)
  pbkdf2:      0.12  → 0.13   (2 files: workspace + sentrix-wallet)
  tonic:       0.12  → 0.14   (sentrix-node + sentrix-grpc)
  tonic-web:   0.12  → 0.14   (sentrix-node)
  tonic-build: 0.12  → 0.14   (sentrix-grpc dev)
  tonic-prost: NEW    0.14    (sentrix-grpc dep)
  tonic-prost-build: NEW 0.14 (sentrix-grpc dev)
  prost:       0.13  → 0.14   (sentrix-grpc)
  prost-build: 0.13  → 0.14   (sentrix-grpc dev)

Verification:
  cargo check --workspace --tests  → pass
  cargo clippy --workspace --tests -- -D warnings  → zero warnings
  cargo test --workspace --lib  → 714 unit tests pass
  cargo test --workspace --tests  → all integration tests pass
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