diff --git a/.changeset/add-icelandic-translations.md b/.changeset/add-icelandic-translations.md deleted file mode 100644 index 057ac0822..000000000 --- a/.changeset/add-icelandic-translations.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add Icelandic (`is`) site UI translations. diff --git a/.changeset/ask-skip-followups.md b/.changeset/ask-skip-followups.md deleted file mode 100644 index 98d1e63f6..000000000 --- a/.changeset/ask-skip-followups.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Stop asking for follow-up questions in `?ask=` answers and the MCP `askQuestion` tool, so answers come back sooner. diff --git a/.changeset/bind-site-oauth-consent-site-id.md b/.changeset/bind-site-oauth-consent-site-id.md deleted file mode 100644 index c35f0a798..000000000 --- a/.changeset/bind-site-oauth-consent-site-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Bind Site OAuth consent requests and decisions to the site resolved for the request. diff --git a/.changeset/clever-pears-switch.md b/.changeset/clever-pears-switch.md deleted file mode 100644 index c5dc58249..000000000 --- a/.changeset/clever-pears-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Stop the header links from flickering and shifting when hovering a dropdown on smaller screens, and keep an open dropdown's trigger readable on bold headers. diff --git a/.changeset/complete-open-graph-tags.md b/.changeset/complete-open-graph-tags.md deleted file mode 100644 index 4787c6041..000000000 --- a/.changeset/complete-open-graph-tags.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add `og:type` and `og:url` meta tags to published pages so every page has the required Open Graph tags. diff --git a/.changeset/country-picker.md b/.changeset/country-picker.md deleted file mode 100644 index 381894546..000000000 --- a/.changeset/country-picker.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": minor ---- - -Let visitors choose their country in a country picker, overriding the detected one, on sites that enable it and declare regions. Countries are grouped by the site's regions, then under "Other". diff --git a/.changeset/direct-search-api-url.md b/.changeset/direct-search-api-url.md deleted file mode 100644 index d03695362..000000000 --- a/.changeset/direct-search-api-url.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Strip the trailing slash from the API URL used by browser site search. diff --git a/.changeset/fix-sitedata-rison-injection.md b/.changeset/fix-sitedata-rison-injection.md deleted file mode 100644 index b98443f02..000000000 --- a/.changeset/fix-sitedata-rison-injection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Strip percent characters from forwarded ask visitor headers and require a non-empty `apiToken` when resolving site contexts. diff --git a/.changeset/harden-visitor-claim-parsing.md b/.changeset/harden-visitor-claim-parsing.md deleted file mode 100644 index 6fc778892..000000000 --- a/.changeset/harden-visitor-claim-parsing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Reject reserved prototype keys when parsing visitor claims and Rison payloads. diff --git a/.changeset/improve-published-docs-wcag-contrast.md b/.changeset/improve-published-docs-wcag-contrast.md deleted file mode 100644 index ab6e5d66d..000000000 --- a/.changeset/improve-published-docs-wcag-contrast.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gitbook/colors": patch -"gitbook": patch ---- - -Improve WCAG contrast across published documentation navigation, disabled buttons, and empty task-list checkboxes. diff --git a/.changeset/mcp-section-links.md b/.changeset/mcp-section-links.md deleted file mode 100644 index 09f828501..000000000 --- a/.changeset/mcp-section-links.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Point MCP `searchDocumentation` results to the matching section, and let `getPage` return one section from a `#anchor` URL, or the outline of a very long page. diff --git a/.changeset/openapi-codesample-selected-server.md b/.changeset/openapi-codesample-selected-server.md deleted file mode 100644 index b29f8aa9d..000000000 --- a/.changeset/openapi-codesample-selected-server.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gitbook/react-openapi": patch -"gitbook": patch ---- - -Update OpenAPI code samples and HTTP Host headers when switching the selected server, and show the updated code immediately while re-highlighting. diff --git a/.changeset/permanent-trailing-slash-redirect.md b/.changeset/permanent-trailing-slash-redirect.md deleted file mode 100644 index 622319d99..000000000 --- a/.changeset/permanent-trailing-slash-redirect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Use a permanent 308 redirect with a bounded Cache-Control header for trailing-slash GET and HEAD requests. diff --git a/.changeset/preserve-server-action-origin.md b/.changeset/preserve-server-action-origin.md deleted file mode 100644 index c65bde021..000000000 --- a/.changeset/preserve-server-action-origin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Preserve browser Origin validation for Server Actions on resolved site routes diff --git a/.changeset/proxied-site-mcp-metadata.md b/.changeset/proxied-site-mcp-metadata.md deleted file mode 100644 index 00a137519..000000000 --- a/.changeset/proxied-site-mcp-metadata.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Advertise the public URL in the MCP OAuth metadata of sites served from a custom subdirectory, so MCP clients accept the connection. diff --git a/.changeset/proxied-site-oauth-consent.md b/.changeset/proxied-site-oauth-consent.md deleted file mode 100644 index ea219cfde..000000000 --- a/.changeset/proxied-site-oauth-consent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix MCP sign-in showing "This authorization link has expired" after login on sites served from a custom subdirectory. diff --git a/.changeset/safe-retrocycle-pointers.md b/.changeset/safe-retrocycle-pointers.md deleted file mode 100644 index a463fd2e7..000000000 --- a/.changeset/safe-retrocycle-pointers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gitbook/react-openapi": patch ---- - -Only follow own properties when resolving schema references, so a spec can't point at `Object.prototype`. diff --git a/.changeset/sanitize-middleware-headers.md b/.changeset/sanitize-middleware-headers.md deleted file mode 100644 index 7349de056..000000000 --- a/.changeset/sanitize-middleware-headers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Clear internal middleware headers from incoming requests before forwarding diff --git a/.changeset/settle-search-query-tracking.md b/.changeset/settle-search-query-tracking.md deleted file mode 100644 index 9c03bfbb1..000000000 --- a/.changeset/settle-search-query-tracking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Coalesce typing-prefix search_type_query events and skip single-character ASCII queries before flushing insights batches. diff --git a/.changeset/strip-openapi-proxy-redirect-credentials.md b/.changeset/strip-openapi-proxy-redirect-credentials.md deleted file mode 100644 index 9a6e08f9f..000000000 --- a/.changeset/strip-openapi-proxy-redirect-credentials.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Strip `Authorization`, `Proxy-Authorization`, and `Cookie` headers when the OpenAPI proxy follows a redirect to a different origin. diff --git a/.changeset/sync-translation-languages.md b/.changeset/sync-translation-languages.md deleted file mode 100644 index b29534ec2..000000000 --- a/.changeset/sync-translation-languages.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gitbook/react-openapi": patch -"gitbook": patch ---- - -Enforce `api.TranslationLanguage` parity in site UI translations and support `fr-ca`, `es-mx`, and `es-419` locales in OpenAPI blocks. diff --git a/.changeset/webframe-url-query.md b/.changeset/webframe-url-query.md deleted file mode 100644 index b17e08eb6..000000000 --- a/.changeset/webframe-url-query.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"gitbook": patch -"@gitbook/react-contentkit": patch ---- - -Allow integration webframes with the `site:url:query` scope to read non-reserved parent page query parameters via `state.page.query`, update them in place via `@webframe.updateQuery`, and pass them through `@webframe.navigate`. diff --git a/bun.lock b/bun.lock index 9594e2950..b3fd22999 100644 --- a/bun.lock +++ b/bun.lock @@ -40,7 +40,7 @@ }, "packages/colors": { "name": "@gitbook/colors", - "version": "0.4.5", + "version": "0.4.6", "devDependencies": { "bun-types": "catalog:", "tsdown": "catalog:", @@ -109,7 +109,7 @@ }, "packages/gitbook": { "name": "gitbook", - "version": "0.29.0", + "version": "0.30.0", "dependencies": { "@base-ui/react": "catalog:", "@cloudflare/workers-types": "^4.20251011.0", @@ -266,7 +266,7 @@ }, "packages/react-contentkit": { "name": "@gitbook/react-contentkit", - "version": "0.7.19", + "version": "0.7.20", "dependencies": { "@gitbook/api": "catalog:", "@gitbook/icons": "workspace:*", @@ -309,7 +309,7 @@ }, "packages/react-openapi": { "name": "@gitbook/react-openapi", - "version": "2.0.2", + "version": "2.0.3", "dependencies": { "@base-ui/react": "catalog:", "@gitbook/expr": "workspace:*", @@ -1025,43 +1025,43 @@ "@oxfmt/binding-win32-x64-msvc": ["@oxfmt/binding-win32-x64-msvc@0.62.0", "", { "os": "win32", "cpu": "x64" }, "sha512-dlI5SY7XYQCiCBafntWagCR6HcAJB/NpsLtdlPx8x08+Osz8Ok1HHz1GZuusegCe/VoJ6pAnF5a4pd5OZAq7qQ=="], - "@oxlint/binding-android-arm-eabi": ["@oxlint/binding-android-arm-eabi@1.95.0", "", { "os": "android", "cpu": "arm" }, "sha512-hJna6w3COWJjfMPxomjZL82klTdrITm56PEpCsfO/xMkzQw/fNtJWauQ/YEwQqVttj0L5vDIa8rCcuhfAE3L4w=="], + "@oxlint/binding-android-arm-eabi": ["@oxlint/binding-android-arm-eabi@1.96.0", "", { "os": "android", "cpu": "arm" }, "sha512-SCINGNIfxMCeONnTjTQdm27XYY3zWv5olN/RIJmoTbMgphJ8JkZMeivswWqPdjwYpTAuskGNpHbevtECumuIxg=="], - "@oxlint/binding-android-arm64": ["@oxlint/binding-android-arm64@1.95.0", "", { "os": "android", "cpu": "arm64" }, "sha512-uAIGZQ9uJVUeogeWOSboI3F7twOuM4mNuZcHXD9+LdYLcWp7J6kbtRUXJ6GVqcs5E0Cjb4emmSBK9FNrkGuhqQ=="], + "@oxlint/binding-android-arm64": ["@oxlint/binding-android-arm64@1.96.0", "", { "os": "android", "cpu": "arm64" }, "sha512-jmRRp4pThMoYheXzhDrEMOHMU6X0geGSzJznkF2xhE9l0aViXNBvZrWasR5WLc3FXlc0rQAtV/o9mH1wosXZGQ=="], - "@oxlint/binding-darwin-arm64": ["@oxlint/binding-darwin-arm64@1.95.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Ogh1vfHO5vshKRop/He46r+WqC5BTqonYwhB4fp9e2gvOFvg1Xi6XsHTuM/lBSH85ZcaG+DS99EMAy9GcwDong=="], + "@oxlint/binding-darwin-arm64": ["@oxlint/binding-darwin-arm64@1.96.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-RxRoSJY2xa9/dKRzPv1rLn36OvaCwu7Qg9o+NhrSIP7FkLWackAkfbf+5bcgIC5H1r78sdWUvVAIDJKDdfkXPg=="], - "@oxlint/binding-darwin-x64": ["@oxlint/binding-darwin-x64@1.95.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-kTrE1xfpQUBMMS50Ws6KY92N8OsJ8LE6JqxKqkHEY3KdsmguQ6kKVGSjzyt1HLwsSi0fQCvNRog8YRBBovD1AA=="], + "@oxlint/binding-darwin-x64": ["@oxlint/binding-darwin-x64@1.96.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-pokl9aeRHG0ke37GooIG/Jjd5bIFx9TDZ9//JkO0KDROJ3MIGz+KD9/hlq6siE40+auswpyaolZ4xNqzaX1VWw=="], - "@oxlint/binding-freebsd-x64": ["@oxlint/binding-freebsd-x64@1.95.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-ho7E1VCInK0VnpneRaI1BEpe1ceJE8VjxP2O9THWdReV6bth1Q4+80kYVGGK47mHRyZ2NGztQZ2dWRo6j1lavA=="], + "@oxlint/binding-freebsd-x64": ["@oxlint/binding-freebsd-x64@1.96.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-zV8oqk0kzAFa8hsiBXz431E9DvYZuhIOveTKk7bgKmeYy1KixJ//iwdBMvD6+IGq0HAxxX2eCAbdzecC2Qsrpw=="], - "@oxlint/binding-linux-arm-gnueabihf": ["@oxlint/binding-linux-arm-gnueabihf@1.95.0", "", { "os": "linux", "cpu": "arm" }, "sha512-94afnouMHcnHr/OtRh07gG5LehC9M0GjiSoik3xxTtrmq6cWxXOTAhYlBtxa67u/GlycbnHlDoGJfYlTshcr/w=="], + "@oxlint/binding-linux-arm-gnueabihf": ["@oxlint/binding-linux-arm-gnueabihf@1.96.0", "", { "os": "linux", "cpu": "arm" }, "sha512-hT4CHT09eiWrwIikLjqiQrcjF1lASaRrJR4rGwXhHQcXC8Z5ohkDOy897tV/+UK/RkDvhtX3YOV3LGultcJTxg=="], - "@oxlint/binding-linux-arm-musleabihf": ["@oxlint/binding-linux-arm-musleabihf@1.95.0", "", { "os": "linux", "cpu": "arm" }, "sha512-LEeclqV1/fafxPgJWN21Bri6HBBBZpEFluq/ZH7Avvu9HjJh/XOn6WwogJqX9X7pG2aITZ2nRH39+sUKEQt2WA=="], + "@oxlint/binding-linux-arm-musleabihf": ["@oxlint/binding-linux-arm-musleabihf@1.96.0", "", { "os": "linux", "cpu": "arm" }, "sha512-ro+mX13ijz/Z2IIstN3TnPjoOzMZmvvS6xj/RIkyWZJveU/W5WkuFkISb81M7dxVDywHNUUljs9kGXL+ZpCkAA=="], - "@oxlint/binding-linux-arm64-gnu": ["@oxlint/binding-linux-arm64-gnu@1.95.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-EpXpEQKmgtkvc6RyU84LM1e3CrVDWQkgghVzf1hMGgwjBzgKAJ/QntHgnzmu5cNeLBfa7GPCY+gGXxEll8Adcg=="], + "@oxlint/binding-linux-arm64-gnu": ["@oxlint/binding-linux-arm64-gnu@1.96.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-kpJqgwJ4xCzg0HiZr0IqPumqoskk7z9m+epDKC8cxuC6sS5GeX0u8XpuotC7BKto0htzq+AmpZ6/LPIqOJ2J2w=="], - "@oxlint/binding-linux-arm64-musl": ["@oxlint/binding-linux-arm64-musl@1.95.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-+96Md8c2BAgFp8nWHrUrpqba87DoU+HVJYIun6qA+QKFoeNd3xAWq1JYE6da4nVli9GgwRpfncfRePcgmQQaIQ=="], + "@oxlint/binding-linux-arm64-musl": ["@oxlint/binding-linux-arm64-musl@1.96.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-sPqrWFuk8IsDx5ftGQVCaxRfnR95b3aXFQrknHDsb0W6UGYkhmhU6ZcirV/9Etyf44dAYo3ZMyA30bRow1sz5w=="], - "@oxlint/binding-linux-ppc64-gnu": ["@oxlint/binding-linux-ppc64-gnu@1.95.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-6yG99vsXct3Uv536w6Z1s03w2makRKnE0q3eJSmf+W/IwPmO56QLk8XUA6ebu/R5peCbJ67HmcWqACH+kg/6Bg=="], + "@oxlint/binding-linux-ppc64-gnu": ["@oxlint/binding-linux-ppc64-gnu@1.96.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-41bcNpgz0TDw2bPseL18MWtiyxrkadp5XVqRPr3TmGSDO2NpXdrHQ3UbXOiSpi5Dko7H22iNg9kcl/q/TZrcWA=="], - "@oxlint/binding-linux-riscv64-gnu": ["@oxlint/binding-linux-riscv64-gnu@1.95.0", "", { "os": "linux", "cpu": "none" }, "sha512-Eir0Z4ldh55AsQUqVDlLF4Pw3lSFXIdAl8ZNgU8tp/gTwT9JVCzWY0o3+ys9pCcpTN0vCqBwwuQfAUxzbIgvcQ=="], + "@oxlint/binding-linux-riscv64-gnu": ["@oxlint/binding-linux-riscv64-gnu@1.96.0", "", { "os": "linux", "cpu": "none" }, "sha512-XsuYByplvx4CjLwBTDNiWEB3Igk1NVgg0jqndZA9Op59ssCqO9PYZmg8af+GMOfrOtpdiFiGnogi0PfvCihGrg=="], - "@oxlint/binding-linux-riscv64-musl": ["@oxlint/binding-linux-riscv64-musl@1.95.0", "", { "os": "linux", "cpu": "none" }, "sha512-ceRx+K2WJ7C3tIv+XjZS28oAoZ7DY29ZcWChPdXG5M100phI72FRDYwGRlWZEeDfmkROnarLTMKnnrQAtsC42Q=="], + "@oxlint/binding-linux-riscv64-musl": ["@oxlint/binding-linux-riscv64-musl@1.96.0", "", { "os": "linux", "cpu": "none" }, "sha512-J+JcvoObB6gsi3TxaY8tu0gc2ZEcxYbKz7t0N85RurdEU1ubXHTJqKOe8D5aH3KPSmlT3+8f81UhVI4qF4WoUQ=="], - "@oxlint/binding-linux-s390x-gnu": ["@oxlint/binding-linux-s390x-gnu@1.95.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-WbD3sM08ZDk2QE6060wK/omihQKbRm+LVzKIg4W5zNTbEhYJChciqX49UZuqW59RGF+wBUxzAup7egUIESTjUA=="], + "@oxlint/binding-linux-s390x-gnu": ["@oxlint/binding-linux-s390x-gnu@1.96.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-wON5n7KlNpVWMhzYt9G3Ew2iuL6hHt0LV69dg51quv78mx7jOWFZp/+2ny2vARWl1542RRSip70hb7DAj2yy+Q=="], - "@oxlint/binding-linux-x64-gnu": ["@oxlint/binding-linux-x64-gnu@1.95.0", "", { "os": "linux", "cpu": "x64" }, "sha512-F4ST2ZkFIiLL9OKyRCyC0KQQpwM5WIv0GTcMiZuYVa6xSRJHR05iVRqst+arOVudEPkhP47EnbuoC9UfVCYDyg=="], + "@oxlint/binding-linux-x64-gnu": ["@oxlint/binding-linux-x64-gnu@1.96.0", "", { "os": "linux", "cpu": "x64" }, "sha512-AURdLIDjJvUK1XjWtnQI6TJs8F3SAQOFsDeL3QQChNwKAWbCZmT4jjflXMb6hjTY6NS1mnP1Z2sWz/yLI1BvTg=="], - "@oxlint/binding-linux-x64-musl": ["@oxlint/binding-linux-x64-musl@1.95.0", "", { "os": "linux", "cpu": "x64" }, "sha512-hEpYDZatpuxLrWlTlkwhHZ1e8QkL02aFS55BPQX1XA9iOd+yUEADGFF1iY6z+xkw6RkpzXFrtnDFe4/JNOLSRA=="], + "@oxlint/binding-linux-x64-musl": ["@oxlint/binding-linux-x64-musl@1.96.0", "", { "os": "linux", "cpu": "x64" }, "sha512-4+qtiKtCov+b8psbs4/O3nOtNh40bZN/QYxjjmOgV7OHmcD8rBwJqV4AeeXGZ/pSUCGNYGm1sQtiy4AAhJ5xqQ=="], - "@oxlint/binding-openharmony-arm64": ["@oxlint/binding-openharmony-arm64@1.95.0", "", { "os": "none", "cpu": "arm64" }, "sha512-+JwIH9/uLgQXfxBvOAKzvp616m5i0fBR5ELEBHm5D+++fStBZ+74T7YW4xBpX13zNU2blr52Swoe3GTF1JyqRg=="], + "@oxlint/binding-openharmony-arm64": ["@oxlint/binding-openharmony-arm64@1.96.0", "", { "os": "none", "cpu": "arm64" }, "sha512-eYZmZlTFgwz3c0+nLlZc+QdFTJJQ9B98vvLSk8LPJm+edhhiuLOe6jIUiLWwc52s95GKz5US05cAsVd8e5BzOA=="], - "@oxlint/binding-win32-arm64-msvc": ["@oxlint/binding-win32-arm64-msvc@1.95.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-pzJgcp3WkOSchukg5y5pn5mVIQ6P83RDI79YJ9gQZKed1pOgjhrmlc5AMizjuq6/P8VifhxzBsMqYI6LLjO2TA=="], + "@oxlint/binding-win32-arm64-msvc": ["@oxlint/binding-win32-arm64-msvc@1.96.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-elsIvBZeDYDO3swjXGBh8kGrsVrlcDNv6X2+ASA7q02UPuAWjH5F8urTa2d32c+f7l9MFohMokdWZ82pV+oZ9Q=="], - "@oxlint/binding-win32-ia32-msvc": ["@oxlint/binding-win32-ia32-msvc@1.95.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-54MeQvLRXkJqF1nEFs7wb73SrnurZJQy9fVK4NdEwumNKVwyUUxpGHhvfDMIY2NqJZS7kz0pY9uVty5664Gt1Q=="], + "@oxlint/binding-win32-ia32-msvc": ["@oxlint/binding-win32-ia32-msvc@1.96.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-Sl6tX5MdGZ886jSHmeg71ijhtsELauPl4ii4pfAtrQV3W7uj+v5QF1eAZB74KySWt6sdZuNDyjfhaKGaCf6NWA=="], - "@oxlint/binding-win32-x64-msvc": ["@oxlint/binding-win32-x64-msvc@1.95.0", "", { "os": "win32", "cpu": "x64" }, "sha512-I/Fn+Fed1qzb1k2uRjMe2VRtRN1+ZObyU+E76B6v/Ul3Z6JdeAW5zBHSe0n5d8a0ZyU4iorzVy0Rw9LYgo3MSQ=="], + "@oxlint/binding-win32-x64-msvc": ["@oxlint/binding-win32-x64-msvc@1.96.0", "", { "os": "win32", "cpu": "x64" }, "sha512-gLx6y/CsxfNZdfBfSLbVHB75AHDfV2/XdilDqPgh7oNRL6y72s75TCbMt500km+Mk5izFYNYXX8+LYR6U4n/zA=="], "@panzoom/panzoom": ["@panzoom/panzoom@4.6.1", "", {}, "sha512-ogf/KhHHjj+DYAvHfaf3TXMQ8OE36pJtKpabLlx1OmpjcgtpCvkUoCiNONA8kuVRPGJdLiqMf0n8LRFXj1OyuA=="], @@ -2691,7 +2691,7 @@ "oxfmt": ["oxfmt@0.62.0", "", { "dependencies": { "tinypool": "2.1.0" }, "optionalDependencies": { "@oxfmt/binding-android-arm-eabi": "0.62.0", "@oxfmt/binding-android-arm64": "0.62.0", "@oxfmt/binding-darwin-arm64": "0.62.0", "@oxfmt/binding-darwin-x64": "0.62.0", "@oxfmt/binding-freebsd-x64": "0.62.0", "@oxfmt/binding-linux-arm-gnueabihf": "0.62.0", "@oxfmt/binding-linux-arm-musleabihf": "0.62.0", "@oxfmt/binding-linux-arm64-gnu": "0.62.0", "@oxfmt/binding-linux-arm64-musl": "0.62.0", "@oxfmt/binding-linux-ppc64-gnu": "0.62.0", "@oxfmt/binding-linux-riscv64-gnu": "0.62.0", "@oxfmt/binding-linux-riscv64-musl": "0.62.0", "@oxfmt/binding-linux-s390x-gnu": "0.62.0", "@oxfmt/binding-linux-x64-gnu": "0.62.0", "@oxfmt/binding-linux-x64-musl": "0.62.0", "@oxfmt/binding-openharmony-arm64": "0.62.0", "@oxfmt/binding-win32-arm64-msvc": "0.62.0", "@oxfmt/binding-win32-ia32-msvc": "0.62.0", "@oxfmt/binding-win32-x64-msvc": "0.62.0" }, "peerDependencies": { "svelte": "^5.0.0", "vite-plus": "*" }, "optionalPeers": ["svelte", "vite-plus"], "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-vxgGHTmnDU9j4CX7dDBLzxgmHxfda/yPcgJkGCMUSCwRmz+euo/V08xXLNgXTeqAB9Fhf3Pe2nO1RNKLCVgphQ=="], - "oxlint": ["oxlint@1.95.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.95.0", "@oxlint/binding-android-arm64": "1.95.0", "@oxlint/binding-darwin-arm64": "1.95.0", "@oxlint/binding-darwin-x64": "1.95.0", "@oxlint/binding-freebsd-x64": "1.95.0", "@oxlint/binding-linux-arm-gnueabihf": "1.95.0", "@oxlint/binding-linux-arm-musleabihf": "1.95.0", "@oxlint/binding-linux-arm64-gnu": "1.95.0", "@oxlint/binding-linux-arm64-musl": "1.95.0", "@oxlint/binding-linux-ppc64-gnu": "1.95.0", "@oxlint/binding-linux-riscv64-gnu": "1.95.0", "@oxlint/binding-linux-riscv64-musl": "1.95.0", "@oxlint/binding-linux-s390x-gnu": "1.95.0", "@oxlint/binding-linux-x64-gnu": "1.95.0", "@oxlint/binding-linux-x64-musl": "1.95.0", "@oxlint/binding-openharmony-arm64": "1.95.0", "@oxlint/binding-win32-arm64-msvc": "1.95.0", "@oxlint/binding-win32-ia32-msvc": "1.95.0", "@oxlint/binding-win32-x64-msvc": "1.95.0" }, "peerDependencies": { "oxlint-tsgolint": ">=7.0.2008", "vite-plus": "*" }, "optionalPeers": ["oxlint-tsgolint", "vite-plus"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-eNzjFjm1TU02/+ohAJjOB7aekRQgTXhOWxMGscEm8VJMokNnnix+PCZn7kqIuGIqxAoBnHxatqlN3Chz3N6PKA=="], + "oxlint": ["oxlint@1.96.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.96.0", "@oxlint/binding-android-arm64": "1.96.0", "@oxlint/binding-darwin-arm64": "1.96.0", "@oxlint/binding-darwin-x64": "1.96.0", "@oxlint/binding-freebsd-x64": "1.96.0", "@oxlint/binding-linux-arm-gnueabihf": "1.96.0", "@oxlint/binding-linux-arm-musleabihf": "1.96.0", "@oxlint/binding-linux-arm64-gnu": "1.96.0", "@oxlint/binding-linux-arm64-musl": "1.96.0", "@oxlint/binding-linux-ppc64-gnu": "1.96.0", "@oxlint/binding-linux-riscv64-gnu": "1.96.0", "@oxlint/binding-linux-riscv64-musl": "1.96.0", "@oxlint/binding-linux-s390x-gnu": "1.96.0", "@oxlint/binding-linux-x64-gnu": "1.96.0", "@oxlint/binding-linux-x64-musl": "1.96.0", "@oxlint/binding-openharmony-arm64": "1.96.0", "@oxlint/binding-win32-arm64-msvc": "1.96.0", "@oxlint/binding-win32-ia32-msvc": "1.96.0", "@oxlint/binding-win32-x64-msvc": "1.96.0" }, "peerDependencies": { "oxlint-tsgolint": ">=7.0.2008", "vite-plus": "*" }, "optionalPeers": ["oxlint-tsgolint", "vite-plus"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-jyiSvUjzM6GPHNbNQSk9ov63KDusn7FJaIX4LqxJYN/VnRrEgwMplyZaoAfmVclfzxCmVhaIXLixnRJ2IAa0Hw=="], "p-filter": ["p-filter@2.1.0", "", { "dependencies": { "p-map": "^2.0.0" } }, "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw=="], diff --git a/package.json b/package.json index b817fdf32..40103f68f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "devDependencies": { "@changesets/cli": "^2.31.1", "oxfmt": "^0.62.0", - "oxlint": "^1.95.0", + "oxlint": "^1.96.0", "turbo": "^2.11.13", "vercel": "50.37.3" }, diff --git a/packages/colors/CHANGELOG.md b/packages/colors/CHANGELOG.md index 7c7bab1f1..bb3b83900 100644 --- a/packages/colors/CHANGELOG.md +++ b/packages/colors/CHANGELOG.md @@ -1,5 +1,11 @@ # @gitbook/colors +## 0.4.6 + +### Patch Changes + +- 5f16a35: Improve WCAG contrast across published documentation navigation, disabled buttons, and empty task-list checkboxes. + ## 0.4.5 ### Patch Changes diff --git a/packages/colors/package.json b/packages/colors/package.json index cef6a6d5b..9830efa5d 100644 --- a/packages/colors/package.json +++ b/packages/colors/package.json @@ -8,7 +8,7 @@ } }, "sideEffects": false, - "version": "0.4.5", + "version": "0.4.6", "devDependencies": { "bun-types": "catalog:", "tsdown": "catalog:", diff --git a/packages/gitbook/CHANGELOG.md b/packages/gitbook/CHANGELOG.md index 12fe496e7..ca379270d 100644 --- a/packages/gitbook/CHANGELOG.md +++ b/packages/gitbook/CHANGELOG.md @@ -1,5 +1,42 @@ # gitbook +## 0.30.0 + +### Minor Changes + +- 0f7ca03: Let visitors choose their country in a country picker, overriding the detected one, on sites that enable it and declare regions. Countries are grouped by the site's regions, then under "Other". + +### Patch Changes + +- 9df1331: Add Icelandic (`is`) site UI translations. +- b7fdddd: Stop asking for follow-up questions in `?ask=` answers and the MCP `askQuestion` tool, so answers come back sooner. +- 6b4afc5: Bind Site OAuth consent requests and decisions to the site resolved for the request. +- 04f20c9: Stop the header links from flickering and shifting when hovering a dropdown on smaller screens, and keep an open dropdown's trigger readable on bold headers. +- db7f9ff: Add `og:type` and `og:url` meta tags to published pages so every page has the required Open Graph tags. +- 1c8da29: Strip the trailing slash from the API URL used by browser site search. +- 7d687b8: Strip percent characters from forwarded ask visitor headers and require a non-empty `apiToken` when resolving site contexts. +- c7ee3e2: Reject reserved prototype keys when parsing visitor claims and Rison payloads. +- 5f16a35: Improve WCAG contrast across published documentation navigation, disabled buttons, and empty task-list checkboxes. +- b575d92: Point MCP `searchDocumentation` results to the matching section, and let `getPage` return one section from a `#anchor` URL, or the outline of a very long page. +- 87a4f32: Update OpenAPI code samples and HTTP Host headers when switching the selected server, and show the updated code immediately while re-highlighting. +- 5b326bf: Use a permanent 308 redirect with a bounded Cache-Control header for trailing-slash GET and HEAD requests. +- d1c916d: Preserve browser Origin validation for Server Actions on resolved site routes +- d51605f: Advertise the public URL in the MCP OAuth metadata of sites served from a custom subdirectory, so MCP clients accept the connection. +- c2daee4: Fix MCP sign-in showing "This authorization link has expired" after login on sites served from a custom subdirectory. +- 90ae233: Clear internal middleware headers from incoming requests before forwarding +- 348a04d: Coalesce typing-prefix search_type_query events and skip single-character ASCII queries before flushing insights batches. +- 1835cac: Strip `Authorization`, `Proxy-Authorization`, and `Cookie` headers when the OpenAPI proxy follows a redirect to a different origin. +- f648e55: Enforce `api.TranslationLanguage` parity in site UI translations and support `fr-ca`, `es-mx`, and `es-419` locales in OpenAPI blocks. +- 2ab6f8a: Allow integration webframes with the `site:url:query` scope to read non-reserved parent page query parameters via `state.page.query`, update them in place via `@webframe.updateQuery`, and pass them through `@webframe.navigate`. +- Updated dependencies [5f16a35] +- Updated dependencies [87a4f32] +- Updated dependencies [3c33ebe] +- Updated dependencies [f648e55] +- Updated dependencies [2ab6f8a] + - @gitbook/colors@0.4.6 + - @gitbook/react-openapi@2.0.3 + - @gitbook/react-contentkit@0.7.20 + ## 0.29.0 ### Minor Changes diff --git a/packages/gitbook/package.json b/packages/gitbook/package.json index 74b869138..0d3dc0289 100644 --- a/packages/gitbook/package.json +++ b/packages/gitbook/package.json @@ -1,6 +1,6 @@ { "name": "gitbook", - "version": "0.29.0", + "version": "0.30.0", "private": true, "dependencies": { "@base-ui/react": "catalog:", diff --git a/packages/react-contentkit/CHANGELOG.md b/packages/react-contentkit/CHANGELOG.md index 251848410..8bd257f40 100644 --- a/packages/react-contentkit/CHANGELOG.md +++ b/packages/react-contentkit/CHANGELOG.md @@ -1,5 +1,11 @@ # @gitbook/react-contentkit +## 0.7.20 + +### Patch Changes + +- 2ab6f8a: Allow integration webframes with the `site:url:query` scope to read non-reserved parent page query parameters via `state.page.query`, update them in place via `@webframe.updateQuery`, and pass them through `@webframe.navigate`. + ## 0.7.19 ### Patch Changes diff --git a/packages/react-contentkit/package.json b/packages/react-contentkit/package.json index 68bf0604f..30ddf358a 100644 --- a/packages/react-contentkit/package.json +++ b/packages/react-contentkit/package.json @@ -1,6 +1,6 @@ { "name": "@gitbook/react-contentkit", - "version": "0.7.19", + "version": "0.7.20", "type": "module", "exports": { ".": { diff --git a/packages/react-openapi/CHANGELOG.md b/packages/react-openapi/CHANGELOG.md index cd63cfab0..eba036828 100644 --- a/packages/react-openapi/CHANGELOG.md +++ b/packages/react-openapi/CHANGELOG.md @@ -1,5 +1,13 @@ # @gitbook/react-openapi +## 2.0.3 + +### Patch Changes + +- 87a4f32: Update OpenAPI code samples and HTTP Host headers when switching the selected server, and show the updated code immediately while re-highlighting. +- 3c33ebe: Only follow own properties when resolving schema references, so a spec can't point at `Object.prototype`. +- f648e55: Enforce `api.TranslationLanguage` parity in site UI translations and support `fr-ca`, `es-mx`, and `es-419` locales in OpenAPI blocks. + ## 2.0.2 ### Patch Changes diff --git a/packages/react-openapi/package.json b/packages/react-openapi/package.json index dd0cafc80..f7649649e 100644 --- a/packages/react-openapi/package.json +++ b/packages/react-openapi/package.json @@ -7,7 +7,7 @@ "default": "./dist/index.js" } }, - "version": "2.0.2", + "version": "2.0.3", "sideEffects": false, "dependencies": { "@base-ui/react": "catalog:",