Skip to content

refactor!: remove deprecated v3 APIs - #1066

Merged
DaleSeo merged 1 commit into
mainfrom
drop-deprecated-apis-v3
Jul 28, 2026
Merged

refactor!: remove deprecated v3 APIs#1066
DaleSeo merged 1 commit into
mainfrom
drop-deprecated-apis-v3

Conversation

@DaleSeo

@DaleSeo DaleSeo commented Jul 28, 2026

Copy link
Copy Markdown
Member

Motivation and Context

The v3 release is the appropriate breaking-change window to remove compatibility APIs that have completed their deprecation cycle. This PR removes deprecated aliases, obsolete builder helpers, and unreachable error variants whose replacements have been available since before v3. It retians protocol compatibility APIs that are still needed, including deprecations introduced for the 2026-07-28 spec.

How Has This Been Tested?

All tests are still passing. Reviewers can verify the change.

Breaking Changes

Yes. Code using removed aliases must migrate to their established replacements, such as plural *Params names, Elicit*, ResourceTemplateReference, SamplingMessageContentBlock, PrimitiveSchemaDefinition, MetaObject, and ErrorData. Callers of the removed enum builder shortcuts should use required_enum_schema or optional_enum_schema, and callers of TokioChildProcess::split should use its Transport implementation.

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

@github-actions github-actions Bot added T-test Testing related changes T-core Core library changes T-model Model/data structure changes T-service Service layer changes T-transport Transport layer changes labels Jul 28, 2026
@DaleSeo
DaleSeo force-pushed the drop-deprecated-apis-v3 branch from 030dcb5 to 2acc3a1 Compare July 28, 2026 12:20
@github-actions github-actions Bot added the T-handler Handler implementation changes label Jul 28, 2026
@DaleSeo DaleSeo self-assigned this Jul 28, 2026
@DaleSeo
DaleSeo marked this pull request as ready for review July 28, 2026 13:03
@DaleSeo
DaleSeo requested a review from a team as a code owner July 28, 2026 13:03
@DaleSeo
DaleSeo force-pushed the drop-deprecated-apis-v3 branch from 2acc3a1 to f27bc8c Compare July 28, 2026 13:18

@tsarlandie-oai tsarlandie-oai 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.

LGTM

@DaleSeo DaleSeo changed the title refactor: remove deprecated v3 APIs refactor!: remove deprecated v3 APIs Jul 28, 2026
@DaleSeo
DaleSeo force-pushed the drop-deprecated-apis-v3 branch from f27bc8c to b3053e7 Compare July 28, 2026 15:10
@DaleSeo
DaleSeo merged commit 25213a2 into main Jul 28, 2026
22 checks passed
@DaleSeo
DaleSeo deleted the drop-deprecated-apis-v3 branch July 28, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-core Core library changes T-handler Handler implementation changes T-model Model/data structure changes T-service Service layer changes T-test Testing related changes T-transport Transport layer changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants