Commit graph

12 commits

Author SHA1 Message Date
Jeremiah Lowin
cdbe4d9a1d
Remove deprecated streamable_http_app method (#2336) 2025-11-01 15:46:21 -04:00
Jeremiah Lowin
b78ed5a9a8
Remove deprecated run_sse_async method (#2335)
* 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
2025-11-01 15:40:06 -04:00
Jeremiah Lowin
6ea606a98d
Remove deprecated sse_app method (#2337) 2025-11-01 15:28:35 -04:00
Jeremiah Lowin
85ceda1d89
Remove deprecated run_streamable_http_async method (#2338) 2025-11-01 15:19:59 -04:00
Jeremiah Lowin
9b85d492e8 Add http as an alias for streamable http 2025-06-22 18:35:28 -04:00
Jeremiah Lowin
084e52badd Consolidate prefix logic 2025-06-17 20:23:47 -04:00
Jeremiah Lowin
e82cd9f742 Make deprecation warnings visible and controllable 2025-06-11 10:13:01 -04:00
Jeremiah Lowin
099d340208 Update tests for prompts 2025-06-04 16:37:41 -04:00
Jeremiah Lowin
18615bc48b Remove empty parens 2025-06-04 15:41:28 -04:00
Jeremiah Lowin
29eb9af467 Raise errors when deprecated routes are used 2025-06-04 12:05:40 -04:00
Jeremiah Lowin
452686d858 Update test_deprecated.py 2025-06-02 18:17:17 -04:00
Jeremiah Lowin
cec40ddfea Remove customizable separators; improve resource separator 2025-05-20 20:30:33 -04:00
Renamed from tests/test_deprecated.py (Browse further)