Repository navigation
[P22] release: prepare 1.0.0 - #349
Merged
Merged
Conversation
The text of the 1.0.0 release. There is no 0.13.0: the next tag is 1.0.0. Text only; no code changes. Tagging comes later.
- Use 0.12.1 (a0ae212) as the baseline of the release notes, the migration guide, VERSIONING.md and the docs index, and describe the commits merged to main after it: data URL parsing, client_secret_basic percent-encoding, the PKCE verifier distribution, the redirect URI port warning, and the commits that change no behavior. - Point the migration guide's opening to the summary table and the breaking changes section instead of naming only some of the areas. - List the behavior changes that can break working code under Breaking changes in CHANGELOG.md: MCPError decoding and error codes, .none(clientID:) without registration, issuer mismatch, and the -32600 for handshake requests behind StatelessHTTPServerTransport with only an initialize hook. - Cover the behavior and API changes of the earlier review fixes in the changelog and the migration guide: data: strings kept as sent, decoded errors equal to the sent ones, the server ping answer, pending requests failing when the transport stream ends, connect on a connected client, the stateless hook for sessionless handshake requests, the end of a cancelled stateless request, the SSE size limits, a 404 on the GET stream, the sent Authorization passed to handleChallenge, HTTPStatusError's debugDescription, the OAuth challenge, renewal, registration, private address and [::1] changes, BearerTokenValidationResult.tokenInfo, HTTPClientTransport.cancelRequest and the swift-docc-plugin floor 1.4.0. - Release notes and migration guide: based on main up to 727175f; the seven main commits after 2a44bfd (#311, #305, #227, #226, #258, #283, #297) are described; design.md no longer says Server.init cannot set description, websiteUrl and icons; protocol.md says what stdio disconnect() restores.
- CHANGELOG.md: list under Breaking changes that Version.supported contains 2026-07-28, with Version.handshake for the initialize revisions. VERSIONING.md classes adding a revision to Version.supported as major, and the migration guide already lists it.
The 1.0.0 features list the new Transport requirement send(_:additionalHeaders:) and its default, through which the client passes the SEP-2243 Mcp-Param-* headers of a tools/call to any transport, not only HTTPClientTransport.
…allengeResult The migration guide's summary row and HTTPClientAuthorizer section, and the CHANGELOG entry for the new requirement, said it returns Bool. It returns HTTPChallengeResult, whose isDPoPNonceRetry tells the transport which retry answers a use_dpop_nonce challenge (RFC 9449 §9); the default calls the Bool method and reads the challenge with the default parser.
- docs/src/migration.src.md: a 404 to a session's GET stream stops the stream without reopening it and keeps the session ID; the next request carries it, receives the server's 404 and reports isSessionExpired. The bullet said the session ID was dropped, the opposite of HTTPClientTransport.startListeningForServerEvents and of HTTPClientReliabilityTests. - CHANGELOG.md, design/design.md, docs/src/migration.src.md: name 234e412, the merge base of the stack with main and main's head, as the last main commit in 1.0.0 instead of 727175f, which left out eight commits. The migration guide and the changelog list the NetworkTransport fixes among them, the heartbeats that stop after a failed connection closes (#326) and the state update handler cleared on the actor's executor (#301), and the guide lists the other six (#318, #320, #325, #329, #331, #333) with the commits that change no behavior. - design/design.md, design/request_headers.md: Client hands the Mcp-Param-* headers to any transport through Transport.send(_:additionalHeaders:) and downcasts to HTTPClientTransport only for cancellation at 2026-07-28, the protocol version and the sign-in timeout. The notes still said it downcast for the headers, and request_headers.md listed the Transport requirement as rejected.
This was referenced Nov 25, 2026
Merged
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.
rel/1.0.0in order (previous: P21 (#350) · next: P23 (#348))conformance/p22-releaseconformance/p21-stability(stacked: GitHub retargets this PR torel/1.0.0when the previous part merges)6ee8bc1release: prepare 1.0.0aea59e3release: review fixes2239d43release: second-pass review fixes732c5f2release: list Transport.send(_:additionalHeaders:) in the 1.0.0 features76b2379docs: HTTPClientAuthorizer's sentAuthorization variant returns HTTPChallengeResult43dd677release: third-pass review fixesSummary
The text of the 1.0.0 release. There is no 0.13.0: the next tag is 1.0.0. Text only; no code
changes. Tagging comes after the stack merges.
Changes
CHANGELOG.md(new)docs/src/migration.src.mdmainat2a44bfd) to 1.0.0. Three source breaks the API digester found that the guide did not mention:Elicitation.Mode(rawValue:)andToolChoice.Mode(rawValue:)are not optional,PrivateKeyJWTSigningAlgorithm(rawValue:)is not public, andBearerTokenValidationResultis not pattern-matchedVERSIONING.md.upToNextMajor(from: "1.0.0"); the deprecation example isVersion.latest; release notes go inCHANGELOG.mdREADME.src.md,docs/src/quick_start.src.md.upToNextMajor(from: "1.0.0")ROADMAP.md,DEPENDENCY_POLICY.md,design/auth.md,design/design.mddesign/design.mdlists the 1.0 breaking changes of P19 (#352) to P21 (#350)README.src.md,docs/src/README.src.mdCHANGELOG.mdREADME.md,docs/*.mdAPI audit
swift package diagnose-api-breaking-changes 33a591d --products MCP(the base before therebase onto
2a44bfd, whose two commits change no public API) reports 147 changes. Mostare source-compatible: initializers that gained defaulted parameters, enum cases that became
static members of an open struct. A probe compiled the 0.12 spelling of each reported
initializer and method against this branch (
import MCP, no@testable); only the three abovefailed, and each is now in the guide. The rest of the report matches the guide's breaking
changes.
Review notes
is still
0.2.0-alpha.11, and 2026-07-28 is not final. Do not tag before they are.api-breakagecompares every change with 1.0.0.Verification
swift scripts/weave.swift --check;scripts/ci/run-jobs.sh docs(DocC with warnings aserrors, doc coverage);
swift build --build-tests. No0.13remains in the sources of thedocs.
AI usage disclosure: the changes, the tests, the commit messages and this description were written with Claude Opus 5.5 and reviewed by the authors.