Merge pull request #516 from jlowin/prep-release

Update release numbers for anticipated version
This commit is contained in:
Jeremiah Lowin 2025-05-20 10:50:41 -04:00 committed by GitHub
commit c6e3c16b11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ This command runs the server directly in your current Python environment. You ar
| Log Level | `--log-level`, `-l` | Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
#### Server Specification
<VersionBadge version="2.4.0" />
<VersionBadge version="2.3.5" />
The server can be specified in three ways:
1. `server.py` - imports the module and looks for a FastMCP object named `mcp`, `server`, or `app`. Errors if no such object is found.

View file

@ -1145,7 +1145,7 @@ class FastMCP(Generic[LifespanResultT]):
"""
Create a FastMCP proxy server from a FastMCP client.
"""
# Deprecated since 2.4.0
# Deprecated since 2.3.5
warnings.warn(
"FastMCP.from_client() is deprecated; use FastMCP.as_proxy() instead.",
DeprecationWarning,