Skip to content

Commit 56f4c20

Browse files
Version Packages (alpha)
1 parent 42cb6b2 commit 56f4c20

7 files changed

Lines changed: 50 additions & 4 deletions

File tree

.changeset/pre.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,29 @@
3131
"busy-weeks-hang",
3232
"cyan-cycles-pump",
3333
"drop-zod-peer-dep",
34+
"export-inmemory-transport",
3435
"expose-auth-server-discovery",
3536
"extract-task-manager",
3637
"fast-dragons-lead",
3738
"finish-sdkerror-capability",
3839
"fix-abort-listener-leak",
40+
"fix-failed-task-result-retrieval",
3941
"fix-oauth-5xx-discovery",
4042
"fix-onerror-callbacks",
4143
"fix-server-protocol-version",
4244
"fix-session-status-codes",
4345
"fix-stdio-epipe-crash",
4446
"fix-stdio-windows-hide",
47+
"fix-streamable-close-reentrant",
4548
"fix-streamable-http-error-response",
4649
"fix-task-session-isolation",
4750
"fix-transport-exact-optional-property-types",
4851
"fix-unknown-tool-protocol-error",
52+
"fix-validate-client-metadata-url",
4953
"funky-baths-attack",
5054
"heavy-walls-swim",
5155
"oauth-error-http200",
56+
"odd-forks-enjoy",
5257
"quick-islands-occur",
5358
"reconnection-scheduler",
5459
"remove-websocket-transport",
@@ -63,6 +68,7 @@
6368
"tender-snails-fold",
6469
"token-provider-composable-auth",
6570
"twelve-dodos-taste",
66-
"use-scopes-supported-in-dcr"
71+
"use-scopes-supported-in-dcr",
72+
"zod-json-schema-compat"
6773
]
6874
}

packages/client/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @modelcontextprotocol/client
22

3+
## 2.0.0-alpha.3
4+
5+
### Minor Changes
6+
7+
- [#1653](https://github.com/modelcontextprotocol/typescript-sdk/pull/1653) [`6bec24a`](https://github.com/modelcontextprotocol/typescript-sdk/commit/6bec24a14cb7e3dbe9f5e04aeb893cd0d6e8cb83) Thanks [@rechedev9](https://github.com/rechedev9)! - Add `validateClientMetadataUrl()`
8+
utility for early validation of `clientMetadataUrl`
9+
10+
Exports a `validateClientMetadataUrl()` function that `OAuthClientProvider` implementations can call in their constructors to fail fast on invalid URL-based client IDs, instead of discovering the error deep in the auth flow.
11+
12+
### Patch Changes
13+
14+
- [#1834](https://github.com/modelcontextprotocol/typescript-sdk/pull/1834) [`42cb6b2`](https://github.com/modelcontextprotocol/typescript-sdk/commit/42cb6b2b728347d8b58a0d1940b7e63366a29ab9) Thanks [@felixweinberger](https://github.com/felixweinberger)! - Export
15+
`InMemoryTransport` for in-process testing.
16+
17+
- [#1655](https://github.com/modelcontextprotocol/typescript-sdk/pull/1655) [`1eb3123`](https://github.com/modelcontextprotocol/typescript-sdk/commit/1eb31236e707c4f4ab9234d87db21ab3f34bf0bc) Thanks [@nielskaspers](https://github.com/nielskaspers)! - fix(client): append custom
18+
Accept headers to spec-required defaults in StreamableHTTPClientTransport
19+
20+
Custom Accept headers provided via `requestInit.headers` are now appended to the spec-mandated Accept types instead of being overwritten. This ensures the required media types (`application/json, text/event-stream` for POST; `text/event-stream` for GET SSE) are always present
21+
while allowing users to include additional types for proxy/gateway routing.
22+
323
## 2.0.0-alpha.2
424

525
### Patch Changes

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/client",
3-
"version": "2.0.0-alpha.2",
3+
"version": "2.0.0-alpha.3",
44
"description": "Model Context Protocol implementation for TypeScript - Client package",
55
"license": "MIT",
66
"author": "Anthropic, PBC (https://anthropic.com)",

packages/core/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @modelcontextprotocol/core
22

3+
## 2.0.0-alpha.2
4+
5+
### Patch Changes
6+
7+
- [#1930](https://github.com/modelcontextprotocol/typescript-sdk/pull/1930) [`bdfd7f0`](https://github.com/modelcontextprotocol/typescript-sdk/commit/bdfd7f0154e2afd4fd6d2e95e6aadd924c3775f2) Thanks [@Christian-Sidak](https://github.com/Christian-Sidak)! - Fix `requestStream` to
8+
call `tasks/result` for failed tasks instead of yielding a hardcoded `ProtocolError`. When a task reaches the `failed` terminal status, the stream now retrieves and yields the actual stored result (matching the behavior for `completed` tasks), as required by the spec.
9+
10+
- [#1768](https://github.com/modelcontextprotocol/typescript-sdk/pull/1768) [`866c08d`](https://github.com/modelcontextprotocol/typescript-sdk/commit/866c08d3640c5213f80c3b4220e24c42acfc2db8) Thanks [@felixweinberger](https://github.com/felixweinberger)! - Allow additional JSON
11+
Schema properties in elicitInput's requestedSchema type by adding .catchall(z.unknown()), matching the pattern used by inputSchema. This fixes type incompatibility when using Zod v4's .toJSONSchema() output which includes extra properties like $schema and additionalProperties.
12+
313
## 2.0.0-alpha.1
414

515
### Minor Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@modelcontextprotocol/core",
33
"private": true,
4-
"version": "2.0.0-alpha.1",
4+
"version": "2.0.0-alpha.2",
55
"description": "Model Context Protocol implementation for TypeScript - Core package",
66
"license": "MIT",
77
"author": "Anthropic, PBC (https://anthropic.com)",

packages/server/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @modelcontextprotocol/server
22

3+
## 2.0.0-alpha.3
4+
5+
### Patch Changes
6+
7+
- [#1834](https://github.com/modelcontextprotocol/typescript-sdk/pull/1834) [`42cb6b2`](https://github.com/modelcontextprotocol/typescript-sdk/commit/42cb6b2b728347d8b58a0d1940b7e63366a29ab9) Thanks [@felixweinberger](https://github.com/felixweinberger)! - Export
8+
`InMemoryTransport` for in-process testing.
9+
10+
- [#1788](https://github.com/modelcontextprotocol/typescript-sdk/pull/1788) [`df4b6cc`](https://github.com/modelcontextprotocol/typescript-sdk/commit/df4b6cc88d6f24fc857519cf506a7a039f532637) Thanks [@claygeo](https://github.com/claygeo)! - Prevent stack overflow in
11+
StreamableHTTPServerTransport.close() with re-entrant guard
12+
313
## 2.0.0-alpha.2
414

515
### Patch Changes

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server",
3-
"version": "2.0.0-alpha.2",
3+
"version": "2.0.0-alpha.3",
44
"description": "Model Context Protocol implementation for TypeScript - Server package",
55
"license": "MIT",
66
"author": "Anthropic, PBC (https://anthropic.com)",

0 commit comments

Comments
 (0)