Skip to content

[P22] release: prepare 1.0.0 - #349

Merged
jeanmatthieu merged 6 commits into
rel/1.0.0from
conformance/p22-release
Nov 25, 2026
Merged

jeanmatthieu merged 6 commits into
rel/1.0.0from
conformance/p22-release

Conversation

@jeanmatthieu

@jeanmatthieu jeanmatthieu commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor
Part P22 of P0–P35, merged into rel/1.0.0 in order (previous: P21 (#350) · next: P23 (#348))
Branch conformance/p22-release
Base conformance/p21-stability (stacked: GitHub retargets this PR to rel/1.0.0 when the previous part merges)
Commits 6ee8bc1 release: prepare 1.0.0
aea59e3 release: review fixes
2239d43 release: second-pass review fixes
732c5f2 release: list Transport.send(_:additionalHeaders:) in the 1.0.0 features
76b2379 docs: HTTPClientAuthorizer's sentAuthorization variant returns HTTPChallengeResult
43dd677 release: third-pass review fixes
Size 17 files, +556 / -96

Summary

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

Path What
CHANGELOG.md (new) Release notes for 1.0.0: breaking changes, features, fixes, dependencies, deprecations, with links to the migration guide and the roadmap
docs/src/migration.src.md From 0.12 (main at 2a44bfd) to 1.0.0. Three source breaks the API digester found that the guide did not mention: Elicitation.Mode(rawValue:) and ToolChoice.Mode(rawValue:) are not optional, PrivateKeyJWTSigningAlgorithm(rawValue:) is not public, and BearerTokenValidationResult is not pattern-matched
VERSIONING.md The 0.x rule is gone: depend with .upToNextMajor(from: "1.0.0"); the deprecation example is Version.latest; release notes go in CHANGELOG.md
README.src.md, docs/src/quick_start.src.md Install snippets .upToNextMajor(from: "1.0.0")
ROADMAP.md, DEPENDENCY_POLICY.md, design/auth.md, design/design.md 0.13.0 becomes 1.0.0. design/design.md lists the 1.0 breaking changes of P19 (#352) to P21 (#350)
README.src.md, docs/src/README.src.md Link CHANGELOG.md
README.md, docs/*.md Woven

API audit

swift package diagnose-api-breaking-changes 33a591d --products MCP (the base before the
rebase onto 2a44bfd, whose two commits change no public API) reports 147 changes. Most
are 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 above
failed, and each is now in the guide. The rest of the report matches the guide's breaking
changes.

Review notes

  • Preconditions in the plan that are not met: the stack is not merged, the conformance harness
    is still 0.2.0-alpha.11, and 2026-07-28 is not final. Do not tag before they are.
  • After the tag, api-breakage compares every change with 1.0.0.

Verification

swift scripts/weave.swift --check; scripts/ci/run-jobs.sh docs (DocC with warnings as
errors, doc coverage); swift build --build-tests. No 0.13 remains in the sources of the
docs.


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.

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.
varun06
varun06 previously approved these changes Nov 25, 2026

@varun06 varun06 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looking good.

Base automatically changed from conformance/p21-stability to rel/1.0.0 November 25, 2026 12:45
@jeanmatthieu
jeanmatthieu dismissed varun06’s stale review November 25, 2026 12:45

The base branch was changed.

@canarik canarik 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.

Thank you @jeanmatthieu

@jeanmatthieu
jeanmatthieu merged commit faacc68 into rel/1.0.0 Nov 25, 2026
@jeanmatthieu
jeanmatthieu deleted the conformance/p22-release branch November 25, 2026 12:47
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.

3 participants