Skip to content

Release v2.0.0-rc.2 - #1757

Merged
jeffhandley merged 1 commit into
mainfrom
release-2.0.0-rc.2
Jul 28, 2026
Merged

Release v2.0.0-rc.2#1757
jeffhandley merged 1 commit into
mainfrom
release-2.0.0-rc.2

Conversation

@jeffhandley

Copy link
Copy Markdown
Contributor

Release v2.0.0-rc.2

This second 2.0 release candidate advances the SDK’s 2026-07-28 protocol support, completes Tasks extension conformance, and strengthens OAuth and transport behavior ahead of general availability. Thank you to the community for using the preview and release-candidate builds and for sharing feedback and issue reports that shape this release.

Release Notes

Breaking Changes

Refer to the C# SDK Versioning documentation for details on versioning and breaking-change policies.

  1. Align the 2026-07-28 wire protocol and SEP-2575 HTTP statuses Align the 2026-07-28 wire with spec PR #3002 and SEP-2575 HTTP statuses #1752
    • Aligns with protocol adjustment #3002.
    • DiscoverResult.ServerInfo is removed; read and deserialize Meta[MetaKeys.ServerInfo] instead.
    • On 2026-07-28, replace legacy initialization, ping, logging, and resource-subscription methods with server/discover, _meta log level, and subscriptions/listen.
  2. Validate OAuth authorization state Validate OAuth authorization state #1726
    • Custom authorization callback handlers must propagate the redirect state through AuthorizationResult.State, and should return Code, State, and Iss.
  3. Fix SSE session transport shutdown behavior Fix: swallow _receiveTask exceptions in SseClientSessionTransport.CloseAsync #1432
    • Handle the underlying transport exception rather than depending on an IOException wrapper.

What's Changed

Test Improvements

Repository Infrastructure Updates

Acknowledgements

Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2


API Compatibility Report

Package validation completed without compatibility diagnostics or new suppressions.

API Diff Report

ModelContextProtocol.Core

+ AuthorizationResult.State
- DiscoverResult.ServerInfo
+ MetaKeys.ServerInfo
+ StreamableHttpServerTransport.HandlePostRequestAsync(...)

ModelContextProtocol

No standalone public API changes.

ModelContextProtocol.AspNetCore

No standalone public API changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: e31bd0cf-94a1-4e19-a813-4ede39853d7a
Comment thread docs/versioning.md
@jeffhandley
jeffhandley merged commit 6e2f285 into main Jul 28, 2026
17 of 18 checks passed
@jeffhandley
jeffhandley deleted the release-2.0.0-rc.2 branch July 28, 2026 03:12
@jeffhandley jeffhandley mentioned this pull request Jul 28, 2026
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.

2 participants