chore(deps): bump @modelcontextprotocol/sdk from 1.29.0 to 1.31.0 in /packages/opencode
Bumps @modelcontextprotocol/sdk from 1.29.0 to 1.31.0.
Release notes
Sourced from @modelcontextprotocol/sdk's releases.
1.31.0
Upgrade notes
- Stored OAuth tokens and client information now include an
issuerfield. Storage that rejects unknown fields needs to allow it.- Pass
expectedIssuerwhen constructingClientCredentialsProvider,PrivateKeyJwtProviderorStaticPrivateKeyJwtProvider. Constructing them without it is deprecated.What's Changed
- [v1.x] Bind stored OAuth credentials to the authorization server that issued them by
@maxisbeyin modelcontextprotocol/typescript-sdk#2888- chore: bump version to 1.31.0 by
@claude[bot] in modelcontextprotocol/typescript-sdk#2890Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.30.1...1.31.0
1.30.1
What's Changed
- [v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON-RPC batch length by
@maxisbeyin modelcontextprotocol/typescript-sdk#2717- fix(auth): preserve resource URI without trailing slash (#1968) by
@MukundaKattain modelcontextprotocol/typescript-sdk#1972- chore: bump version to 1.30.1 by
@claude[bot] in modelcontextprotocol/typescript-sdk#2848New Contributors
@MukundaKattamade their first contribution in modelcontextprotocol/typescript-sdk#1972Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.30.0...1.30.1
1.30.0
What's Changed
- fix(server): prioritize zod issues and format them by
@mozmo15in modelcontextprotocol/typescript-sdk#1503- chore(ci): switch publish to OIDC trusted publishing by
@felixweinbergerin modelcontextprotocol/typescript-sdk#1839- Add end-to-end test suite by
@felixweinbergerin modelcontextprotocol/typescript-sdk#2167- v1 stdio buffer limit by
@KKonstantinovin modelcontextprotocol/typescript-sdk#2239- fix: support Zod 3.25 method literals by
@mattzcareyin modelcontextprotocol/typescript-sdk#2368- Validate Content-Type by parsed media type instead of substring match (v1.x) by
@felixweinbergerin modelcontextprotocol/typescript-sdk#2444- fix: send SSE keep-alive comment frames from Streamable HTTP server transport (v1.x) by
@mattzcareyin modelcontextprotocol/typescript-sdk#2538- fix(deps): widen
@hono/node-serverpast GHSA-frvp-7c67-39w9 by@arimu1in modelcontextprotocol/typescript-sdk#2549- Fix SSE keep-alive timer lifecycle in Streamable HTTP server transport (v1.x) by
@felixweinbergerin modelcontextprotocol/typescript-sdk#2547- chore: bump version to 1.30.0 by
@felixweinbergerin modelcontextprotocol/typescript-sdk#2563New Contributors
@mozmo15made their first contribution in modelcontextprotocol/typescript-sdk#1503@arimu1made their first contribution in modelcontextprotocol/typescript-sdk#2549Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.29.0...1.30.0
Commits
4b0051fchore: bump version to 1.31.0 (#2890)51ad4f0[v1.x] Bind stored OAuth credentials to the authorization server that issued ...289ac2cchore: bump version to 1.30.1 (#2848)12b4256fix(auth): preserve resource URI without trailing slash (#1968) (#1972)a9f6eb7[v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON...2d889f2chore: bump version to 1.30.0 (#2563)e3f3daaFix SSE keep-alive timer lifecycle in Streamable HTTP server transport (v1.x)...bb5a718fix(deps): widen@hono/node-serverpast GHSA-frvp-7c67-39w9 (#2549)1dad263fix: send SSE keep-alive comment frames from Streamable HTTP server transport...69749aaValidate Content-Type by parsed media type instead of substring match (v1.x) ...- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for @modelcontextprotocol/sdk since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Bumps @modelcontextprotocol/sdk from 1.29.0 to 1.31.0 in packages/opencode, picking up server hardening (request body size limits and JSON-RPC batch length bounds) and OAuth credential changes.
Migration
- Stored OAuth credentials now include an
issuerfield; any storage that rejects unknown fields must allow it. - Construct
ClientCredentialsProvider,PrivateKeyJwtProvider, andStaticPrivateKeyJwtProviderwithexpectedIssuer(deprecated without it).