Skip to content

Version Packages (beta)#2

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages (beta)#2
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@modelcontextprotocol/client@2.0.0-beta.5

Minor Changes

  • #2501 1480241 Thanks @felixweinberger! - Export the Protocol base class and mergeCapabilities from the @modelcontextprotocol/client and @modelcontextprotocol/server package roots, restoring the v1 import for consumers that subclass Protocol (e.g. the MCP Apps SDK). The client and server packages each bundle their own compiled copy of the class, so import it from one package consistently within a process.

    The codemod now rewrites Protocol and mergeCapabilities imports from shared/protocol.js to the client or server package root, like the module's other symbols, instead of dropping them with an action-required marker.

  • #2511 f60dff0 Thanks @felixweinberger! - ConnectOptions.prior accepts a cached era verdict — the new exported type PriorDiscovery. { kind: 'modern', discover } adopts a previously obtained DiscoverResult with zero round trips; { kind: 'legacy' } skips the server/discover probe and runs the plain initialize handshake directly, for servers known out-of-band to be legacy — without pinning the client to mode: 'legacy': stop supplying the verdict and connect() falls back to the configured versionNegotiation mode (under 'auto', it re-probes and rediscovers an upgraded server). Freshness is the supplying host's responsibility — a stale legacy verdict succeeds silently against an upgraded server, so hosts must date cached legacy verdicts in their own storage and stop supplying them past their policy horizon. Persisted-blob plumbing is hardened: prior: null is treated as absent, the modern arm's discover payload is schema-validated before any connection state changes, and an unrecognized shape rejects with a typed SdkError(EraNegotiationFailed) instead of a TypeError.

Patch Changes

  • Updated dependencies []:
    • @modelcontextprotocol/core@2.0.0-beta.5

@modelcontextprotocol/server@2.0.0-beta.5

Minor Changes

  • #2501 1480241 Thanks @felixweinberger! - Export the Protocol base class and mergeCapabilities from the @modelcontextprotocol/client and @modelcontextprotocol/server package roots, restoring the v1 import for consumers that subclass Protocol (e.g. the MCP Apps SDK). The client and server packages each bundle their own compiled copy of the class, so import it from one package consistently within a process.

    The codemod now rewrites Protocol and mergeCapabilities imports from shared/protocol.js to the client or server package root, like the module's other symbols, instead of dropping them with an action-required marker.

Patch Changes

  • Updated dependencies []:
    • @modelcontextprotocol/core@2.0.0-beta.5

@modelcontextprotocol/codemod@2.0.0-beta.5

Patch Changes

  • #2501 1480241 Thanks @felixweinberger! - Export the Protocol base class and mergeCapabilities from the @modelcontextprotocol/client and @modelcontextprotocol/server package roots, restoring the v1 import for consumers that subclass Protocol (e.g. the MCP Apps SDK). The client and server packages each bundle their own compiled copy of the class, so import it from one package consistently within a process.

    The codemod now rewrites Protocol and mergeCapabilities imports from shared/protocol.js to the client or server package root, like the module's other symbols, instead of dropping them with an action-required marker.

@modelcontextprotocol/express@2.0.0-beta.5

Patch Changes

  • Updated dependencies [1480241]:
    • @modelcontextprotocol/server@2.0.0-beta.5

@modelcontextprotocol/fastify@2.0.0-beta.5

Patch Changes

  • Updated dependencies [1480241]:
    • @modelcontextprotocol/server@2.0.0-beta.5

@modelcontextprotocol/hono@2.0.0-beta.5

Patch Changes

  • Updated dependencies [1480241]:
    • @modelcontextprotocol/server@2.0.0-beta.5

@modelcontextprotocol/node@2.0.0-beta.5

Patch Changes

  • Updated dependencies [1480241]:
    • @modelcontextprotocol/server@2.0.0-beta.5

@modelcontextprotocol/server-legacy@2.0.0-beta.5

Patch Changes

  • Updated dependencies []:
    • @modelcontextprotocol/core@2.0.0-beta.5

@modelcontextprotocol/core@2.0.0-beta.5

@modelcontextprotocol/core-internal@2.0.0-beta.4

Minor Changes

  • #2501 1480241 Thanks @felixweinberger! - Export the Protocol base class and mergeCapabilities from the @modelcontextprotocol/client and @modelcontextprotocol/server package roots, restoring the v1 import for consumers that subclass Protocol (e.g. the MCP Apps SDK). The client and server packages each bundle their own compiled copy of the class, so import it from one package consistently within a process.

    The codemod now rewrites Protocol and mergeCapabilities imports from shared/protocol.js to the client or server package root, like the module's other symbols, instead of dropping them with an action-required marker.

Patch Changes

  • Updated dependencies []:
    • @modelcontextprotocol/core@2.0.0-beta.5

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 4 times, most recently from 0dc45b6 to b598c15 Compare July 7, 2026 17:51
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from b598c15 to 310933e Compare July 17, 2026 15:35
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 310933e to 94c73b5 Compare July 17, 2026 22:40
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.

0 participants