Skip to content

Remove deprecated taskId from cancellation notification - #1833

Merged
localden merged 4 commits into
modelcontextprotocol:mainfrom
LucaButBoring:fix/cancel-task
Nov 20, 2025
Merged

Remove deprecated taskId from cancellation notification#1833
localden merged 4 commits into
modelcontextprotocol:mainfrom
LucaButBoring:fix/cancel-task

Conversation

@LucaButBoring

Copy link
Copy Markdown
Contributor

During #1732, task cancellation was moved from notifications/cancelled to a new tasks/cancel request. The taskId added to notifications/cancelled was incorrectly immediately deprecated instead of removed.

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@LucaButBoring
LucaButBoring requested a review from a team as a code owner November 18, 2025 17:47
@He-Pin

He-Pin commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

lgtm, nice clean up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rc-high-priority Related to an upcoming specification release and needs to be addressed with a high priority.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants