Release / / with @upstash/[email protected], [email protected], mcpb-v4.1.2, [email protected], @upstash/[email protected], mcpb-v4.1.3, @upstash/[email protected], mcpb-v4.2.0, @upstash/[email protected], [email protected], mcpb-v4.2.1, [email protected], @upstash/[email protected], @upstash/[email protected], mcpb-v4.3.0, [email protected]
Context7 @upstash/[email protected]
Prioritize documentation examples in your programming language.
Before you upgrade to @upstash/[email protected]
3 to fixSupply credentials for HTTP `/mcp`, now required by default. Use OAuth access tokens rather than Clerk ID/session JWTs, which return 401. Operators can set `MCP_AUTH_ENFORCEMENT=observe` for anonymous `/mcp` migration.
Remove `MCP_MAX_SUBSCRIPTIONS`; HTTP `subscriptions/listen` now acknowledges and completes immediately, with no change notifications. Use valid `observe` or `required` values for authentication enforcement settings.
Expired OAuth tokens now receive HTTP 401 with an invalid-token challenge. JWT audience mismatches are logged by default; `MCP_OAUTH_AUDIENCE_ENFORCEMENT=required` rejects them, and `MCP_OAUTH_ALLOWED_AUDIENCES` overrides accepted audiences.
What changed in @upstash/[email protected]
MCP `query-docs` adds `language`, and CLI `docs` adds `--language`. HTTP credentials are required by default, OAuth tokens are validated more strictly, and the CLI declares Node.js 22.13+.
MCP 4.1.2–4.3.0; CLI 0.5.13–0.6.0; SDK 0.5.1; OpenCode plugin 0.2.0.
New things you can do
Rank documentation examples in the programming language you use.
Fixed and improved
`query-docs` marks failed documentation requests with `isError`; clients can distinguish invalid IDs, API failures and network errors from documentation.
OpenCode JSONC files with trailing commas are accepted. Setup downloads documentation skills directly from GitHub instead of the deprecated Skill Hub API.
Read the evidence
Removing a Context7 rule section preserves the rest of `AGENTS.md` and `GEMINI.md`, normalizing only the section's removal seam.
Read the evidence
Request timeouts and cancellation also apply while awaiting an asynchronous authentication token provider.
OpenCode v2 is supported alongside v1 through the plugin's new `setup` entrypoint.
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.