Skip to content

Bump the crates to 0.7.0 - #268

Merged
aterga merged 4 commits into
mainfrom
rk/imcp-bump-0-7-0
Nov 19, 2026
Merged

aterga merged 4 commits into
mainfrom
rk/imcp-bump-0-7-0

Conversation

@raymondk

Copy link
Copy Markdown
Contributor

Summary

Bumps imcp2, imcp2-core and imcp2-local from 0.6.1 to 0.7.0, so a 0.7.0 release candidate can be cut. deploy-candidate.yml and publish-crate.yml both refuse a tag whose version disagrees with every Cargo.toml, and main still says 0.6.1.

This is a minor bump: since 0.6.1 the server gained the deploy tools (bundle host, upload store, pipeline, MCP tools, remote serving and metrics, #261, #265, #266), the cap on the MCP request body behind the bearer gate (#241), vetted-connector branding surfaced to Internet Identity (#200), and get_canister_candid now carries the interface text in its structured output (#229).

It also fixes the test that has failed on main since #266, because publish-crate.yml runs the test suite and would refuse to publish 0.7.0 otherwise. #266 rewrote the icp_deploy description with step (2) as "upload that bundle via icp_deploy_upload". imcp2-local doesn't list that tool; it takes the bundle as bundle_path. The per-server sentence that IcDeployTools::tools() inserts was anchored on text the rewrite removed, so it stopped being inserted, and deploy::tests::a_server_lists_the_bundle_argument_it_takes caught it. The description keeps #266's wording unchanged, and the hosted server lists it as written. A server without an upload store (imcp2-local) replaces step (2) with "pass that bundle's absolute path as bundle_path".

Note on the existing rc-0.7.0 tag: deploy-candidate.yml only accepts rc-X.Y.Z-N tags (^rc-([0-9]+\.[0-9]+\.[0-9]+)-([0-9]+)$), so rc-0.7.0 fails that check even with this bump. It also points at 614f16b, which is before these commits. Once this is merged, cut the candidate on the merge commit as rc-0.7.0-1:

git tag rc-0.7.0-1 <merge commit on main>
git push origin rc-0.7.0-1

Related issues

None.

Changes

  • Cargo.toml: package version, and the imcp2-core workspace pin, set to 0.7.0
  • crates/imcp2-core/Cargo.toml, crates/imcp2-local/Cargo.toml: version set to 0.7.0
  • Cargo.lock: only the three workspace entries change (cargo update --workspace)
  • README.md: the library snippet now says imcp2 = "0.7" ("0.6" excludes 0.7.0, and the README ships in the crate)
  • crates/imcp2-core/src/deploy/mod.rs: imcp2-local's icp_deploy description says to pass the bundle as bundle_path again, rather than naming icp_deploy_upload; the test checks both servers' step (2)

Testing

  • cargo test --locked --workspace --all-targets: all 6 test binaries pass (the deploy test above failed before the fix, reproduced locally)
  • cargo fmt --all -- --check
  • The candidate workflow's version check, run locally: cargo metadata --no-deps --locked reports 0.7.0 for imcp2-core, imcp2 and imcp2-local
  • cargo clippy --all-targets: one await_holding_lock error in a test in crates/imcp2-core/src/deploy/uploads.rs. It is already on main, this PR doesn't touch it, and CI doesn't run clippy.
  • npm test --prefix monitoring/mcp-status (not applicable)

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 with Claude Code

https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX

All three crates share one version. A minor bump: since 0.6.1 the server
gained the deploy tools (bundle host, upload store, pipeline, MCP tools,
remote serving and metrics, #261, #265, #266), the cap on the MCP request
body behind the bearer gate (#241), vetted-connector branding surfaced to
Internet Identity (#200), and get_canister_candid now carries the interface
text in its structured output (#229).

The rc-0.7.0 candidate needs this on main first: deploy-candidate.yml and
publish-crate.yml both refuse a tag whose version disagrees with every
Cargo.toml.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
#266 rewrote the icp_deploy description and hard-coded its step (2) as
"upload that bundle via icp_deploy_upload". The local server does not list
that tool: it takes the bundle as `bundle_path`. The sentence that
IcDeployTools::tools() put in per server was anchored on text the rewrite
removed, so it silently stopped being put in, and
a_server_lists_the_bundle_argument_it_takes has failed on main since.

Step (2) is now the anchor. The description says "hand that bundle to this
tool", and each server replaces that with its own way in: upload via
`icp_deploy_upload` on a server with an upload store, the bundle's absolute
path as `bundle_path` on one without. The hosted server's text is what #266
wrote, with the tool name in backticks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
`imcp2 = "0.6"` matches 0.6.x only, and the README ships in the crate, so a
reader of 0.7.0's page would be told to depend on the release before it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
Review asked for the description's text back. The tool's description in
the source says step (2) as #266 wrote it, "upload that bundle via
icp_deploy_upload", and the hosted server lists it unchanged. Only a
server without an upload store, imcp2-local, puts "pass that bundle's
absolute path as `bundle_path`" in its place, since it lists no
icp_deploy_upload.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VP2vTGJNrpdaVxN1aY8XSX
@raymondk
raymondk requested review from a team and a max review from Copilot November 19, 2026 21:05
@raymondk raymondk mentioned this pull request Nov 19, 2026
6 of 8 tasks

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.

🟢 Approval recommended

No active review issues remain for the 0.7.0 version updates and deployment-instruction corrections.

No open issues 🎉

What changed in this PR

Prepares imcp2, imcp2-core, and imcp2-local for a 0.7.0 release candidate and restores accurate deployment instructions for the local server.

Changes:

  • Aligns crate versions, the workspace dependency requirement, and lockfile entries at 0.7.0.
  • Updates the README dependency example to use 0.7.
  • Corrects local bundle-path instructions while preserving hosted upload instructions, with test assertions for both server types.
File Description
README.md Updates the library dependency example to 0.7.
crates/​imcp2-local/​Cargo.toml Bumps the local server to 0.7.0.
crates/​imcp2-core/​src/​deploy/​mod.rs Fixes server-specific bundle instructions and updates regression assertions.
crates/​imcp2-core/​Cargo.toml Bumps the core crate to 0.7.0.
Cargo.toml Bumps the root crate and workspace core dependency to 0.7.0.
Cargo.lock Synchronizes all three workspace package versions.

Review effort: Max

@aterga
aterga merged commit e1909f3 into main Nov 19, 2026
17 checks passed
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