Skip to content

Bump to 0.2.0 - #145

Merged
aterga merged 1 commit into
mainfrom
arshavir/upbeat-carson-lt6b0e
Aug 19, 2026
Merged

aterga merged 1 commit into
mainfrom
arshavir/upbeat-carson-lt6b0e

Conversation

@aterga

@aterga aterga commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

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.1 is the compatibility range, so a 0.1.2
would be delivered as a compatible update to everyone on imcp2 = "0.1" (the
requirement 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.
  • McpConfig gained a required public field, state_dir, so every
    struct-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 from imcp2 = "0.1" to
    imcp2 = "0.2". This line was deliberately left alone at 0.1.1 because a
    caret 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-free
  • cargo test --locked --all-targets — 202 passed, 0 failed
  • cargo publish --locked --dry-run — packages and verify-builds as
    imcp2 v0.2.0, 34 files, 1.5 MiB compressed
  • cargo fmt --all / cargo clippy --all-targets — pre-existing state on
    main, untouched here
  • npm 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 on main, runs the suite and a dry-run
package, then waits for a reviewer on the release environment before
uploading:

git fetch origin main && git tag v0.2.0 origin/main && git push origin v0.2.0

A production rollout, if wanted, is a separate release-* tag as usual.

Checklist

  • I have read the Contributing guidelines.
  • Docs (README / comments) updated for any user-visible change.
  • No secrets, credentials, or internal-only information are included.

Generated by Claude Code

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
@aterga
aterga marked this pull request as ready for review August 19, 2026 15:52
@aterga
aterga requested review from a team and a balanced review from Copilot August 19, 2026 15:52
@aterga
aterga merged commit c4979b8 into main Aug 19, 2026
8 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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.

4 participants