Repository navigation
Bump to 0.2.0 - #145
Merged
Merged
Bump to 0.2.0#145
Conversation
A minor bump rather than a patch, because #144 broke the library API: `SharedClients::load` gained a required argument and `McpConfig` gained a required `state_dir` field, so any embedder constructing `McpConfig` by literal no longer compiles. Under cargo's 0.x rules `0.1` is the compatibility range, so shipping this as 0.1.2 would hand the break to everyone on `imcp2 = "0.1"` — the requirement our own README recommends — the next time they ran `cargo update`. 0.2.0 opens a new range instead: existing users stay on 0.1.x until they choose to move. That also makes the README's dependency line load-bearing for the first time, so it moves to "0.2"; `"0.1"` would no longer resolve to a current release. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DzHqmVVfkNyXpPi79Fh1eM
sea-snake
approved these changes
Aug 19, 2026
There was a problem hiding this comment.
Pull request overview
Bumps the crate to 0.2.0 to reflect the breaking API changes from #144.
Changes:
- Updates crate and lockfile versions to 0.2.0.
- Updates the README dependency requirement to the new compatibility range.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
README.md |
Uses imcp2 = "0.2" in the dependency example. |
Cargo.toml |
Sets the package version to 0.2.0. |
Cargo.lock |
Synchronizes the workspace package version. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts the next crates.io release. 0.2.0, not 0.1.2 — #144 broke the library
API, and under cargo's 0.x rules
0.1is the compatibility range, so a 0.1.2would be delivered as a compatible update to everyone on
imcp2 = "0.1"(therequirement this repo's own README recommends) the next time they ran
cargo update, and their build would break. 0.2.0 opens a new range instead:existing users stay on 0.1.x until they choose to move.
What #144 broke, for the record:
SharedClients::load()→SharedClients::load(state_dir)— arity change.McpConfiggained a required public field,state_dir, so everystruct-literal construction of it (including the one in our own docs) fails
to compile.
Related issues
Releases #144.
Changes
Cargo.toml/Cargo.lock: 0.1.1 → 0.2.0.README.md: the dependency snippet moves fromimcp2 = "0.1"toimcp2 = "0.2". This line was deliberately left alone at 0.1.1 because acaret requirement already covered it; with a new minor range it becomes
load-bearing, since
"0.1"no longer resolves to a current release.Testing
cargo build --locked --all-targets— warning-freecargo test --locked --all-targets— 202 passed, 0 failedcargo publish --locked --dry-run— packages and verify-builds asimcp2 v0.2.0, 34 files, 1.5 MiB compressedcargo fmt --all/cargo clippy --all-targets— pre-existing state onmain, untouched herenpm test --prefix monitoring/mcp-status— dashboard unchanged.Releasing
After merge, tag the merge commit — the publish workflow checks the tag against
Cargo.toml, verifies the commit is onmain, runs the suite and a dry-runpackage, then waits for a reviewer on the
releaseenvironment beforeuploading:
A production rollout, if wanted, is a separate
release-*tag as usual.Checklist
Generated by Claude Code