Commit ee0f551
committed
docs: add a "What's new in v2" page
Add docs/whats-new.md, a two-part tour for someone glancing at the v2
beta: the v1 -> v2 SDK changes (the MCPServer rename and what did not
change, the first-class Client, the rebuilt low-level Server, the
mcp-types split and snake_case fields, transport configuration moving to
run(), the behavior changes that arrive without an import error, and the
removals) and the 2025-11-25 -> 2026-07-28 protocol changes as this SDK
surfaces them (no handshake or session and what that means for
deployment, multi-round-trip requests replacing server-initiated
requests, the SEP-2577 deprecations and the ping removal,
subscriptions/listen, and the smaller items). Every section ends in a
link to the page that owns the topic; the only code is one rename fence
plus two existing, already tested docs_src includes.
Wire the page up: a top-level nav entry right after the index, links
from the docs home page and the README, and the page's path in the docs
example linter's allowlist so its fenced code is ruff-checked in CI.
Two behavior changes the page states had no entry in the migration
guide, so add them there too: sync def handlers now run on a worker
thread (Breaking Changes), and mcp dev / mcp install now pin the
spawned environment to the installed SDK version (Bug Fixes).1 parent 220d362 commit ee0f551
6 files changed
Lines changed: 177 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
709 | 729 | | |
710 | 730 | | |
711 | 731 | | |
| |||
1607 | 1627 | | |
1608 | 1628 | | |
1609 | 1629 | | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
1610 | 1640 | | |
1611 | 1641 | | |
1612 | 1642 | | |
| |||
0 commit comments