Skip to content

chore(deps): bump rmcp 1.2 → 1.4 + unpin minor versions#13

Merged
JuzzyDee merged 1 commit into
masterfrom
chore/bump-rmcp-1.4
May 18, 2026
Merged

chore(deps): bump rmcp 1.2 → 1.4 + unpin minor versions#13
JuzzyDee merged 1 commit into
masterfrom
chore/bump-rmcp-1.4

Conversation

@JuzzyDee

@JuzzyDee JuzzyDee commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bumps rmcp from 1.2.0 to 1.4.0 across both dep entries (universal + native-only)
  • Unpins the exact version (=1.2.0"1.4") so future patch and minor updates flow through normally
  • Adds the now-required LocalSessionManager type argument to StreamableHttpService<…> in src/main.rs:1325 (rmcp 1.3 dropped the default generic, rmcp#758)

Why not dependabot PR #9

PR #9 only updated the universal pin on line 38 of Cargo.toml and left the native-only override on line 108 at =1.2.0. With two cfg-conjoined exact pins at different versions, Cargo cannot resolve a single rmcp version and the workspace fails to build:

```
error: failed to select a version for `rmcp`.
required by package `memoria v0.1.0`
versions that meet the requirements `=1.2.0` are: 1.2.0
previously selected package `rmcp v1.4.0`
```

Closing #9 in favour of this manual fix.

Why floor at 1.4 and not latest (1.7)

cargo update -p rmcp (unpinned) resolves to 1.7.0, but 1.5/1.6/1.7 introduce further API shifts I haven't audited yet. The dependabot ask was 1.4. Flooring there:

  • Matches the original PR's scope
  • Keeps the diff auditable (one new generic argument; no other call-site refactoring)
  • Leaves headroom for cargo update to move forward incrementally with intentional review

Notable upstream changes 1.2 → 1.4

  • fix(server): remove initialized notification gate to support Streamable HTTP (#788) — helpful for our HTTPS path
  • default session keep_alive to 5 minutes (#780)
  • fix(http): add host check (#764)
  • StreamableHttpService default generic removed (#758) — absorbed by the type annotation in this PR

Test plan

  • `cargo build` — clean (two pre-existing dead-code warnings on MemoriaServer.db_path and RateLimited.is_write)
  • `cargo test` — 49 passed, 0 failed
  • `cargo check --target wasm32-unknown-unknown --lib` — clean (19 pre-existing dead-code warnings, unrelated)
  • CI green on PR

🤖 Generated with Claude Code

Bumps rmcp from 1.2.0 to 1.4.0 across both the universal dep and the
native-only override. Removes the exact-version pin (`=1.2.0` → `"1.4"`)
so future patch and minor updates flow through normally — the pin was
insurance during the CF migration and isn't earning its keep now.

## Why not dependabot PR #9

The grouped PR only bumped the universal pin (Cargo.toml line 38) and
left the native-only override (line 108) at `=1.2.0`. With cfg-conjoined
exact pins at different versions, Cargo can't resolve a single rmcp
version and the workspace fails to build. Closing #9 in favour of this
manual fix.

## Why floor at 1.4 and not latest (1.7)

rmcp 1.3 removed the default type param from `StreamableHttpService<S>`
(rmcp #758), which means our native HTTPS handler now needs to specify
both generics: `StreamableHttpService<MemoriaServer, LocalSessionManager>`.
Fixed in src/main.rs. Beyond 1.4 there are further API shifts I haven't
audited — floor at 1.4 matches the dependabot ask and keeps the diff
auditable. Future bumps can move forward incrementally.

## Notable upstream changes 1.2 → 1.4

- fix(server): remove initialized notification gate to support
  Streamable HTTP (rmcp #788) — helpful for our HTTPS path
- default session keep_alive to 5 minutes (rmcp #780)
- fix(http): add host check (rmcp #764)
- StreamableHttpService default generic removed (rmcp #758) — the
  type annotation in src/main.rs:1325 absorbs this

## Test plan

- [x] `cargo build` — clean (2 pre-existing dead-code warnings)
- [x] `cargo test` — 49 passed, 0 failed
- [x] `cargo check --target wasm32-unknown-unknown --lib` — clean
- [ ] CI green on PR

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@JuzzyDee JuzzyDee merged commit c6e909e into master May 18, 2026
5 checks passed
@JuzzyDee JuzzyDee deleted the chore/bump-rmcp-1.4 branch May 18, 2026 00:09
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