Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 9a57629 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@modelcontextprotocol/client
@modelcontextprotocol/codemod
@modelcontextprotocol/core
@modelcontextprotocol/server
@modelcontextprotocol/server-legacy
@modelcontextprotocol/express
@modelcontextprotocol/fastify
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
|
Read the diff (suite not run). Dropping |
Protocolconverts incoming response IDs and progress tokens withNumber(). A reply withid: "0"can therefore complete a pending request with numeric ID0; string progress tokens can also reach a callback registered under numeric token0.Keep the original values for handler and timeout lookups. Unmatched messages follow the existing error path while the request remains available for its matching reply. A peer that previously answered numeric request
0with string"0"must now preserve the numeric type. This removes the previous leniency; the changeset labels it as a patch.This revisits the type-preserving changes proposed in #1775, which was closed over its large-number precision premise. These public-client tests demonstrate incorrect request correlation; JSON number parsing remains unchanged.
Validation after merging main
951fe560, using its frozen lockfile with Node 24.22.1 and pnpm 10.26.1 on macOS arm64:id: nullcase is a control: the existing message schema rejects it before correlation.Full monorepo checks and production builds were not run. Tests use source aliases rather than existing distribution files. The client HTTP/SSE tests require localhost binding; the initial sandbox run was interrupted after an
EPERMprobe, then the same suite passed with local port access.AI assistance: Codex assisted with implementation, tests and automated review.