Context7 Platform -- Up-to-date docs for AI agents
chore(release): version packages (#3365)
github-actions[bot]3f12d0250758
diff --git a/.changeset/clerk-oauth-jwt-audience.md b/.changeset/clerk-oauth-jwt-audience.mddeleted file mode 100644index 20b7c81b..00000000--- a/.changeset/clerk-oauth-jwt-audience.md+++ /dev/null@@ -1,5 +0,0 @@-----"@upstash/context7-mcp": patch------Verify OAuth JWT access tokens from the authorization server (Clerk) strictly on the hosted HTTP transport: signature, issuer, a `typ` of `at+jwt`, expiry with a minute of clock tolerance, and the token's `aud`. Clerk ID tokens and session JWTs, which share the issuer, now get HTTP 401. The audience is compared against the `RESOURCE_URL` origin, `/mcp` and `/mcp/oauth` (override with `MCP_OAUTH_ALLOWED_AUDIENCES`); `MCP_OAUTH_AUDIENCE_ENFORCEMENT` defaults to `observe`, which admits a mismatch and logs the OAuth client ID and audience (once per token every ten minutes), and `required` answers 401. These JWTs count as `oauth` in authentication telemetry, a token the Context7 API rejects on a tool call is challenged on the next request, and a rejected OAuth token now stays rejected in the per-replica cache for ten minutes instead of thirty seconds.diff --git a/.changeset/query-docs-is-error.md b/.changeset/query-docs-is-error.mddeleted file mode 100644index 653458f4..00000000--- a/.changeset/query-docs-is-error.md+++ /dev/null@@ -1,5 +0,0 @@-----"@upstash/context7-mcp": patch------query-docs now sets `isError` on its result when the documentation request fails (invalid library ID, API or network error), so clients that branch on `isError` no longer treat the error text as documentation.diff --git a/.changeset/quiet-tokens-wait.md b/.changeset/quiet-tokens-wait.mddeleted file mode 100644index c02e8d37..00000000--- a/.changeset/quiet-tokens-wait.md+++ /dev/null@@ -1,5 +0,0 @@-----"@upstash/context7-sdk": patch------Honor request timeouts and cancellation while waiting for an asynchronous authentication token provider.diff --git a/.changeset/remove-rule-section-seam.md b/.changeset/remove-rule-section-seam.mddeleted file mode 100644index da3b1840..00000000--- a/.changeset/remove-rule-section-seam.md+++ /dev/null@@ -1,5 +0,0 @@-----"ctx7": patch------Keep the rest of AGENTS.md / GEMINI.md untouched when `ctx7 remove` deletes the Context7 rule section; only the seam left by the removed section is normalized.diff --git a/.changeset/report-bound-http-port.md b/.changeset/report-bound-http-port.mddeleted file mode 100644index 75b45f8a..00000000--- a/.changeset/report-bound-http-port.md+++ /dev/null@@ -1,5 +0,0 @@-----"@upstash/context7-mcp": patch------Report the actual assigned HTTP port when `--port 0` requests an ephemeral port.diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.mdindex 7e1e7e45..19658cfe 100644--- a/packages/cli/CHANGELOG.md+++ b/packages/cli/CHANGELOG.md@@ -1,5 +1,11 @@# Changelog+## 0.5.16++### Patch Changes++- 61cf806: Keep the rest of AGENTS.md / GEMINI.md untouched when `ctx7 remove` deletes the Context7 rule section; only the seam left by the removed section is normalized.+## 0.5.15### Patch Changesdiff --git a/packages/cli/package.json b/packages/cli/package.jsonindex a78614d1..9145fd8e 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "ctx7",- "version": "0.5.15",+ "version": "0.5.16","description": "Context7 CLI - Fetch documentation context and configure Context7","type": "module","bin": {diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.mdindex 370106de..9b338d09 100644--- a/packages/mcp/CHANGELOG.md+++ b/packages/mcp/CHANGELOG.md@@ -1,5 +1,13 @@# @upstash/context7-mcp+## 4.2.1++### Patch Changes++- c30f279: Verify OAuth JWT access tokens from the authorization server (Clerk) strictly on the hosted HTTP transport: signature, issuer, a `typ` of `at+jwt`, expiry with a minute of clock tolerance, and the token's `aud`. Clerk ID tokens and session JWTs, which share the issuer, now get HTTP 401. The audience is compared against the `RESOURCE_URL` origin, `/mcp` and `/mcp/oauth` (override with `MCP_OAUTH_ALLOWED_AUDIENCES`); `MCP_OAUTH_AUDIENCE_ENFORCEMENT` defaults to `observe`, which admits a mismatch and logs the OAuth client ID and audience (once per token every ten minutes), and `required` answers 401. These JWTs count as `oauth` in authentication telemetry, a token the Context7 API rejects on a tool call is challenged on the next request, and a rejected OAuth token now stays rejected in the per-replica cache for ten minutes instead of thirty seconds.+- dd48abc: query-docs now sets `isError` on its result when the documentation request fails (invalid library ID, API or network error), so clients that branch on `isError` no longer treat the error text as documentation.+- 6116042: Report the actual assigned HTTP port when `--port 0` requests an ephemeral port.+## 4.2.0### Minor Changesdiff --git a/packages/mcp/package.json b/packages/mcp/package.jsonindex 8620f4ac..450b570f 100644--- a/packages/mcp/package.json+++ b/packages/mcp/package.json@@ -1,6 +1,6 @@{"name": "@upstash/context7-mcp",- "version": "4.2.0",+ "version": "4.2.1","mcpName": "io.github.upstash/context7","description": "MCP server for Context7","scripts": {diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.mdindex 6afa61a7..d1e2e154 100644--- a/packages/sdk/CHANGELOG.md+++ b/packages/sdk/CHANGELOG.md@@ -1,5 +1,11 @@# @upstash/context7-sdk+## 0.5.1++### Patch Changes++- 8861808: Honor request timeouts and cancellation while waiting for an asynchronous authentication token provider.+## 0.5.0### Minor Changesdiff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex 516882b7..58b4b37a 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -1,6 +1,6 @@{"name": "@upstash/context7-sdk",- "version": "0.5.0",+ "version": "0.5.1","description": "JavaScript/TypeScript SDK for Context7","scripts": {"build": "tsup",