Skip to content

Reply to @jeffhandley: Summarize breaking changes as API and behavioral bullets#1312

Closed
Copilot wants to merge 1 commit intombuck/session-migration-handlerfrom
copilot/sub-pr-1270
Closed

Reply to @jeffhandley: Summarize breaking changes as API and behavioral bullets#1312
Copilot wants to merge 1 commit intombuck/session-migration-handlerfrom
copilot/sub-pr-1270

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

@jeffhandley requested a summary of breaking changes introduced by the session migration PR. Replied to the PR comment with structured bullets covering:

  • Behavioral: Stateful-mode POST requests without Mcp-Session-Id now return 400 unless the body is an initialize request.
  • API (breaking): StreamableHttpServerTransport.HandleInitRequestAsync promoted to public; ClaimsPrincipal? user parameter removed. SessionMigrationHandler property replaced by OnSessionInitialized (Func<InitializeRequestParams, CancellationToken, ValueTask>).
  • API (additive): New ISessionMigrationHandler interface in ModelContextProtocol.AspNetCore; new McpServerOptions.KnownClientCapabilities property.

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add ISessionMigrationHandler to support session migration Reply to @jeffhandley: Summarize breaking changes as API and behavioral bullets Feb 19, 2026
Copilot AI requested a review from jeffhandley February 19, 2026 16:42
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

Comments