fastmcp/tests/deprecated
Jeremiah Lowin c452164e86
Fix concurrent proxy client operations with session isolation (#1083)
* Refactor Client session state with ClientSessionState dataclass

Fixes #1068 by introducing ClientSessionState to encapsulate session management
attributes, simplifying Client.new() and preventing concurrent proxy client
context mixing through client factory pattern.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update proxy documentation for new client factory pattern

Documents the new session management behavior, client_factory parameter,
and concurrent operation safety introduced in v2.10.3 to fix #1068.

* Remove deprecation of client parameter and update documentation

- Undeprecated FastMCPProxy client parameter
- Made client_factory the advanced option for custom control
- Added detailed explanation of how client factories work internally
- Removed outdated note about proxy feature limitations
- Removed fabricated Advanced Usage section

* Re-do proxy documentation

* Fix deprecated client parameter to provide session isolation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-08 17:22:43 -04:00
..
__init__.py Raise errors when deprecated routes are used 2025-06-04 12:05:40 -04:00
test_deprecated.py Add http as an alias for streamable http 2025-06-22 18:35:28 -04:00
test_mount_import_arg_order.py Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00
test_mount_separators.py Make prefixes optional 2025-06-18 11:28:24 -04:00
test_proxy_client.py Fix concurrent proxy client operations with session isolation (#1083) 2025-07-08 17:22:43 -04:00
test_resource_prefixes.py Fix import prefix behavior 2025-06-19 15:19:31 -04:00
test_route_type_ignore.py Raise errors when deprecated routes are used 2025-06-04 12:05:40 -04:00
test_settings.py Avoid propagating logs (#1042) 2025-07-04 12:22:11 -04:00