Skip to content

Commit f632488

Browse files
Version Packages (alpha)
1 parent bdfd7f0 commit f632488

7 files changed

Lines changed: 43 additions & 4 deletions

File tree

.changeset/pre.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,23 @@
3636
"fast-dragons-lead",
3737
"finish-sdkerror-capability",
3838
"fix-abort-listener-leak",
39+
"fix-failed-task-result-retrieval",
3940
"fix-oauth-5xx-discovery",
4041
"fix-onerror-callbacks",
4142
"fix-server-protocol-version",
4243
"fix-session-status-codes",
4344
"fix-stdio-epipe-crash",
4445
"fix-stdio-windows-hide",
46+
"fix-streamable-close-reentrant",
4547
"fix-streamable-http-error-response",
4648
"fix-task-session-isolation",
4749
"fix-transport-exact-optional-property-types",
4850
"fix-unknown-tool-protocol-error",
51+
"fix-validate-client-metadata-url",
4952
"funky-baths-attack",
5053
"heavy-walls-swim",
5154
"oauth-error-http200",
55+
"odd-forks-enjoy",
5256
"quick-islands-occur",
5357
"reconnection-scheduler",
5458
"remove-websocket-transport",
@@ -63,6 +67,7 @@
6367
"tender-snails-fold",
6468
"token-provider-composable-auth",
6569
"twelve-dodos-taste",
66-
"use-scopes-supported-in-dcr"
70+
"use-scopes-supported-in-dcr",
71+
"zod-json-schema-compat"
6772
]
6873
}

packages/client/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
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+
- [#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
15+
Accept headers to spec-required defaults in StreamableHTTPClientTransport
16+
17+
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
18+
while allowing users to include additional types for proxy/gateway routing.
19+
320
## 2.0.0-alpha.2
421

522
### 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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @modelcontextprotocol/server
22

3+
## 2.0.0-alpha.3
4+
5+
### Patch Changes
6+
7+
- [#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
8+
StreamableHTTPServerTransport.close() with re-entrant guard
9+
310
## 2.0.0-alpha.2
411

512
### 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)