Skip to content

Commit 2126a9d

Browse files
docs(migration): IsomorphicHeaders removed (no @deprecated alias); align :251 with removed-aliases table
1 parent 5b01075 commit 2126a9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Note: `AuthInfo` has moved from `server/auth/types.ts` to the core types and is
248248

249249
### `Headers` object instead of plain objects
250250

251-
Transport APIs and `RequestInfo.headers` now use the Web Standard `Headers` object instead of plain `Record<string, string | string[] | undefined>`. The `IsomorphicHeaders` type is still exported as a `@deprecated` alias for `Headers`.
251+
Transport APIs and `RequestInfo.headers` now use the Web Standard `Headers` object instead of plain `Record<string, string | string[] | undefined>`. The `IsomorphicHeaders` type alias has been removed; the codemod (`mcp-codemod v1-to-v2`) rewrites it to `Headers`.
252252

253253
This affects both transport constructors and request handler code that reads headers:
254254

0 commit comments

Comments
 (0)