Skip to content

Conversation

@jlowin
Copy link
Owner

@jlowin jlowin commented Nov 1, 2025

This PR is a sink for all work related to 2.14 deprecations (closes #2176). Each deprecated issue should have a separate PR that gets merged into this branch, which must be periodically updated from main to fix conflicts. This branch should be ultimately merged with a merge commit, not a squash commit.

This branch should ONLY be merged ahead of 2.14's release, as the breaking changes should not be part of 2.13.x work.

@coderabbitai ignore

Note: #2175 is the most likely to create merge conflicts because it involves many file movements and risks missing enhancements to the experimental parser, so consider merging it later and separately from this branch

As a final check on this branch, review the tests/deprecated files / tests to make sure none were left residually

Closes #2176 (main issue)
Closes #2315 (via transitive #2185 / #2330)

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 1, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 2-14-deprecations

Comment @coderabbitai help to get the list of available commands and usage tips.

@marvin-context-protocol marvin-context-protocol bot added breaking change Breaks backward compatibility. Requires minor version bump. Critical for maintainer attention. enhancement Improvement to existing functionality. For issues and smaller PR improvements. labels Nov 1, 2025
@jlowin jlowin added the DON'T MERGE PR is not ready for merging. Used by authors to prevent premature merging. label Nov 1, 2025
@jlowin jlowin added this to the 2.14.0 Deprecations milestone Nov 1, 2025
jlowin added 14 commits November 1, 2025 12:07
* Remove test warnings (#2331)

* Create new branch and fix issue
* Remove deprecated run_sse_async method

* Update CLI and tests to use run_http_async(transport="sse")

- Change CLI to call run_http_async with transport="sse" instead of run_sse_async
- Update test to mock run_http_async with create=True for v1 servers

* Revert CLI changes - v1 servers do have run_sse_async

- Keep CLI calling run_sse_async() for v1 compatibility
- Update test to mock run_sse_async (which exists on v1)

* Remove unnecessary type ignore for run_sse_async

Method exists on v1 FastMCP class, no type error

* Remove unused imports after test deletion
* Remove deprecated client parameter from FastMCPProxy (#2333)

* Delete deprecated test_output_schema_false.py

Tests functionality that has been removed
…2342)

* Remove resource_prefix_format="protocol" support (fixes #2195)

Removes deprecated protocol format (prefix+resource://path) and keeps only
path format (resource://prefix/path). Since only one format remains:

- Removed resource_prefix_format from settings, FastMCP.__init__, and helpers
- Simplified add_resource_prefix, remove_resource_prefix, has_resource_prefix
- Removed MountedServer.resource_prefix_format field
- Deleted tests for protocol format

All resource prefixes now use path format exclusively.

* Clean up resource_prefix_format references

- Remove from test files
- Update documentation to remove protocol format section
- Move custom HTTP routes note to mounting section
- Remove resource_prefix_format from settings docs

* Use inline version note instead of badge for prefix format

* Remove obsolete test functions and update docs

- Delete test functions that no longer assert anything
- Remove proxy.mdx reference to deleted prefix format section

* Format error messages per ruff
* Remove deprecated from_client classmethod (fixes #2192)

* Remove unused Client import
@jlowin jlowin changed the title 2.14 deprecation removals [HOLD] 2.14 deprecation removals Nov 6, 2025
Resolved conflicts:
- docs/docs.json: Kept debug provider, removed bearer provider
- docs/python-sdk/fastmcp-server-server.mdx: Removed run_streamable_http_async
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Breaks backward compatibility. Requires minor version bump. Critical for maintainer attention. DON'T MERGE PR is not ready for merging. Used by authors to prevent premature merging. enhancement Improvement to existing functionality. For issues and smaller PR improvements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.env files don't work Tracking issue: deprecated features

2 participants