From 143ba5b6388e6fc44a6f8eb5744e9cfee07668bc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 18 Sep 2026 14:17:03 +0000 Subject: [PATCH] Version Packages --- .changeset/ai-chat-view-activity-toggle.md | 5 - .changeset/anchor-scroll-unchanged-hash.md | 5 - .changeset/argos-image-rendering-drift.md | 5 - .changeset/assistant-leave-feedback-tools.md | 5 - .changeset/assistant-recent-questions.md | 5 - ...ssistant-submit-assistant-feedback-tool.md | 5 - .../assistant-submit-page-feedback-tool.md | 5 - .changeset/assistant-type-while-answering.md | 5 - .changeset/bound-desktop-card-carousel.md | 5 - .changeset/breadcrumbs-clear-page-actions.md | 5 - .changeset/bright-pages-describe.md | 5 - .changeset/bump-next-16-3-3.md | 5 - .changeset/cards-carousel-layout.md | 5 - .changeset/chubby-adults-poke.md | 5 - .changeset/chunk-visitor-auth-cookie.md | 5 - .changeset/clean-cats-ask.md | 5 - .changeset/collapsible-reasoning-heading.md | 5 - .../contentkit-buttons-natural-width.md | 5 - .changeset/cool-donkeys-invite.md | 5 - .changeset/cross-space-page-breadcrumbs.md | 5 - .changeset/dark-mode-toggle-laptop.md | 5 - .changeset/disable-inline-image-zoom.md | 5 - .changeset/eighty-donkeys-tease.md | 5 - .changeset/embed-host-actions.md | 5 - .../embed-navigate-to-page-normalize.md | 5 - .changeset/embed-script-color-scheme.md | 5 - .changeset/embed-search-suggestions.md | 5 - .changeset/embed-search-tab-navigation.md | 5 - .changeset/embed-widget-color-scheme.md | 5 - .changeset/empty-bears-cheat.md | 5 - .changeset/exact-light-tint-background.md | 6 - .changeset/external-navigation-links.md | 5 - .changeset/fancy-webs-sneeze.md | 7 - .changeset/few-parts-lead.md | 7 - .changeset/filter-internal-url-lookup.md | 5 - .changeset/filter-published-search-scope.md | 5 - .changeset/fix-space-link-title-regression.md | 5 - .changeset/funky-jobs-know.md | 5 - .changeset/heavy-donuts-shave.md | 5 - .changeset/hide-anchor-links-landing.md | 5 - .changeset/hide-empty-card-fields.md | 5 - .../hide-intercom-launcher-with-assistant.md | 5 - .changeset/hot-views-judge.md | 5 - .changeset/hotkeys-usekey.md | 5 - .changeset/inline-button-size.md | 5 - .changeset/integration-tool-context.md | 7 - .changeset/isolate-preview-embed.md | 5 - .changeset/khaki-buses-invent.md | 5 - .changeset/lazy-mermaid-code-block.md | 5 - .changeset/lazy-scalar-modal.md | 8 - .changeset/light-parts-repeat.md | 5 - .changeset/markdown-agent-robots-tag.md | 5 - .changeset/markdown-page-action-source.md | 5 - .changeset/mcp-ask-question-tool.md | 5 - .changeset/mcp-copy-confirmation-dropdown.md | 5 - .changeset/mcp-send-feedback-endpoint.md | 5 - .changeset/mermaid-scroll-zoom-modifier.md | 5 - .../migrate-headless-primitives-to-base-ui.md | 5 - .changeset/moody-nails-admire.md | 5 - .changeset/noindex-search-ask-urls.md | 5 - .changeset/oauth-consent-screen-redesign.md | 5 - .changeset/olive-melons-repeat.md | 5 - .changeset/olive-pugs-shave.md | 5 - .changeset/olive-pumas-invite.md | 5 - .../openapi-blocks-content-visibility.md | 5 - .changeset/openapi-models-on-this-page.md | 5 - .changeset/openapi-scalar-proxy-cookies.md | 5 - .changeset/openapi-scalar-proxy-origin.md | 5 - .changeset/openapi-serializable-context.md | 6 - .changeset/openapi-webhook-payload-scroll.md | 5 - .../paragraph-cover-has-invalidation.md | 5 - .changeset/plain-markdown-content-type.md | 5 - .../preserve-external-search-destinations.md | 5 - .changeset/preserve-global-search-ranking.md | 5 - .../preserve-published-search-ranking.md | 5 - .changeset/prev-next-alignment.md | 5 - .changeset/preview-auth-content-path.md | 5 - .changeset/preview-page-not-found.md | 5 - .changeset/preview-search-revisions.md | 5 - .changeset/prewarm-published-search.md | 5 - .changeset/proud-crabs-attack.md | 5 - .changeset/quiet-dogs-merge.md | 5 - .changeset/quiet-pans-listen.md | 5 - .changeset/quiet-rivers-render.md | 5 - .changeset/quiet-tags-filter.md | 5 - .changeset/relative-insights-visitor-urls.md | 7 - .changeset/resolve-html-links-in-markdown.md | 5 - .changeset/revalidate-fail-closed.md | 5 - .../rnd-11356-remove-gbo-bestsection.md | 5 - .changeset/rnd-11571-embed-light-theme.md | 5 - .../rnd-11616-responses-selector-sync.md | 5 - .../rnd-11643-fix-system-theme-flash.md | 5 - .changeset/rnd-11847-mcp-send-feedback.md | 5 - ...rnd-11847-separate-prompt-block-actions.md | 5 - .../rnd-11849-search-focus-hydration.md | 5 - ...rnd-11876-embed-standalone-turbo-output.md | 5 - .../rnd-12204-comment-punctuation-color.md | 5 - .changeset/rnd-12671-modal-close-button.md | 5 - .../rnd-12672-webframe-dispatch-actions.md | 7 - .changeset/rnd-12673-search-current-page.md | 5 - .changeset/rnd-12681-site-structure-e2e.md | 5 - .../rnd-12844-search-section-links-scroll.md | 5 - .changeset/scroll-container-overflow-state.md | 5 - .changeset/search-any-section.md | 5 - .changeset/search-input-spacebar.md | 5 - .changeset/search-keyboard-focus-trap.md | 5 - .changeset/search-last-query.md | 5 - .changeset/search-result-page-target.md | 5 - .changeset/search-tab-focus-trap.md | 5 - .changeset/section-hover-link-name.md | 5 - .changeset/section-menu-sidebar-rail.md | 5 - .../section-tabs-loose-section-order.md | 5 - .changeset/section-tabs-phantom-scroll.md | 5 - .changeset/shiki-out-of-initial-bundle.md | 5 - .changeset/shorten-paragraph-ask-tooltip.md | 5 - .changeset/silly-wolves-cache.md | 5 - .changeset/site-heading-font.md | 5 - .changeset/sparkly-regions-train.md | 5 - .changeset/split-site-search-requests.md | 5 - .changeset/sticky-api-page-actions.md | 5 - .changeset/strict-jokes-play.md | 5 - .changeset/stricter-back-to-space.md | 5 - .changeset/svg-file-attachment-previews.md | 5 - .changeset/sweet-ends-occur.md | 5 - .changeset/table-search-empty-padding.md | 5 - .changeset/tap-to-reveal-heading-anchor.md | 5 - .changeset/tidy-donkeys-shave.md | 5 - .changeset/tidy-mice-eat.md | 5 - .changeset/tidy-pianos-argue.md | 5 - .changeset/tidy-spoons-repeat.md | 5 - .changeset/tidy-variant-fallback.md | 5 - .changeset/tidy-wolves-edit-git.md | 5 - .changeset/tired-mails-fall.md | 5 - .changeset/toc-group-first-item-cutoff.md | 5 - .changeset/toc-link-active-highlight.md | 5 - .../tooltip-disclosure-open-state-conflict.md | 5 - .changeset/wacky-eyes-post.md | 5 - .changeset/webframe-navigate-query.md | 6 - .changeset/webframe-navigate.md | 6 - .changeset/webframe-page-context.md | 6 - .changeset/webmcp-published-docs.md | 5 - .changeset/wet-cases-invite.md | 5 - .changeset/whole-hands-report.md | 5 - .changeset/wild-suns-relate.md | 5 - bun.lock | 82 ++++---- package.json | 6 +- packages/browser-types/CHANGELOG.md | 6 + packages/browser-types/package.json | 2 +- packages/colors/CHANGELOG.md | 6 + packages/colors/package.json | 2 +- packages/embed/CHANGELOG.md | 7 + packages/embed/package.json | 2 +- packages/gitbook/CHANGELOG.md | 175 ++++++++++++++++++ packages/gitbook/package.json | 2 +- packages/openapi-parser/CHANGELOG.md | 6 + packages/openapi-parser/package.json | 2 +- packages/react-contentkit/CHANGELOG.md | 13 ++ packages/react-contentkit/package.json | 2 +- packages/react-openapi/CHANGELOG.md | 18 ++ packages/react-openapi/package.json | 2 +- 160 files changed, 285 insertions(+), 786 deletions(-) delete mode 100644 .changeset/ai-chat-view-activity-toggle.md delete mode 100644 .changeset/anchor-scroll-unchanged-hash.md delete mode 100644 .changeset/argos-image-rendering-drift.md delete mode 100644 .changeset/assistant-leave-feedback-tools.md delete mode 100644 .changeset/assistant-recent-questions.md delete mode 100644 .changeset/assistant-submit-assistant-feedback-tool.md delete mode 100644 .changeset/assistant-submit-page-feedback-tool.md delete mode 100644 .changeset/assistant-type-while-answering.md delete mode 100644 .changeset/bound-desktop-card-carousel.md delete mode 100644 .changeset/breadcrumbs-clear-page-actions.md delete mode 100644 .changeset/bright-pages-describe.md delete mode 100644 .changeset/bump-next-16-3-3.md delete mode 100644 .changeset/cards-carousel-layout.md delete mode 100644 .changeset/chubby-adults-poke.md delete mode 100644 .changeset/chunk-visitor-auth-cookie.md delete mode 100644 .changeset/clean-cats-ask.md delete mode 100644 .changeset/collapsible-reasoning-heading.md delete mode 100644 .changeset/contentkit-buttons-natural-width.md delete mode 100644 .changeset/cool-donkeys-invite.md delete mode 100644 .changeset/cross-space-page-breadcrumbs.md delete mode 100644 .changeset/dark-mode-toggle-laptop.md delete mode 100644 .changeset/disable-inline-image-zoom.md delete mode 100644 .changeset/eighty-donkeys-tease.md delete mode 100644 .changeset/embed-host-actions.md delete mode 100644 .changeset/embed-navigate-to-page-normalize.md delete mode 100644 .changeset/embed-script-color-scheme.md delete mode 100644 .changeset/embed-search-suggestions.md delete mode 100644 .changeset/embed-search-tab-navigation.md delete mode 100644 .changeset/embed-widget-color-scheme.md delete mode 100644 .changeset/empty-bears-cheat.md delete mode 100644 .changeset/exact-light-tint-background.md delete mode 100644 .changeset/external-navigation-links.md delete mode 100644 .changeset/fancy-webs-sneeze.md delete mode 100644 .changeset/few-parts-lead.md delete mode 100644 .changeset/filter-internal-url-lookup.md delete mode 100644 .changeset/filter-published-search-scope.md delete mode 100644 .changeset/fix-space-link-title-regression.md delete mode 100644 .changeset/funky-jobs-know.md delete mode 100644 .changeset/heavy-donuts-shave.md delete mode 100644 .changeset/hide-anchor-links-landing.md delete mode 100644 .changeset/hide-empty-card-fields.md delete mode 100644 .changeset/hide-intercom-launcher-with-assistant.md delete mode 100644 .changeset/hot-views-judge.md delete mode 100644 .changeset/hotkeys-usekey.md delete mode 100644 .changeset/inline-button-size.md delete mode 100644 .changeset/integration-tool-context.md delete mode 100644 .changeset/isolate-preview-embed.md delete mode 100644 .changeset/khaki-buses-invent.md delete mode 100644 .changeset/lazy-mermaid-code-block.md delete mode 100644 .changeset/lazy-scalar-modal.md delete mode 100644 .changeset/light-parts-repeat.md delete mode 100644 .changeset/markdown-agent-robots-tag.md delete mode 100644 .changeset/markdown-page-action-source.md delete mode 100644 .changeset/mcp-ask-question-tool.md delete mode 100644 .changeset/mcp-copy-confirmation-dropdown.md delete mode 100644 .changeset/mcp-send-feedback-endpoint.md delete mode 100644 .changeset/mermaid-scroll-zoom-modifier.md delete mode 100644 .changeset/migrate-headless-primitives-to-base-ui.md delete mode 100644 .changeset/moody-nails-admire.md delete mode 100644 .changeset/noindex-search-ask-urls.md delete mode 100644 .changeset/oauth-consent-screen-redesign.md delete mode 100644 .changeset/olive-melons-repeat.md delete mode 100644 .changeset/olive-pugs-shave.md delete mode 100644 .changeset/olive-pumas-invite.md delete mode 100644 .changeset/openapi-blocks-content-visibility.md delete mode 100644 .changeset/openapi-models-on-this-page.md delete mode 100644 .changeset/openapi-scalar-proxy-cookies.md delete mode 100644 .changeset/openapi-scalar-proxy-origin.md delete mode 100644 .changeset/openapi-serializable-context.md delete mode 100644 .changeset/openapi-webhook-payload-scroll.md delete mode 100644 .changeset/paragraph-cover-has-invalidation.md delete mode 100644 .changeset/plain-markdown-content-type.md delete mode 100644 .changeset/preserve-external-search-destinations.md delete mode 100644 .changeset/preserve-global-search-ranking.md delete mode 100644 .changeset/preserve-published-search-ranking.md delete mode 100644 .changeset/prev-next-alignment.md delete mode 100644 .changeset/preview-auth-content-path.md delete mode 100644 .changeset/preview-page-not-found.md delete mode 100644 .changeset/preview-search-revisions.md delete mode 100644 .changeset/prewarm-published-search.md delete mode 100644 .changeset/proud-crabs-attack.md delete mode 100644 .changeset/quiet-dogs-merge.md delete mode 100644 .changeset/quiet-pans-listen.md delete mode 100644 .changeset/quiet-rivers-render.md delete mode 100644 .changeset/quiet-tags-filter.md delete mode 100644 .changeset/relative-insights-visitor-urls.md delete mode 100644 .changeset/resolve-html-links-in-markdown.md delete mode 100644 .changeset/revalidate-fail-closed.md delete mode 100644 .changeset/rnd-11356-remove-gbo-bestsection.md delete mode 100644 .changeset/rnd-11571-embed-light-theme.md delete mode 100644 .changeset/rnd-11616-responses-selector-sync.md delete mode 100644 .changeset/rnd-11643-fix-system-theme-flash.md delete mode 100644 .changeset/rnd-11847-mcp-send-feedback.md delete mode 100644 .changeset/rnd-11847-separate-prompt-block-actions.md delete mode 100644 .changeset/rnd-11849-search-focus-hydration.md delete mode 100644 .changeset/rnd-11876-embed-standalone-turbo-output.md delete mode 100644 .changeset/rnd-12204-comment-punctuation-color.md delete mode 100644 .changeset/rnd-12671-modal-close-button.md delete mode 100644 .changeset/rnd-12672-webframe-dispatch-actions.md delete mode 100644 .changeset/rnd-12673-search-current-page.md delete mode 100644 .changeset/rnd-12681-site-structure-e2e.md delete mode 100644 .changeset/rnd-12844-search-section-links-scroll.md delete mode 100644 .changeset/scroll-container-overflow-state.md delete mode 100644 .changeset/search-any-section.md delete mode 100644 .changeset/search-input-spacebar.md delete mode 100644 .changeset/search-keyboard-focus-trap.md delete mode 100644 .changeset/search-last-query.md delete mode 100644 .changeset/search-result-page-target.md delete mode 100644 .changeset/search-tab-focus-trap.md delete mode 100644 .changeset/section-hover-link-name.md delete mode 100644 .changeset/section-menu-sidebar-rail.md delete mode 100644 .changeset/section-tabs-loose-section-order.md delete mode 100644 .changeset/section-tabs-phantom-scroll.md delete mode 100644 .changeset/shiki-out-of-initial-bundle.md delete mode 100644 .changeset/shorten-paragraph-ask-tooltip.md delete mode 100644 .changeset/silly-wolves-cache.md delete mode 100644 .changeset/site-heading-font.md delete mode 100644 .changeset/sparkly-regions-train.md delete mode 100644 .changeset/split-site-search-requests.md delete mode 100644 .changeset/sticky-api-page-actions.md delete mode 100644 .changeset/strict-jokes-play.md delete mode 100644 .changeset/stricter-back-to-space.md delete mode 100644 .changeset/svg-file-attachment-previews.md delete mode 100644 .changeset/sweet-ends-occur.md delete mode 100644 .changeset/table-search-empty-padding.md delete mode 100644 .changeset/tap-to-reveal-heading-anchor.md delete mode 100644 .changeset/tidy-donkeys-shave.md delete mode 100644 .changeset/tidy-mice-eat.md delete mode 100644 .changeset/tidy-pianos-argue.md delete mode 100644 .changeset/tidy-spoons-repeat.md delete mode 100644 .changeset/tidy-variant-fallback.md delete mode 100644 .changeset/tidy-wolves-edit-git.md delete mode 100644 .changeset/tired-mails-fall.md delete mode 100644 .changeset/toc-group-first-item-cutoff.md delete mode 100644 .changeset/toc-link-active-highlight.md delete mode 100644 .changeset/tooltip-disclosure-open-state-conflict.md delete mode 100644 .changeset/wacky-eyes-post.md delete mode 100644 .changeset/webframe-navigate-query.md delete mode 100644 .changeset/webframe-navigate.md delete mode 100644 .changeset/webframe-page-context.md delete mode 100644 .changeset/webmcp-published-docs.md delete mode 100644 .changeset/wet-cases-invite.md delete mode 100644 .changeset/whole-hands-report.md delete mode 100644 .changeset/wild-suns-relate.md diff --git a/.changeset/ai-chat-view-activity-toggle.md b/.changeset/ai-chat-view-activity-toggle.md deleted file mode 100644 index afe0e3344..000000000 --- a/.changeset/ai-chat-view-activity-toggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix "View activity" disclosure in AI Chat not opening after the Base UI migration. diff --git a/.changeset/anchor-scroll-unchanged-hash.md b/.changeset/anchor-scroll-unchanged-hash.md deleted file mode 100644 index c14937ffd..000000000 --- a/.changeset/anchor-scroll-unchanged-hash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Scroll to an in-page heading even when the URL hash is unchanged (e.g. clicking the same anchor again). diff --git a/.changeset/argos-image-rendering-drift.md b/.changeset/argos-image-rendering-drift.md deleted file mode 100644 index 0d55dae9e..000000000 --- a/.changeset/argos-image-rendering-drift.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Force software rendering (SwiftShader) in Playwright Chromium to eliminate image downscaling drift between GPU-equipped local runs and headless CI runs in Argos screenshots. diff --git a/.changeset/assistant-leave-feedback-tools.md b/.changeset/assistant-leave-feedback-tools.md deleted file mode 100644 index 52be4392d..000000000 --- a/.changeset/assistant-leave-feedback-tools.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add `leaveAgentFeedback` and `leaveUserFeedback` assistant tools, reporting documentation findings to the site's team through the same path as the MCP `sendFeedback` tool, and record an `agent_feedback` insights event on both surfaces. diff --git a/.changeset/assistant-recent-questions.md b/.changeset/assistant-recent-questions.md deleted file mode 100644 index 6bd19ba93..000000000 --- a/.changeset/assistant-recent-questions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Stop showing previously asked questions as suggestions in the GitBook Assistant diff --git a/.changeset/assistant-submit-assistant-feedback-tool.md b/.changeset/assistant-submit-assistant-feedback-tool.md deleted file mode 100644 index 7c47daf71..000000000 --- a/.changeset/assistant-submit-assistant-feedback-tool.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add an assistant tool to rate its own previous response when the user reacts to it. diff --git a/.changeset/assistant-submit-page-feedback-tool.md b/.changeset/assistant-submit-page-feedback-tool.md deleted file mode 100644 index 875d3bd26..000000000 --- a/.changeset/assistant-submit-page-feedback-tool.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add an assistant tool to submit feedback about the current page on behalf of the user. diff --git a/.changeset/assistant-type-while-answering.md b/.changeset/assistant-type-while-answering.md deleted file mode 100644 index 760d05d1b..000000000 --- a/.changeset/assistant-type-while-answering.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Assistant: you can now send follow-up questions while an answer is still being written. Each one appears as your own message with a "Queued" badge (hover for when it will send, × to cancel), and they're sent automatically one at a time as each answer completes. diff --git a/.changeset/bound-desktop-card-carousel.md b/.changeset/bound-desktop-card-carousel.md deleted file mode 100644 index 99a21a2dc..000000000 --- a/.changeset/bound-desktop-card-carousel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Simplify carousel overflow with symmetric edge masks and visible-item paging. Replaces complex negative-margin bleed logic with transparent edge fades and page-by-visible-item scrolling. diff --git a/.changeset/breadcrumbs-clear-page-actions.md b/.changeset/breadcrumbs-clear-page-actions.md deleted file mode 100644 index 5578d0473..000000000 --- a/.changeset/breadcrumbs-clear-page-actions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Keep the breadcrumbs from covering the page actions' hit area. diff --git a/.changeset/bright-pages-describe.md b/.changeset/bright-pages-describe.md deleted file mode 100644 index 59685630d..000000000 --- a/.changeset/bright-pages-describe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Include published page descriptions in the page's Markdown output. diff --git a/.changeset/bump-next-16-3-3.md b/.changeset/bump-next-16-3-3.md deleted file mode 100644 index e3f2b1228..000000000 --- a/.changeset/bump-next-16-3-3.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Bump Next.js to 16.3.3. diff --git a/.changeset/cards-carousel-layout.md b/.changeset/cards-carousel-layout.md deleted file mode 100644 index fe7f4bd7e..000000000 --- a/.changeset/cards-carousel-layout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": minor ---- - -Add a carousel layout option to cards blocks, rendering them as a horizontally-scrolling, scroll-snapping row instead of a wrapping grid. diff --git a/.changeset/chubby-adults-poke.md b/.changeset/chubby-adults-poke.md deleted file mode 100644 index f51701275..000000000 --- a/.changeset/chubby-adults-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix select filters not working on table and cards blocks. diff --git a/.changeset/chunk-visitor-auth-cookie.md b/.changeset/chunk-visitor-auth-cookie.md deleted file mode 100644 index de5b14ee5..000000000 --- a/.changeset/chunk-visitor-auth-cookie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Chunk oversized visitor auth cookies to fix an infinite redirect loop when the visitor token exceeds the browser cookie size limit. diff --git a/.changeset/clean-cats-ask.md b/.changeset/clean-cats-ask.md deleted file mode 100644 index 560a22723..000000000 --- a/.changeset/clean-cats-ask.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gitbook': patch ---- - -Fix inline Ask AI buttons opening a configured custom assistant. diff --git a/.changeset/collapsible-reasoning-heading.md b/.changeset/collapsible-reasoning-heading.md deleted file mode 100644 index 4135d9f09..000000000 --- a/.changeset/collapsible-reasoning-heading.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Assistant: the "Explored briefly" activity heading no longer appears when there's nothing to show. It now renders only when the answer is preceded by a real preamble or one or more tool calls, so a simple answer with an empty reasoning step no longer surfaces an empty collapsible. diff --git a/.changeset/contentkit-buttons-natural-width.md b/.changeset/contentkit-buttons-natural-width.md deleted file mode 100644 index 197f9fc06..000000000 --- a/.changeset/contentkit-buttons-natural-width.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix ContentKit buttons to size to their content instead of stretching to the full container width. diff --git a/.changeset/cool-donkeys-invite.md b/.changeset/cool-donkeys-invite.md deleted file mode 100644 index 2348eb841..000000000 --- a/.changeset/cool-donkeys-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Stop the built-in cookie banner from flashing on sites using a consent integration such as Osano or OneTrust. diff --git a/.changeset/cross-space-page-breadcrumbs.md b/.changeset/cross-space-page-breadcrumbs.md deleted file mode 100644 index d5c899290..000000000 --- a/.changeset/cross-space-page-breadcrumbs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix breadcrumbs for cross-space page links in grouped sites. diff --git a/.changeset/dark-mode-toggle-laptop.md b/.changeset/dark-mode-toggle-laptop.md deleted file mode 100644 index 6d30db12b..000000000 --- a/.changeset/dark-mode-toggle-laptop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Show the theme toggle in the footer whenever the outline column that hosts the other toggle isn't pinned open, so it stays reachable on laptop-sized screens in wide layouts and while the AI chat is open. diff --git a/.changeset/disable-inline-image-zoom.md b/.changeset/disable-inline-image-zoom.md deleted file mode 100644 index 4ca93da00..000000000 --- a/.changeset/disable-inline-image-zoom.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Disable click-to-zoom for inline line sized images. diff --git a/.changeset/eighty-donkeys-tease.md b/.changeset/eighty-donkeys-tease.md deleted file mode 100644 index c1936d346..000000000 --- a/.changeset/eighty-donkeys-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Give the prompt block a default "Copy prompt" action alongside "Open in Claude", "Open in Codex" and "Open in Cursor", and remember the visitor's last pick across every prompt block. diff --git a/.changeset/embed-host-actions.md b/.changeset/embed-host-actions.md deleted file mode 100644 index e7c937a6e..000000000 --- a/.changeset/embed-host-actions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix host action buttons in the Docs Embed not reaching the assistant. diff --git a/.changeset/embed-navigate-to-page-normalize.md b/.changeset/embed-navigate-to-page-normalize.md deleted file mode 100644 index a2d7e41bc..000000000 --- a/.changeset/embed-navigate-to-page-normalize.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the docs embed `navigateToPage` API on multi-space sites. Deep-linking to a page in a different space/section (e.g. `navigateToPage('/help-center/integrations')`) previously 404'd because the section base was not placed before `~gitbook/embed/page`. The target is now resolved to its space server-side, so pages in any space resolve correctly. The input accepts the page path, an absolute path, or the full published URL. diff --git a/.changeset/embed-script-color-scheme.md b/.changeset/embed-script-color-scheme.md deleted file mode 100644 index 7e98834bb..000000000 --- a/.changeset/embed-script-color-scheme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the Docs Embed widget rendering with a dark surface when the visitor's OS is in dark mode, even on a light page or a site published with a light theme. The embed script now accepts `?theme=light|dark` to force a scheme. diff --git a/.changeset/embed-search-suggestions.md b/.changeset/embed-search-suggestions.md deleted file mode 100644 index ce5213e6b..000000000 --- a/.changeset/embed-search-suggestions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix suggested question clicks in the embed search not opening the assistant. diff --git a/.changeset/embed-search-tab-navigation.md b/.changeset/embed-search-tab-navigation.md deleted file mode 100644 index 4dd9395b5..000000000 --- a/.changeset/embed-search-tab-navigation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix switching from the Search tab to the Docs or Assistant tab in the embed doing nothing. diff --git a/.changeset/embed-widget-color-scheme.md b/.changeset/embed-widget-color-scheme.md deleted file mode 100644 index df8bf44ee..000000000 --- a/.changeset/embed-widget-color-scheme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gitbook/embed": patch ---- - -Make the Docs Embed widget match the page it is embedded in rather than the visitor's OS: a widget on a light page stays light even when the visitor's system is in dark mode, and the widget's own chrome and the docs inside it always render in the same scheme. Sites published with a single theme impose it on the widget too, since they render in it regardless. The standalone script takes `?theme=light` on its URL, and calling `init` twice now updates the options instead of throwing. diff --git a/.changeset/empty-bears-cheat.md b/.changeset/empty-bears-cheat.md deleted file mode 100644 index 45fd066e2..000000000 --- a/.changeset/empty-bears-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add configurable default visibility to Prompt block diff --git a/.changeset/exact-light-tint-background.md b/.changeset/exact-light-tint-background.md deleted file mode 100644 index 1154980f2..000000000 --- a/.changeset/exact-light-tint-background.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gitbook/colors": patch -"gitbook": patch ---- - -A near-white tint color (e.g. a warm `#F5F3EF`) is now taken as the exact page background, mirroring the existing behavior for near-black tints. The tint's exact lightness, hue and chroma are preserved, and the color is anchored to whichever scale step the active theme renders as the background — so it matches exactly on `muted` (which uses the second step) as well as `clean`. This applies only to near-neutral tints that are light enough to read as a background; saturated or merely light-ish colors keep their normal accent scale. The `bold` theme is unaffected: it already uses the tint for the header and stays intentionally two-tone. diff --git a/.changeset/external-navigation-links.md b/.changeset/external-navigation-links.md deleted file mode 100644 index 9e0a0728b..000000000 --- a/.changeset/external-navigation-links.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": minor ---- - -Support external links in published site navigation. diff --git a/.changeset/fancy-webs-sneeze.md b/.changeset/fancy-webs-sneeze.md deleted file mode 100644 index 54ccc16cc..000000000 --- a/.changeset/fancy-webs-sneeze.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"gitbook": patch ---- - -Introduce client-side content selection (`select`): a site-wide, recency-ordered list of selected slugs, persisted in localStorage and shareable via `?select=`, applied to `` before first paint so the right variant renders with no flash. All variants stay server-rendered, so pages are byte-identical for every visitor (no cache impact). - -Tabs now use it: switching a tab activates its slug, and every tab group offering that slug follows, across pages. Tabs no longer write to the URL fragment (`#` returns to anchors only); deep-links into a tab still activate and scroll to it. diff --git a/.changeset/few-parts-lead.md b/.changeset/few-parts-lead.md deleted file mode 100644 index 12eb6e774..000000000 --- a/.changeset/few-parts-lead.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gitbook/openapi-parser": patch -"@gitbook/react-openapi": patch -"gitbook": patch ---- - -Add missing link reference to OpenAPI models diff --git a/.changeset/filter-internal-url-lookup.md b/.changeset/filter-internal-url-lookup.md deleted file mode 100644 index 27a107ab4..000000000 --- a/.changeset/filter-internal-url-lookup.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Skip internal paths (`~gitbook/*`, `.well-known/oauth-protected-resource`, `llms.txt`, `robots.txt`, `sitemap.xml`, `rss.xml`) when building URL lookup alternatives, to avoid resolving URLs that can never match content. diff --git a/.changeset/filter-published-search-scope.md b/.changeset/filter-published-search-scope.md deleted file mode 100644 index e5f25b6d1..000000000 --- a/.changeset/filter-published-search-scope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Keep published search results within the selected site-space scope during local and remote result fusion. diff --git a/.changeset/fix-space-link-title-regression.md b/.changeset/fix-space-link-title-regression.md deleted file mode 100644 index 43c39a18d..000000000 --- a/.changeset/fix-space-link-title-regression.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix page link titles showing the site section name instead of the target space title. diff --git a/.changeset/funky-jobs-know.md b/.changeset/funky-jobs-know.md deleted file mode 100644 index baa6d57da..000000000 --- a/.changeset/funky-jobs-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gitbook': patch ---- - -Update the URL hash when a tab is selected, so a copied link scrolls back to that tab diff --git a/.changeset/heavy-donuts-shave.md b/.changeset/heavy-donuts-shave.md deleted file mode 100644 index 08090b54b..000000000 --- a/.changeset/heavy-donuts-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Self-host default Google fonts and inline only the @font-face rules of the fonts a site uses, instead of shipping render-blocking stylesheets covering all 23 families on every page. diff --git a/.changeset/hide-anchor-links-landing.md b/.changeset/hide-anchor-links-landing.md deleted file mode 100644 index 4628ca658..000000000 --- a/.changeset/hide-anchor-links-landing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Hide heading and expandable anchor links on pages whose layout disables anchors (landing pages). diff --git a/.changeset/hide-empty-card-fields.md b/.changeset/hide-empty-card-fields.md deleted file mode 100644 index 132664631..000000000 --- a/.changeset/hide-empty-card-fields.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Hide card fields that render no content, along with their title diff --git a/.changeset/hide-intercom-launcher-with-assistant.md b/.changeset/hide-intercom-launcher-with-assistant.md deleted file mode 100644 index 460d990dd..000000000 --- a/.changeset/hide-intercom-launcher-with-assistant.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Hide the Intercom launcher while the Assistant panel is open, so it no longer overlaps the message box. diff --git a/.changeset/hot-views-judge.md b/.changeset/hot-views-judge.md deleted file mode 100644 index 384096100..000000000 --- a/.changeset/hot-views-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add cover image background mode and masks diff --git a/.changeset/hotkeys-usekey.md b/.changeset/hotkeys-usekey.md deleted file mode 100644 index 219b5fa34..000000000 --- a/.changeset/hotkeys-usekey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Upgrade react-hotkeys-hook to v5 and use its native `useKey` option so keyboard shortcuts match the produced key on non-QWERTY layouts. diff --git a/.changeset/inline-button-size.md b/.changeset/inline-button-size.md deleted file mode 100644 index 7edd4cbb0..000000000 --- a/.changeset/inline-button-size.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Button blocks now respect the `size` option, so you can render small, medium, or large buttons. diff --git a/.changeset/integration-tool-context.md b/.changeset/integration-tool-context.md deleted file mode 100644 index 988365bcf..000000000 --- a/.changeset/integration-tool-context.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gitbook/browser-types": patch -"@gitbook/embed": patch -"gitbook": patch ---- - -Add an optional `context` property (string, up to 512 characters) to the `confirmation` of custom AI tools, shown above the confirmation dialog to help the user understand what they are approving or rejecting. The `confirmation` can now also be a function that receives the AI-provided input and returns the confirmation, so the context can be derived dynamically from the arguments the tool is about to run with. Available both to integrations (`GitBookIntegrationTool`) and to embed consumers (`GitBookToolDefinition`). diff --git a/.changeset/isolate-preview-embed.md b/.changeset/isolate-preview-embed.md deleted file mode 100644 index dd8166744..000000000 --- a/.changeset/isolate-preview-embed.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gitbook': patch ---- - -Keep embed demos and frames on the deployment that served them. diff --git a/.changeset/khaki-buses-invent.md b/.changeset/khaki-buses-invent.md deleted file mode 100644 index 5ce7049e6..000000000 --- a/.changeset/khaki-buses-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix a hydration mismatch on every page load caused by the AI chat time-based greeting being computed in the server timezone. diff --git a/.changeset/lazy-mermaid-code-block.md b/.changeset/lazy-mermaid-code-block.md deleted file mode 100644 index a63bf041d..000000000 --- a/.changeset/lazy-mermaid-code-block.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Lazy-load the Mermaid code block so pages that have code blocks but no diagram no longer ship its rendering dependencies. diff --git a/.changeset/lazy-scalar-modal.md b/.changeset/lazy-scalar-modal.md deleted file mode 100644 index e83f28978..000000000 --- a/.changeset/lazy-scalar-modal.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@gitbook/react-openapi": major -"gitbook": patch ---- - -Lazy load the Scalar API client modal and stop preloading the Scalar runtime. The modal is now code-split into its own chunk, fetched in parallel with the runtime only when a reader clicks "Test it", and a spinner is shown on the button until the client opens. - -Breaking: the package no longer ships the modal in its main entry — consumers must serve the emitted `ScalarApiModal` chunk and use a bundler that supports dynamic `import()`, and the Scalar runtime is no longer preloaded on page load. The internal `preloadScalarRuntime` helper is removed. diff --git a/.changeset/light-parts-repeat.md b/.changeset/light-parts-repeat.md deleted file mode 100644 index 98c5770da..000000000 --- a/.changeset/light-parts-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Stop preloading the zoom-modal variant of every zoomable image at render time; it downloaded each image twice during the initial page load. The modal image still loads on hover or click. diff --git a/.changeset/markdown-agent-robots-tag.md b/.changeset/markdown-agent-robots-tag.md deleted file mode 100644 index 1fc034bf5..000000000 --- a/.changeset/markdown-agent-robots-tag.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Serve an indexable `X-Robots-Tag` on markdown pages requested by AI agents diff --git a/.changeset/markdown-page-action-source.md b/.changeset/markdown-page-action-source.md deleted file mode 100644 index 927930487..000000000 --- a/.changeset/markdown-page-action-source.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Bump `@gitbook/api` to 0.199.0, and record a markdown request made from the page actions menu as a page action rather than an agent request. diff --git a/.changeset/mcp-ask-question-tool.md b/.changeset/mcp-ask-question-tool.md deleted file mode 100644 index 25eedc203..000000000 --- a/.changeset/mcp-ask-question-tool.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": minor ---- - -Add an `askQuestion` tool to the site MCP server. Alongside `searchDocumentation` and `getPage`, MCP clients can now ask a natural-language question and get a synthesized answer with links to the source pages, powered by the same AI search backend as the site's "ask a question" experience. The tool accepts an optional `goal` param so calling agents can attach the intent they're trying to accomplish, which tailors the answer and is tracked in analytics. The tool is only exposed on sites that have AI enabled. diff --git a/.changeset/mcp-copy-confirmation-dropdown.md b/.changeset/mcp-copy-confirmation-dropdown.md deleted file mode 100644 index ad5fdbef0..000000000 --- a/.changeset/mcp-copy-confirmation-dropdown.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the page-actions dropdown closing before the "Copied" confirmation could be shown when copying the MCP server URL, an MCP install command, or the page as Markdown. diff --git a/.changeset/mcp-send-feedback-endpoint.md b/.changeset/mcp-send-feedback-endpoint.md deleted file mode 100644 index 60368e18a..000000000 --- a/.changeset/mcp-send-feedback-endpoint.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Submit `sendFeedback` MCP tool findings through the dedicated `submitSiteAgentFeedback` API endpoint. The `pageUrl` is now required and an optional `goal` can be provided. diff --git a/.changeset/mermaid-scroll-zoom-modifier.md b/.changeset/mermaid-scroll-zoom-modifier.md deleted file mode 100644 index d3accfd81..000000000 --- a/.changeset/mermaid-scroll-zoom-modifier.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Mermaid diagrams no longer hijack page scrolling: zooming with the wheel now requires holding Ctrl/Cmd inline, while the fullscreen view keeps free wheel zoom. diff --git a/.changeset/migrate-headless-primitives-to-base-ui.md b/.changeset/migrate-headless-primitives-to-base-ui.md deleted file mode 100644 index c25622f16..000000000 --- a/.changeset/migrate-headless-primitives-to-base-ui.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Migrate the headless UI primitives from Radix and react-aria to Base UI. diff --git a/.changeset/moody-nails-admire.md b/.changeset/moody-nails-admire.md deleted file mode 100644 index 3660db76e..000000000 --- a/.changeset/moody-nails-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Persist content selection (tabs and other `select` blocks) in localStorage only, dropping the `?select=` query parameter from the URL. A tab click still writes the tab's hash, so a copied URL lands on that tab and reactivates it on load. diff --git a/.changeset/noindex-search-ask-urls.md b/.changeset/noindex-search-ask-urls.md deleted file mode 100644 index c062357a2..000000000 --- a/.changeset/noindex-search-ask-urls.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Serve `X-Robots-Tag: noindex` on internal search/assistant URLs (`?q=` / `?ask=`) and stop disallowing them in robots.txt, so Google can crawl the directive and drop them from the index instead of reporting "Indexed, though blocked by robots.txt". diff --git a/.changeset/oauth-consent-screen-redesign.md b/.changeset/oauth-consent-screen-redesign.md deleted file mode 100644 index 7b19bad05..000000000 --- a/.changeset/oauth-consent-screen-redesign.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gitbook': patch ---- - -Redesign the site OAuth consent screen for published sites MCP and translate its strings diff --git a/.changeset/olive-melons-repeat.md b/.changeset/olive-melons-repeat.md deleted file mode 100644 index fddd69661..000000000 --- a/.changeset/olive-melons-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Drop a column instead of shrinking them all when a section group dropdown runs out of room diff --git a/.changeset/olive-pugs-shave.md b/.changeset/olive-pugs-shave.md deleted file mode 100644 index 30543e2cd..000000000 --- a/.changeset/olive-pugs-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Let a section group dropdown scroll when it is taller than the screen diff --git a/.changeset/olive-pumas-invite.md b/.changeset/olive-pumas-invite.md deleted file mode 100644 index 25c3b98d4..000000000 --- a/.changeset/olive-pumas-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the variant switcher linking to the wrong URL for non-default variants of the default section diff --git a/.changeset/openapi-blocks-content-visibility.md b/.changeset/openapi-blocks-content-visibility.md deleted file mode 100644 index f6e6d7459..000000000 --- a/.changeset/openapi-blocks-content-visibility.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Skip the rendering work for off-screen OpenAPI blocks, so pages with many operations stay smooth to scroll. diff --git a/.changeset/openapi-models-on-this-page.md b/.changeset/openapi-models-on-this-page.md deleted file mode 100644 index 11112165d..000000000 --- a/.changeset/openapi-models-on-this-page.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add an "On this page" table of contents on OpenAPI models pages. Each model in a grouped/multi-model "Models" section is now listed as its own section, matching operations and webhooks. diff --git a/.changeset/openapi-scalar-proxy-cookies.md b/.changeset/openapi-scalar-proxy-cookies.md deleted file mode 100644 index a84756869..000000000 --- a/.changeset/openapi-scalar-proxy-cookies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Improve cookie handling in the OpenAPI "Test it" request proxy. diff --git a/.changeset/openapi-scalar-proxy-origin.md b/.changeset/openapi-scalar-proxy-origin.md deleted file mode 100644 index 1151fab68..000000000 --- a/.changeset/openapi-scalar-proxy-origin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Serve the OpenAPI "Test it" request proxy from GitBook's own domain. diff --git a/.changeset/openapi-serializable-context.md b/.changeset/openapi-serializable-context.md deleted file mode 100644 index b99c5b2ec..000000000 --- a/.changeset/openapi-serializable-context.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"gitbook": patch -"@gitbook/react-openapi": minor ---- - -Keep the OpenAPI renderer out of the initial bundle of pages that have no OpenAPI block, by building its context on the client behind a dynamic boundary. diff --git a/.changeset/openapi-webhook-payload-scroll.md b/.changeset/openapi-webhook-payload-scroll.md deleted file mode 100644 index 936e98da2..000000000 --- a/.changeset/openapi-webhook-payload-scroll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix OpenAPI webhook payload and schema example panels being clipped instead of scrollable. diff --git a/.changeset/paragraph-cover-has-invalidation.md b/.changeset/paragraph-cover-has-invalidation.md deleted file mode 100644 index b4fa2b012..000000000 --- a/.changeset/paragraph-cover-has-invalidation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Move paragraph block styles behind a single `paragraph` class and drop the `page-cover-background:` gate from the cover-contrast text. The gate combined with the per-paragraph `:not(:has(...))` made every DOM insertion re-style all paragraphs, which froze very long pages. diff --git a/.changeset/plain-markdown-content-type.md b/.changeset/plain-markdown-content-type.md deleted file mode 100644 index 1214d78e5..000000000 --- a/.changeset/plain-markdown-content-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Serve Markdown responses to ChatGPT with a `text/plain` Content-Type for compatibility. diff --git a/.changeset/preserve-external-search-destinations.md b/.changeset/preserve-external-search-destinations.md deleted file mode 100644 index 43c3bcece..000000000 --- a/.changeset/preserve-external-search-destinations.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Preserve external page destinations returned by published search. diff --git a/.changeset/preserve-global-search-ranking.md b/.changeset/preserve-global-search-ranking.md deleted file mode 100644 index d09fd1ac4..000000000 --- a/.changeset/preserve-global-search-ranking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Use one canonical backend-ranked result set for published searches across site sections. diff --git a/.changeset/preserve-published-search-ranking.md b/.changeset/preserve-published-search-ranking.md deleted file mode 100644 index cfe2ebed8..000000000 --- a/.changeset/preserve-published-search-ranking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Preserve canonical backend ranking and present page or section context that matches each published search destination. diff --git a/.changeset/prev-next-alignment.md b/.changeset/prev-next-alignment.md deleted file mode 100644 index 6d6a40004..000000000 --- a/.changeset/prev-next-alignment.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Align the Previous page navigation button to the left edge and the Next button to the right edge, including when only one of them is present. diff --git a/.changeset/preview-auth-content-path.md b/.changeset/preview-auth-content-path.md deleted file mode 100644 index 3d8dd6f2a..000000000 --- a/.changeset/preview-auth-content-path.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Preserve the full site preview path and query parameters when redirecting users to log in. diff --git a/.changeset/preview-page-not-found.md b/.changeset/preview-page-not-found.md deleted file mode 100644 index 418a0510e..000000000 --- a/.changeset/preview-page-not-found.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix pages resolving to "not found" when a root URL lookup resolves to a custom homepage, by no longer using the homepage pathname as a prefix for the requested page path. diff --git a/.changeset/preview-search-revisions.md b/.changeset/preview-search-revisions.md deleted file mode 100644 index 77c7ee351..000000000 --- a/.changeset/preview-search-revisions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Keep current-space search results inside revision previews. diff --git a/.changeset/prewarm-published-search.md b/.changeset/prewarm-published-search.md deleted file mode 100644 index 01e66bee7..000000000 --- a/.changeset/prewarm-published-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Prewarm published search caches when readers open the search interface. diff --git a/.changeset/proud-crabs-attack.md b/.changeset/proud-crabs-attack.md deleted file mode 100644 index 3886e42f9..000000000 --- a/.changeset/proud-crabs-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Inject site tracking scripts (analytics integrations) after `load` + idle instead of preloading them and executing them during the critical loading window. diff --git a/.changeset/quiet-dogs-merge.md b/.changeset/quiet-dogs-merge.md deleted file mode 100644 index 762a48e92..000000000 --- a/.changeset/quiet-dogs-merge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Render horizontal and vertical merged table cells on published pages. diff --git a/.changeset/quiet-pans-listen.md b/.changeset/quiet-pans-listen.md deleted file mode 100644 index 98ad7a674..000000000 --- a/.changeset/quiet-pans-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix text disappearing in Firefox and iOS Safari on pages with a background cover diff --git a/.changeset/quiet-rivers-render.md b/.changeset/quiet-rivers-render.md deleted file mode 100644 index 7036a10f0..000000000 --- a/.changeset/quiet-rivers-render.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Render a site-space custom home page at its placement root while preserving the full space and normal page URLs. diff --git a/.changeset/quiet-tags-filter.md b/.changeset/quiet-tags-filter.md deleted file mode 100644 index a1c44b7ce..000000000 --- a/.changeset/quiet-tags-filter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Apply release notes tag filters from the URL via CSS before first paint, so the filtered entries, the "page contents" section list, and the tag chip highlighting all show correctly from the start on cached pages, with no flash of unfiltered content. Also stop the "page contents" scroll highlight from defaulting to an entry hidden by the filter. diff --git a/.changeset/relative-insights-visitor-urls.md b/.changeset/relative-insights-visitor-urls.md deleted file mode 100644 index aec780a60..000000000 --- a/.changeset/relative-insights-visitor-urls.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"gitbook": patch ---- - -Fix analytics and adaptive content silently breaking on sites served from a different host than the one configured (apex vs www, domain alias, CDN). The insights and visitor-claims endpoints are now requested relative to the page's own origin instead of the configured host, which a prerendered page cannot know. - -Keep the traffic of GitBook's own preview deployments out of the sites' analytics, now that those requests reach the events endpoint. diff --git a/.changeset/resolve-html-links-in-markdown.md b/.changeset/resolve-html-links-in-markdown.md deleted file mode 100644 index bf19c4bfe..000000000 --- a/.changeset/resolve-html-links-in-markdown.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Resolve stable page, space and file refs in images, definitions and HTML blocks of published markdown pages, instead of leaking internal `/pages/{id}`, `/spaces/{id}` and `/files/{id}` URLs. diff --git a/.changeset/revalidate-fail-closed.md b/.changeset/revalidate-fail-closed.md deleted file mode 100644 index 568e5e353..000000000 --- a/.changeset/revalidate-fail-closed.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fail closed in `/~gitbook/revalidate` when `GITBOOK_SECRET` is not configured, returning `403 Revalidation is disabled` instead of skipping the signature check, consistent with `force-revalidate`. diff --git a/.changeset/rnd-11356-remove-gbo-bestsection.md b/.changeset/rnd-11356-remove-gbo-bestsection.md deleted file mode 100644 index d0adb74b5..000000000 --- a/.changeset/rnd-11356-remove-gbo-bestsection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Remove GBO's redundant re-selection of the best-scoring search section. The search API now returns a single highest-scoring section per page (and orders sections highest-score-first), so GBO no longer needs its own `getBestScoredResult` helper to pick the best section for the search and MCP previews. No user-visible change. diff --git a/.changeset/rnd-11571-embed-light-theme.md b/.changeset/rnd-11571-embed-light-theme.md deleted file mode 100644 index 072f7c43b..000000000 --- a/.changeset/rnd-11571-embed-light-theme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the docs embed not applying `?theme=light`/`?theme=dark`. The theme was dropped when the embed redirected to its default tab, and the embed tabs couldn't read it because they render statically (their request headers are empty). The middleware now threads a forced embed theme through the embed route context (scoped to the embed, not the main site), so the embed tabs honor it while staying statically rendered, and the redirect forwards it to the default tab. The forced theme is also persisted to the embed's own theme storage so it is remembered across tab navigation instead of only applying while the query string is present. diff --git a/.changeset/rnd-11616-responses-selector-sync.md b/.changeset/rnd-11616-responses-selector-sync.md deleted file mode 100644 index ab563228f..000000000 --- a/.changeset/rnd-11616-responses-selector-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Sync the API reference responses selector with the "Responses" collapsibles, and keep the selected response in sync across every operation on the page (like the code sample language selector). Selecting a status code now expands the matching response section and applies to all operations at once. diff --git a/.changeset/rnd-11643-fix-system-theme-flash.md b/.changeset/rnd-11643-fix-system-theme-flash.md deleted file mode 100644 index 621e8270d..000000000 --- a/.changeset/rnd-11643-fix-system-theme-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix a light/dark flash on published sites configured to respect the system default (no theme toggle). Such sites forced the `system` theme, but `next-themes`' pre-paint script applies a forced value verbatim without resolving `prefers-color-scheme`, so the page painted light and only switched to dark after hydration. We now leave the theme unforced when the default is `system` (only concrete light/dark themes are forced), letting `next-themes`' existing pre-paint script resolve the system preference before first paint. diff --git a/.changeset/rnd-11847-mcp-send-feedback.md b/.changeset/rnd-11847-mcp-send-feedback.md deleted file mode 100644 index dc016291b..000000000 --- a/.changeset/rnd-11847-mcp-send-feedback.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add a `sendFeedback` MCP tool so AI agents can report documentation findings (outdated / incoherent / gap / other) as `agent_feedback` insights events. The tool only accepts finding categories, so it never records positive feedback. diff --git a/.changeset/rnd-11847-separate-prompt-block-actions.md b/.changeset/rnd-11847-separate-prompt-block-actions.md deleted file mode 100644 index b93ee22c5..000000000 --- a/.changeset/rnd-11847-separate-prompt-block-actions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Separate the prompt block actions into a primary "Open in" dropdown and a secondary "Copy prompt" button, instead of a single combined button group, and align the block's design with the expandable block (bordered frame, left disclosure chevron, and subtle elevation when expanded). diff --git a/.changeset/rnd-11849-search-focus-hydration.md b/.changeset/rnd-11849-search-focus-hydration.md deleted file mode 100644 index 5478a8110..000000000 --- a/.changeset/rnd-11849-search-focus-hydration.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the search field losing focus if it was focused just before the page finished hydrating. diff --git a/.changeset/rnd-11876-embed-standalone-turbo-output.md b/.changeset/rnd-11876-embed-standalone-turbo-output.md deleted file mode 100644 index 14f556179..000000000 --- a/.changeset/rnd-11876-embed-standalone-turbo-output.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the docs embed widget shipping a stale script: declare the embed package's `standalone/` bundle as a Turbo build output. Because it wasn't declared, changes confined to the standalone widget (which compiles to `standalone/` but not `dist/`) didn't invalidate the downstream `generate` cache that copies it into the app, so the deployed widget could lag the source — e.g. the `clipboard-write` permission on the widget iframe never reached production, breaking the copy button in the Assistant embed. diff --git a/.changeset/rnd-12204-comment-punctuation-color.md b/.changeset/rnd-12204-comment-punctuation-color.md deleted file mode 100644 index aa297293e..000000000 --- a/.changeset/rnd-12204-comment-punctuation-color.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix code block syntax highlighting so comment delimiters (e.g. `//`, `/*`) use the same color as the rest of the comment. Previously the delimiter fell through to the generic punctuation scope, making it a different color from the comment body (most visible in dark mode). diff --git a/.changeset/rnd-12671-modal-close-button.md b/.changeset/rnd-12671-modal-close-button.md deleted file mode 100644 index 771b704db..000000000 --- a/.changeset/rnd-12671-modal-close-button.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gitbook/react-contentkit": patch ---- - -Show a close button on ContentKit modals rendered on published sites. diff --git a/.changeset/rnd-12672-webframe-dispatch-actions.md b/.changeset/rnd-12672-webframe-dispatch-actions.md deleted file mode 100644 index 8789232f2..000000000 --- a/.changeset/rnd-12672-webframe-dispatch-actions.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gitbook/react-contentkit": patch ---- - -Let ContentKit webframes dispatch the built-in `@ui.*` actions. Actions posted from a webframe were forwarded to the integration as a plain re-render instead of being handled, so `@ui.modal.open`, `@ui.modal.close` and `@ui.url.open` did nothing — most visibly, an integration could not close a modal from inside its own webframe. - -Keep `null` values and class instances such as `Date` intact when resolving dynamic bindings in an action, instead of throwing or flattening them to `{}`. diff --git a/.changeset/rnd-12673-search-current-page.md b/.changeset/rnd-12673-search-current-page.md deleted file mode 100644 index 6ae529ef7..000000000 --- a/.changeset/rnd-12673-search-current-page.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Scroll to the top when selecting a search result for the page already being viewed. diff --git a/.changeset/rnd-12681-site-structure-e2e.md b/.changeset/rnd-12681-site-structure-e2e.md deleted file mode 100644 index 815c0e4e5..000000000 --- a/.changeset/rnd-12681-site-structure-e2e.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add end-to-end coverage for root and nested external links in site section navigation. diff --git a/.changeset/rnd-12844-search-section-links-scroll.md b/.changeset/rnd-12844-search-section-links-scroll.md deleted file mode 100644 index 58d5c64a5..000000000 --- a/.changeset/rnd-12844-search-section-links-scroll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix section links in search results opening the page without scrolling to the section. diff --git a/.changeset/scroll-container-overflow-state.md b/.changeset/scroll-container-overflow-state.md deleted file mode 100644 index eda768fcd..000000000 --- a/.changeset/scroll-container-overflow-state.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix ScrollContainer scroll buttons not reflecting content overflow immediately or after dynamic content changes (e.g. search results). diff --git a/.changeset/search-any-section.md b/.changeset/search-any-section.md deleted file mode 100644 index 2e8d56967..000000000 --- a/.changeset/search-any-section.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gitbook': patch ---- - -Allow published search to be scoped to any visible site section. diff --git a/.changeset/search-input-spacebar.md b/.changeset/search-input-spacebar.md deleted file mode 100644 index 52e8784c1..000000000 --- a/.changeset/search-input-spacebar.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the spacebar being ignored in the search bar, which made multi-word queries impossible. diff --git a/.changeset/search-keyboard-focus-trap.md b/.changeset/search-keyboard-focus-trap.md deleted file mode 100644 index 3ee45eb37..000000000 --- a/.changeset/search-keyboard-focus-trap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Keep keyboard focus within search while the results are open. diff --git a/.changeset/search-last-query.md b/.changeset/search-last-query.md deleted file mode 100644 index 3efdb7709..000000000 --- a/.changeset/search-last-query.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Keep the last search query visible after closing search, and restore it when reopening, without breaking navigation when clicking a search result. diff --git a/.changeset/search-result-page-target.md b/.changeset/search-result-page-target.md deleted file mode 100644 index 1054c8f74..000000000 --- a/.changeset/search-result-page-target.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Link page-level search matches to the top of the page while preserving section anchors for section matches. diff --git a/.changeset/search-tab-focus-trap.md b/.changeset/search-tab-focus-trap.md deleted file mode 100644 index b8ac452ac..000000000 --- a/.changeset/search-tab-focus-trap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix keyboard focus getting trapped inside the header search popover, allowing Tab/Shift+Tab to exit it as expected. diff --git a/.changeset/section-hover-link-name.md b/.changeset/section-hover-link-name.md deleted file mode 100644 index 51b095be2..000000000 --- a/.changeset/section-hover-link-name.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Show the containing section name when hovering a direct link to a space. diff --git a/.changeset/section-menu-sidebar-rail.md b/.changeset/section-menu-sidebar-rail.md deleted file mode 100644 index 2db6c36d2..000000000 --- a/.changeset/section-menu-sidebar-rail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the section group menu dismissing while the mouse is still inside it, when the collapsed sidebar rail overlaps the menu on no-sidebar pages. diff --git a/.changeset/section-tabs-loose-section-order.md b/.changeset/section-tabs-loose-section-order.md deleted file mode 100644 index c1587cf11..000000000 --- a/.changeset/section-tabs-loose-section-order.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Show loose sections in a section group dropdown as secondary links unless the group starts with one diff --git a/.changeset/section-tabs-phantom-scroll.md b/.changeset/section-tabs-phantom-scroll.md deleted file mode 100644 index 0e5d0e6ce..000000000 --- a/.changeset/section-tabs-phantom-scroll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Stop the section tabs in the header from showing a scroll button and faded edge when all tabs already fit. diff --git a/.changeset/shiki-out-of-initial-bundle.md b/.changeset/shiki-out-of-initial-bundle.md deleted file mode 100644 index f9cdceff4..000000000 --- a/.changeset/shiki-out-of-initial-bundle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Keep Shiki out of the initial page bundle by splitting the highlighter from the plain-text token helpers, so client code no longer pulls the engine and language bundles in through a shared import. diff --git a/.changeset/shorten-paragraph-ask-tooltip.md b/.changeset/shorten-paragraph-ask-tooltip.md deleted file mode 100644 index 19028516b..000000000 --- a/.changeset/shorten-paragraph-ask-tooltip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Refine the per-paragraph AI ask button: shorten its tooltip to "Ask" (from "Ask about this"), and hide it inside cards where it would otherwise be clipped by the card's overflow. diff --git a/.changeset/silly-wolves-cache.md b/.changeset/silly-wolves-cache.md deleted file mode 100644 index 7f5c4893a..000000000 --- a/.changeset/silly-wolves-cache.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Use cached Git metadata (via @gitbook/api 0.201.0's `cachedMetadata` param) when rendering Edit on Git actions. diff --git a/.changeset/site-heading-font.md b/.changeset/site-heading-font.md deleted file mode 100644 index f31cc2a09..000000000 --- a/.changeset/site-heading-font.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Render headings with the site's heading font when one is configured, falling back to the main font otherwise. diff --git a/.changeset/sparkly-regions-train.md b/.changeset/sparkly-regions-train.md deleted file mode 100644 index 8dfb9e3c4..000000000 --- a/.changeset/sparkly-regions-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the tabs "more" dropdown showing when no tab is overflowing, and stop a tab click re-rendering every tab group on the page. diff --git a/.changeset/split-site-search-requests.md b/.changeset/split-site-search-requests.md deleted file mode 100644 index 53238f16f..000000000 --- a/.changeset/split-site-search-requests.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Split the default-scope site search into two parallel API requests — one restricted to the current site space and one for the other site spaces — rendering each result set as soon as its response arrives. All results are ranked together by score, with the current site space scores boosted. diff --git a/.changeset/sticky-api-page-actions.md b/.changeset/sticky-api-page-actions.md deleted file mode 100644 index b8a2efe1c..000000000 --- a/.changeset/sticky-api-page-actions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Keep the "On this page" and "Ask" buttons pinned below the header while scrolling on desktop API reference pages, so the page outline stays reachable throughout long operations. diff --git a/.changeset/strict-jokes-play.md b/.changeset/strict-jokes-play.md deleted file mode 100644 index fa5130941..000000000 --- a/.changeset/strict-jokes-play.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Hide unfocusable unlabelled button from screen readers diff --git a/.changeset/stricter-back-to-space.md b/.changeset/stricter-back-to-space.md deleted file mode 100644 index 41a2cefe1..000000000 --- a/.changeset/stricter-back-to-space.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Only show the "Back to [space]" shortcut for cross-space links in the table of contents, not for in-content text links or other ways of reaching another space. diff --git a/.changeset/svg-file-attachment-previews.md b/.changeset/svg-file-attachment-previews.md deleted file mode 100644 index b3e3c166b..000000000 --- a/.changeset/svg-file-attachment-previews.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Show image thumbnails, including SVG previews, for file attachments on published sites. diff --git a/.changeset/sweet-ends-occur.md b/.changeset/sweet-ends-occur.md deleted file mode 100644 index 4ccb6fcb0..000000000 --- a/.changeset/sweet-ends-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Let a tab keep its content selection across a rename, by honouring an explicit slug set on the tab instead of always deriving one from its title. diff --git a/.changeset/table-search-empty-padding.md b/.changeset/table-search-empty-padding.md deleted file mode 100644 index 1769cd760..000000000 --- a/.changeset/table-search-empty-padding.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Make the table search "no results" empty state more prominent with vertical spacing so it no longer blends into the content below. diff --git a/.changeset/tap-to-reveal-heading-anchor.md b/.changeset/tap-to-reveal-heading-anchor.md deleted file mode 100644 index f34723adb..000000000 --- a/.changeset/tap-to-reveal-heading-anchor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix heading anchor links being unreachable on touch devices by adding a tap-to-reveal state. The anchor icon now appears after the heading text without wrapping onto an orphan line while retaining its existing desktop placement. Use `pointerup` for the dismiss listener to fix unreliable dismissal on iOS Safari, and enlarge the anchor's touch tap target to a square 24px area (meeting the WCAG 2.5.8 minimum) so the icon stays centered instead of overflowing shorter headings' line height. diff --git a/.changeset/tidy-donkeys-shave.md b/.changeset/tidy-donkeys-shave.md deleted file mode 100644 index 9a65c9e19..000000000 --- a/.changeset/tidy-donkeys-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix search results from a previous scope staying stuck on top of the new results when switching the search filter. diff --git a/.changeset/tidy-mice-eat.md b/.changeset/tidy-mice-eat.md deleted file mode 100644 index e56ca83b4..000000000 --- a/.changeset/tidy-mice-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix tabs nested inside another tab group rendering an empty body once a tab in the outer group was selected. diff --git a/.changeset/tidy-pianos-argue.md b/.changeset/tidy-pianos-argue.md deleted file mode 100644 index b66a1d6d7..000000000 --- a/.changeset/tidy-pianos-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Load the admin toolbar and its CSS lazily so published pages no longer ship a render-blocking stylesheet for admin-only UI. diff --git a/.changeset/tidy-spoons-repeat.md b/.changeset/tidy-spoons-repeat.md deleted file mode 100644 index 0645529af..000000000 --- a/.changeset/tidy-spoons-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Remove the gap between the columns of a section group dropdown holding a large group diff --git a/.changeset/tidy-variant-fallback.md b/.changeset/tidy-variant-fallback.md deleted file mode 100644 index 525e0d7b5..000000000 --- a/.changeset/tidy-variant-fallback.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Remove the fallback query parameter after successful page navigation without adding a browser history entry. diff --git a/.changeset/tidy-wolves-edit-git.md b/.changeset/tidy-wolves-edit-git.md deleted file mode 100644 index 77dc1cda8..000000000 --- a/.changeset/tidy-wolves-edit-git.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Restore Edit on Git page actions for Git-synced pages. diff --git a/.changeset/tired-mails-fall.md b/.changeset/tired-mails-fall.md deleted file mode 100644 index e0867d728..000000000 --- a/.changeset/tired-mails-fall.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Support localized custom AI Assistant greeting subtitles. diff --git a/.changeset/toc-group-first-item-cutoff.md b/.changeset/toc-group-first-item-cutoff.md deleted file mode 100644 index c02945e73..000000000 --- a/.changeset/toc-group-first-item-cutoff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix the first item of a table-of-contents page group appearing cut off (faded under the group header) after client-side navigation. diff --git a/.changeset/toc-link-active-highlight.md b/.changeset/toc-link-active-highlight.md deleted file mode 100644 index 2eb626614..000000000 --- a/.changeset/toc-link-active-highlight.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Highlight a table-of-contents link entry as active when it points to the page — or the section of a page — you are currently viewing. diff --git a/.changeset/tooltip-disclosure-open-state-conflict.md b/.changeset/tooltip-disclosure-open-state-conflict.md deleted file mode 100644 index 0878b3e23..000000000 --- a/.changeset/tooltip-disclosure-open-state-conflict.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix chevrons and open-state styling incorrectly reacting to a tooltip opening on the same trigger, by switching from the shared Base UI `data-popup-open` attribute to `aria-expanded`. diff --git a/.changeset/wacky-eyes-post.md b/.changeset/wacky-eyes-post.md deleted file mode 100644 index 0ef6f6347..000000000 --- a/.changeset/wacky-eyes-post.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -a11y screen reader fixes diff --git a/.changeset/webframe-navigate-query.md b/.changeset/webframe-navigate-query.md deleted file mode 100644 index e28f04109..000000000 --- a/.changeset/webframe-navigate-query.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"gitbook": patch -"@gitbook/react-contentkit": patch ---- - -Support query params in the `@webframe.navigate` action. diff --git a/.changeset/webframe-navigate.md b/.changeset/webframe-navigate.md deleted file mode 100644 index 52baed3b1..000000000 --- a/.changeset/webframe-navigate.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gitbook/react-contentkit": patch -"gitbook": patch ---- - -Let integration block webframes navigate the reader to another page in the site by posting a `@webframe.navigate` action with a `path` (and optional `anchor`). Resolved client-side against the site base path, so navigation stays in-site and drives the standard navigation progress bar. diff --git a/.changeset/webframe-page-context.md b/.changeset/webframe-page-context.md deleted file mode 100644 index 041df33bc..000000000 --- a/.changeset/webframe-page-context.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gitbook/react-contentkit": patch -"gitbook": patch ---- - -Expose the current page (`id`, `path`, `title`) to integration block webframes through the client-only webframe `state.page`, alongside adaptive visitor claims. diff --git a/.changeset/webmcp-published-docs.md b/.changeset/webmcp-published-docs.md deleted file mode 100644 index 57454328c..000000000 --- a/.changeset/webmcp-published-docs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Expose the site's MCP tools to browser agents through WebMCP when the MCP page action is enabled. diff --git a/.changeset/wet-cases-invite.md b/.changeset/wet-cases-invite.md deleted file mode 100644 index a625ea606..000000000 --- a/.changeset/wet-cases-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Only track embed view events once the frame is actually shown to the reader diff --git a/.changeset/whole-hands-report.md b/.changeset/whole-hands-report.md deleted file mode 100644 index 11ed011ec..000000000 --- a/.changeset/whole-hands-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Fix an issue where certain keywords could cause an exception when rendering emojis diff --git a/.changeset/wild-suns-relate.md b/.changeset/wild-suns-relate.md deleted file mode 100644 index fb28d4f3a..000000000 --- a/.changeset/wild-suns-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gitbook": patch ---- - -Add the `select` action to InlineButton. Clicking the button activates its slug, so any block containing that slug switches to it. diff --git a/bun.lock b/bun.lock index 0e680c19c..ab1cab476 100644 --- a/bun.lock +++ b/bun.lock @@ -14,7 +14,7 @@ }, "packages/browser-types": { "name": "@gitbook/browser-types", - "version": "0.1.5", + "version": "0.1.6", "dependencies": { "@gitbook/api": "catalog:", "@gitbook/icons": "workspace:", @@ -40,7 +40,7 @@ }, "packages/colors": { "name": "@gitbook/colors", - "version": "0.4.3", + "version": "0.4.4", "devDependencies": { "bun-types": "catalog:", "tsdown": "catalog:", @@ -49,7 +49,7 @@ }, "packages/embed": { "name": "@gitbook/embed", - "version": "0.5.1", + "version": "0.5.2", "dependencies": { "@gitbook/api": "catalog:", "@gitbook/icons": "workspace:", @@ -110,7 +110,7 @@ }, "packages/gitbook": { "name": "gitbook", - "version": "0.27.2", + "version": "0.28.0", "dependencies": { "@base-ui/react": "catalog:", "@cloudflare/workers-types": "^4.20251011.0", @@ -249,7 +249,7 @@ }, "packages/openapi-parser": { "name": "@gitbook/openapi-parser", - "version": "3.0.12", + "version": "3.0.13", "dependencies": { "@scalar/json-magic": "^0.9.4", "@scalar/openapi-parser": "^0.24.5", @@ -266,7 +266,7 @@ }, "packages/react-contentkit": { "name": "@gitbook/react-contentkit", - "version": "0.7.16", + "version": "0.7.17", "dependencies": { "@gitbook/api": "catalog:", "@gitbook/icons": "workspace:*", @@ -309,7 +309,7 @@ }, "packages/react-openapi": { "name": "@gitbook/react-openapi", - "version": "1.5.15", + "version": "2.0.0", "dependencies": { "@base-ui/react": "catalog:", "@gitbook/expr": "workspace:*", @@ -544,7 +544,7 @@ "@changesets/changelog-git": ["@changesets/changelog-git@0.2.1", "", { "dependencies": { "@changesets/types": "^6.1.0" } }, "sha512-x/xEleCFLH28c3bQeQIyeZf8lFXyDFVn1SgcBiR2Tw/r4IAWlk1fzxCEZ6NxQAjF2Nwtczoen3OA2qR+UawQ8Q=="], - "@changesets/cli": ["@changesets/cli@2.31.0", "", { "dependencies": { "@changesets/apply-release-plan": "^7.1.1", "@changesets/assemble-release-plan": "^6.0.10", "@changesets/changelog-git": "^0.2.1", "@changesets/config": "^3.1.4", "@changesets/errors": "^0.2.0", "@changesets/get-dependents-graph": "^2.1.4", "@changesets/get-release-plan": "^4.0.16", "@changesets/git": "^3.0.4", "@changesets/logger": "^0.1.1", "@changesets/pre": "^2.0.2", "@changesets/read": "^0.6.7", "@changesets/should-skip-package": "^0.1.2", "@changesets/types": "^6.1.0", "@changesets/write": "^0.4.0", "@inquirer/external-editor": "^1.0.2", "@manypkg/get-packages": "^1.1.3", "ansi-colors": "^4.1.3", "enquirer": "^2.4.1", "fs-extra": "^7.0.1", "mri": "^1.2.0", "package-manager-detector": "^0.2.0", "picocolors": "^1.1.0", "resolve-from": "^5.0.0", "semver": "^7.5.3", "spawndamnit": "^3.0.1", "term-size": "^2.1.0" }, "bin": { "changeset": "bin.js" } }, "sha512-AhI4enNTgHu2IZr6K4WZyf0EPch4XVMn1yOMFmCD9gsfBGqMYaHXls5HyDv6/CL5axVQABz68eG30eCtbr2wFg=="], + "@changesets/cli": ["@changesets/cli@2.31.1", "", { "dependencies": { "@changesets/apply-release-plan": "^7.1.1", "@changesets/assemble-release-plan": "^6.0.10", "@changesets/changelog-git": "^0.2.1", "@changesets/config": "^3.1.4", "@changesets/errors": "^0.2.0", "@changesets/get-dependents-graph": "^2.1.4", "@changesets/get-release-plan": "^4.0.16", "@changesets/git": "^3.0.4", "@changesets/logger": "^0.1.1", "@changesets/pre": "^2.0.2", "@changesets/read": "^0.6.7", "@changesets/should-skip-package": "^0.1.2", "@changesets/types": "^6.1.0", "@changesets/write": "^0.4.0", "@inquirer/external-editor": "^1.0.2", "@manypkg/get-packages": "^1.1.3", "ansi-colors": "^4.1.3", "enquirer": "^2.4.1", "fs-extra": "^7.0.1", "mri": "^1.2.0", "package-manager-detector": "^0.2.0", "picocolors": "^1.1.0", "resolve-from": "^5.0.0", "semver": "^7.5.3", "spawndamnit": "^3.0.1", "term-size": "^2.1.0" }, "bin": { "changeset": "bin.js" } }, "sha512-uO05WTcRBwuVOJVSW8Cmpqw6q0WDL53ajGCMyszutvOe5toOnunbpM4jZzf+qxBOz7i0AzopZ8diBuewjmF40w=="], "@changesets/config": ["@changesets/config@3.1.4", "", { "dependencies": { "@changesets/errors": "^0.2.0", "@changesets/get-dependents-graph": "^2.1.4", "@changesets/logger": "^0.1.1", "@changesets/should-skip-package": "^0.1.2", "@changesets/types": "^6.1.0", "@manypkg/get-packages": "^1.1.3", "fs-extra": "^7.0.1", "micromatch": "^4.0.8" } }, "sha512-pf0bvD/v6WI2cRlZ6hzpjtZdSlXDXMAJ+Iz7xfFzV4ZxJ8OGGAON+1qYc99ZPrijnt4xp3VGG7eNvAOGS24V1Q=="], @@ -1030,43 +1030,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.78.0", "", { "os": "android", "cpu": "arm" }, "sha512-Bu819lmAfZMUHErrpe0cEWj3iaefuUODHSU8+UbXy67V/r7/7f4K3FL0NmbD85E+wiFLDYuhP8Zlv0XnVeXshw=="], + "@oxlint/binding-android-arm-eabi": ["@oxlint/binding-android-arm-eabi@1.83.0", "", { "os": "android", "cpu": "arm" }, "sha512-0yGY24EwsLk5YDe6F+VkmZyRHSwJDALa3nIrPpq7FXmp2lV2d0TzvBCGeZk+wgiULRGr5blhyr4QMp5KCXJUqA=="], - "@oxlint/binding-android-arm64": ["@oxlint/binding-android-arm64@1.78.0", "", { "os": "android", "cpu": "arm64" }, "sha512-CDfxZgB61B7buRdY2FJoAYYPPXCZ1EoC1LKscnC5dg3kjobdxiconvAvvN1BmHyW4PyFT3jRLDag/BY/roSNBQ=="], + "@oxlint/binding-android-arm64": ["@oxlint/binding-android-arm64@1.83.0", "", { "os": "android", "cpu": "arm64" }, "sha512-hHfJ0vc17A4iUjH5p9BsTUPYbYRNxGpvD2lbu1aBRk54bzNIx9o5TtYF39QPZcV95DagZd+4DEAw2RH3G2ZsMg=="], - "@oxlint/binding-darwin-arm64": ["@oxlint/binding-darwin-arm64@1.78.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-2Y2U9Ahrz+OO0Ej88f9SJYq51/jUBp1Mc7iZu0ukrbeeZ3gpRGfzIFnoqfHDY96xr0GEfNrPUBFEy0nN5aD7HA=="], + "@oxlint/binding-darwin-arm64": ["@oxlint/binding-darwin-arm64@1.83.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-hsOjYjszLb/3zym/TkzUMPAoQlTJcuzSyEPOAyA+skXJIX9M0o+4JfOtqopX/Vf4hSLrJ98j0nvFo23gzk8auQ=="], - "@oxlint/binding-darwin-x64": ["@oxlint/binding-darwin-x64@1.78.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-rpych6eJq6m9jDRypTEaPD1xysaEW5h9+xuxhGK/QhOg+/xaqPZrCrTNoIl/f3nEjuJeCEmstNDlrE9rJi/3/g=="], + "@oxlint/binding-darwin-x64": ["@oxlint/binding-darwin-x64@1.83.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-mjh5oH2EA+wl5yRJYT9K9G61O2zFlpuv+yf2JwZOi0+dq2FnTUtm1h8i+5Ik0fXPWIu/k84I1psZR9aQsLAnyA=="], - "@oxlint/binding-freebsd-x64": ["@oxlint/binding-freebsd-x64@1.78.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-IcMGrQT3QizkOESUJd5et+rOhVqSkNDfNik1cvrKDqIbzqx9KMtRswpFgkCuNTSwylCFLKhGUu8KmqY1ZnC0Dg=="], + "@oxlint/binding-freebsd-x64": ["@oxlint/binding-freebsd-x64@1.83.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-fNHr64/YaO8YssuoDVC8+F4Uk5enR86q5uxfHkQrjAPs1dbAILOrD2uaud+J7MO8Fx774g44ERLD0IGIvZE48w=="], - "@oxlint/binding-linux-arm-gnueabihf": ["@oxlint/binding-linux-arm-gnueabihf@1.78.0", "", { "os": "linux", "cpu": "arm" }, "sha512-/uLdoJ0IXE6vo/0f0LKjinQAp+re+VMaCWaNT8ENIv2EOCkSsc8SGaflXAuW0Jua2dq5+GLVWm1NQK7P3UFSNQ=="], + "@oxlint/binding-linux-arm-gnueabihf": ["@oxlint/binding-linux-arm-gnueabihf@1.83.0", "", { "os": "linux", "cpu": "arm" }, "sha512-Qpwy3zzAwMj+8/lyYItHmkSMwbkprFNWTK7jPYDOxSyxEhaSLOWYUTCMkjF334J8/WD0nznCCsoBbIH6hpsuIw=="], - "@oxlint/binding-linux-arm-musleabihf": ["@oxlint/binding-linux-arm-musleabihf@1.78.0", "", { "os": "linux", "cpu": "arm" }, "sha512-7xi4Wb/O8NRJhLoUXmDJMUVpNYvB5kefdhFU1Jb8rtae4QoXlTiLwI14X4YvAXVZLNZChP8m5qO9SQAlWQTbkQ=="], + "@oxlint/binding-linux-arm-musleabihf": ["@oxlint/binding-linux-arm-musleabihf@1.83.0", "", { "os": "linux", "cpu": "arm" }, "sha512-s+BirYLFq7JL2k9sP0XI3ZXJ9dYvJ8sX3jLCLoag7tt+zrSHpZxP0jqznfL+Gdgwu7ay0dYgGYJXrQvq3iWloA=="], - "@oxlint/binding-linux-arm64-gnu": ["@oxlint/binding-linux-arm64-gnu@1.78.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-4hFW0+fVXa3OIh1Y4A5SPkmvI4wuuBSrCVKzOyE7PTjhc7yEqZ1pmvEEeS5Lj/MaqvegFxXyF33N+6jkehxdyg=="], + "@oxlint/binding-linux-arm64-gnu": ["@oxlint/binding-linux-arm64-gnu@1.83.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-7lihXt3vKr+GIyapNbHrnFHm/biiW30le6Zv/DExbAFPF6YwCQXVFlONPFehxs0CpGO4CBfYPM9rdDT+XMoIlg=="], - "@oxlint/binding-linux-arm64-musl": ["@oxlint/binding-linux-arm64-musl@1.78.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-oC0mvsgBJjlMijSDEhx9KuvR9zYeHXceA9MjbuXB1F8NSR78Yj2unOBrstEvTVaq+pko+kuue6DajC00eqvTdg=="], + "@oxlint/binding-linux-arm64-musl": ["@oxlint/binding-linux-arm64-musl@1.83.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-q63JalLYVkZiZvls1z3PPUnpmQluOMXp0khqQMznCeAPLGydfNY8JhvuA4WlK57JfrvikU8wB5lPVveqpIXvew=="], - "@oxlint/binding-linux-ppc64-gnu": ["@oxlint/binding-linux-ppc64-gnu@1.78.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-XAllT5SUZS+ohjuZ3/5S0cwe0r7eboiuigeStCZ5DXRYx/2KVM2UvQXvAfyzXEimtQjAB7cDQ2YxDe2Zl2WNQQ=="], + "@oxlint/binding-linux-ppc64-gnu": ["@oxlint/binding-linux-ppc64-gnu@1.83.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-krQmDF+dRbxvdqVPV88ZuOoPPu8X5BuqDA8Hd+qcS4YMRQCb+nexA57DazgGsc/rGdKBe3QmV0mnv0bdpW/p5g=="], - "@oxlint/binding-linux-riscv64-gnu": ["@oxlint/binding-linux-riscv64-gnu@1.78.0", "", { "os": "linux", "cpu": "none" }, "sha512-trucMER/0QtecoXvc1y/UVqE3kwJipDwrx4oHfj+nNm3dq2zjP44WT0CfHNDPM3G1DXIkx/gY6lAD21NSCZVhA=="], + "@oxlint/binding-linux-riscv64-gnu": ["@oxlint/binding-linux-riscv64-gnu@1.83.0", "", { "os": "linux", "cpu": "none" }, "sha512-MmOl8Y6txEAXZU1RG8Rr264jQ6D7VPmqFsU/45x/FeWsGe32hklTqGrLE6UxHzp5Rjt0wP+20tY8YXKgSFB3mw=="], - "@oxlint/binding-linux-riscv64-musl": ["@oxlint/binding-linux-riscv64-musl@1.78.0", "", { "os": "linux", "cpu": "none" }, "sha512-cm3O4F/HQbdzOUX5mKHqG5KDL6E5w0pnlZ+fbBy2rmLryPOowkuLagFHTopQsEIpjcaZoPOrL+BmmAytAG9HFg=="], + "@oxlint/binding-linux-riscv64-musl": ["@oxlint/binding-linux-riscv64-musl@1.83.0", "", { "os": "linux", "cpu": "none" }, "sha512-u1rMymh0W3JZkq370kzQsYPULGWqhE09pZRqnZvUSoYaI9pVO5yVX+iYIslmWuEgwuzH9YAaOsScJiobWCHoOw=="], - "@oxlint/binding-linux-s390x-gnu": ["@oxlint/binding-linux-s390x-gnu@1.78.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-33wRf6HqGNsybJ3qX4cGaQN2ODPxNmc1rMa0mrTmx3eFq1VzOnvQooi9bIGVYakW8a/wmqVx1mgsUm8R2xfTiw=="], + "@oxlint/binding-linux-s390x-gnu": ["@oxlint/binding-linux-s390x-gnu@1.83.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-y0zK3HNwGysu7rqtE+BQG/d0bx5gh/KwlOtghN8oWeK1KcWzeaLqtZrbm8owqdma1lFyrce/hTO5ismuNu+INQ=="], - "@oxlint/binding-linux-x64-gnu": ["@oxlint/binding-linux-x64-gnu@1.78.0", "", { "os": "linux", "cpu": "x64" }, "sha512-rRdISSYegj6VganMZ9tjRjijowfHJ09IZU01i0toBAqr6n5LEtwHq2IeS4FjW2RoskOHlb6efB26H5izYb3GEQ=="], + "@oxlint/binding-linux-x64-gnu": ["@oxlint/binding-linux-x64-gnu@1.83.0", "", { "os": "linux", "cpu": "x64" }, "sha512-rS5gM0NgD7ngmuJmbIehsidtrOwKkLFwCQbKEeb9KuyQrrWNq5Zkn0uV6AYdXOMJ0grrWEiLwBuvMxt8w5vsNw=="], - "@oxlint/binding-linux-x64-musl": ["@oxlint/binding-linux-x64-musl@1.78.0", "", { "os": "linux", "cpu": "x64" }, "sha512-GmsP4rW0xTL6u5CVdcDsaN5Fbc7hBc382Wmar1kttbnwSEviM+rSINKOMQ+UQ6iH+AGwC+8gaAiwu134Tgh6Lg=="], + "@oxlint/binding-linux-x64-musl": ["@oxlint/binding-linux-x64-musl@1.83.0", "", { "os": "linux", "cpu": "x64" }, "sha512-W2IH4EtpcPaWcvNGCA95YoDg4vxqE/ZiPCi3arrxEEpsK7+JQN9WYwrlYFx9pcdP6KPXqRqkv3zdQPHcx7b6YQ=="], - "@oxlint/binding-openharmony-arm64": ["@oxlint/binding-openharmony-arm64@1.78.0", "", { "os": "none", "cpu": "arm64" }, "sha512-sy9yeYuADc8a+n4TLBayzMCZiHPW78DcIFVpOXTmdKHWQeM9xe5uzkqIIZmi326D5hY9XVwacipEB1p7tQjPAg=="], + "@oxlint/binding-openharmony-arm64": ["@oxlint/binding-openharmony-arm64@1.83.0", "", { "os": "none", "cpu": "arm64" }, "sha512-6LyKkUyoajssTPLlZmDbZIbu4IZ5B4bGuRUnBgCGpEvHP3FQMaYITncHA/unPUo7q+Z+pIu2HhdkQ+8d1SG7iA=="], - "@oxlint/binding-win32-arm64-msvc": ["@oxlint/binding-win32-arm64-msvc@1.78.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-rjc2hF1KfMi8fZj1X/m3AmnHbdsF3rL0v6KQg0Uc880Yb2khjz+3U14sfdZ7jWTpRnN1m1NQa/TT7uU9lJWPrA=="], + "@oxlint/binding-win32-arm64-msvc": ["@oxlint/binding-win32-arm64-msvc@1.83.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-Uz/fObEtF0jmNJQJ8CGRBKfefYstS0/wjD3s6IGzP8nUwsJykHQJBiN3npHwKiGRGn/vvBEgNr4B3cCzmmatvg=="], - "@oxlint/binding-win32-ia32-msvc": ["@oxlint/binding-win32-ia32-msvc@1.78.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-zcuXFVrEFHIafRfkCQT8w/Xe41o07ozl/vwHq7p94vB29xVzsB0sZGYORU1jhcYKv3Lr0J3HbJ2T4fHH5rWmvA=="], + "@oxlint/binding-win32-ia32-msvc": ["@oxlint/binding-win32-ia32-msvc@1.83.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-u7XcvPW6Bk58tY5iWs2ESb0vJjoE/kuSpHxopbwp/p3ZtWVQXZ6wor5w3ssVTHOqd/v8b+QdhSFWQ4grEUNWpA=="], - "@oxlint/binding-win32-x64-msvc": ["@oxlint/binding-win32-x64-msvc@1.78.0", "", { "os": "win32", "cpu": "x64" }, "sha512-Sb5ocmLSuYeOuXd+CFOToGKp/gjXUEWDnvIGwhnh8aq8wY4TMmEnKnvbogSW7RdMZv77JSARduS7/gv+khYEjA=="], + "@oxlint/binding-win32-x64-msvc": ["@oxlint/binding-win32-x64-msvc@1.83.0", "", { "os": "win32", "cpu": "x64" }, "sha512-LZRubd7ph13QmAg4fFecTYVZkiYbROR2Htaxh/ufWRkDhPOm2wrwaEYR89e0YpPFD3dqBrPoxS7myBw5hmYA7Q=="], "@panzoom/panzoom": ["@panzoom/panzoom@4.6.1", "", {}, "sha512-ogf/KhHHjj+DYAvHfaf3TXMQ8OE36pJtKpabLlx1OmpjcgtpCvkUoCiNONA8kuVRPGJdLiqMf0n8LRFXj1OyuA=="], @@ -1368,17 +1368,17 @@ "@tsconfig/strictest": ["@tsconfig/strictest@2.0.6", "", {}, "sha512-tPOhmDhIUcDjvpDDYyiUdssP84Eqm7n5KxJe5J3/g+s6xoDIPAf+SIn06dhw7VkhxIvLOnhDDrX7tsqMHNEhDg=="], - "@turbo/darwin-64": ["@turbo/darwin-64@2.10.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-guuiO2kKc7yUQFU2jhWyM/BrYGD/brqb0+JvJIXTQ/QI1NlWfHZ1id50kkkOWqxmBiDc8DgW2orfY85pQIc7gw=="], + "@turbo/darwin-64": ["@turbo/darwin-64@2.10.13", "", { "os": "darwin", "cpu": "x64" }, "sha512-m5DBcpkxmcKpEJHHFUfqf9GLUjSmw3cDnBJM9nghPW3kjCNb5OyNKmzG7/yT5x5AwzOO+HMwKN+UI4iVKL87YA=="], - "@turbo/darwin-arm64": ["@turbo/darwin-arm64@2.10.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-UglEDl/r1/h5Vw6oS6cEE29Jugz2sDLxHCSupNznKatj1fDMRXFqYKFcbvm8RTFhtYPI45NxkrPNo9BqNychBg=="], + "@turbo/darwin-arm64": ["@turbo/darwin-arm64@2.10.13", "", { "os": "darwin", "cpu": "arm64" }, "sha512-vfKPvSuoY8BJGj8M8yN+a7aq1g+CejbEacDSDlJLDkSbPN3J/U1DbYAmPG8Ype5XvImI0SgfvUhIorNnFj67zw=="], - "@turbo/linux-64": ["@turbo/linux-64@2.10.3", "", { "os": "linux", "cpu": "x64" }, "sha512-KuQxaPWD7OBmwEZqO0sgijwcuXR5eMWbo7BEt2m1D2Q3RylJDj7WMcJ0Btv2VJA0QC+khzAaTAm1yWowJ0CWAw=="], + "@turbo/linux-64": ["@turbo/linux-64@2.10.13", "", { "os": [ "linux", "android", ], "cpu": "x64" }, "sha512-Zp0N5M6j9iEjJtFLTA2L+52TLuYy0VbXT3zLZzfMeqqdKSUJ7pDo2pA1NhqjoQcF2dIsktZ8xZRW3pGI6T81fw=="], - "@turbo/linux-arm64": ["@turbo/linux-arm64@2.10.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-DPkIKQ+6p0sho3Cx/e/A3F+AKgXQJA+z//cHsTcyyM1YWRGSYA0UTP8NUpb4iS2tVBSniGwmjRUr73hpq8kcDg=="], + "@turbo/linux-arm64": ["@turbo/linux-arm64@2.10.13", "", { "os": [ "linux", "android", ], "cpu": "arm64" }, "sha512-M8XcfWdS2D4EP3wzd5ehUyCANucMIOsRE6gZuV0Mr2NIn+FpsUjXFCh7r9HY7GnNcjXH4tUnT76OsCDg2c0Fng=="], - "@turbo/windows-64": ["@turbo/windows-64@2.10.3", "", { "os": "win32", "cpu": "x64" }, "sha512-8NvFAze9D4PsosZAnK3aGqHz2vLzREz9lNIxLgfE0jRchq2sZQE190cwFm7WX17yg3ftPvwCvWH3rhLbG1UHCQ=="], + "@turbo/windows-64": ["@turbo/windows-64@2.10.13", "", { "os": "win32", "cpu": "x64" }, "sha512-QFd3KBMpBBCc31TbxMnxgdBivie8lxJXV8EqmanH8fg8l2e1BdCLWpZJbxk48VNvcF4LHUnwO0FJOq+veKN1cw=="], - "@turbo/windows-arm64": ["@turbo/windows-arm64@2.10.3", "", { "os": "win32", "cpu": "arm64" }, "sha512-AqjqV5cHbFa0YRaQ+Dyw6lSm6as4h/Uf8LcZ7VN8i+Odr23ShFD5SUvVAR1d3rZqibFVs9c0VdtXdfQfkdcs3A=="], + "@turbo/windows-arm64": ["@turbo/windows-arm64@2.10.13", "", { "os": "win32", "cpu": "arm64" }, "sha512-rM+cFO1P8iAHXdasOdMyK9nDk0UGII7VEFLIA8+jwv/+rh48pnVBbF2OSjJDBOw57pxNLIOEDA0JyKcarTBcIw=="], "@tusbar/cache-control": ["@tusbar/cache-control@1.0.2", "", {}, "sha512-PXfjYTYBVvMPYCLDWj+xIOA9ITFbbhWCHzLcqUCJ5TPGm4JO4cxpGb7x3K8Q1K1ADgNgfBxLsDcTMVRydtZB9A=="], @@ -2712,7 +2712,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.78.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.78.0", "@oxlint/binding-android-arm64": "1.78.0", "@oxlint/binding-darwin-arm64": "1.78.0", "@oxlint/binding-darwin-x64": "1.78.0", "@oxlint/binding-freebsd-x64": "1.78.0", "@oxlint/binding-linux-arm-gnueabihf": "1.78.0", "@oxlint/binding-linux-arm-musleabihf": "1.78.0", "@oxlint/binding-linux-arm64-gnu": "1.78.0", "@oxlint/binding-linux-arm64-musl": "1.78.0", "@oxlint/binding-linux-ppc64-gnu": "1.78.0", "@oxlint/binding-linux-riscv64-gnu": "1.78.0", "@oxlint/binding-linux-riscv64-musl": "1.78.0", "@oxlint/binding-linux-s390x-gnu": "1.78.0", "@oxlint/binding-linux-x64-gnu": "1.78.0", "@oxlint/binding-linux-x64-musl": "1.78.0", "@oxlint/binding-openharmony-arm64": "1.78.0", "@oxlint/binding-win32-arm64-msvc": "1.78.0", "@oxlint/binding-win32-ia32-msvc": "1.78.0", "@oxlint/binding-win32-x64-msvc": "1.78.0" }, "peerDependencies": { "oxlint-tsgolint": ">=7.0.2001", "vite-plus": "*" }, "optionalPeers": ["oxlint-tsgolint", "vite-plus"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-QgQePuxIqKOzo1KSjG2EnITEeWvWnKAm77eq8nrMtf6AGoA+zyGc4PFYtDNJSD25g/ibOwfQ851hZ4/SPkMVoA=="], + "oxlint": ["oxlint@1.83.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.83.0", "@oxlint/binding-android-arm64": "1.83.0", "@oxlint/binding-darwin-arm64": "1.83.0", "@oxlint/binding-darwin-x64": "1.83.0", "@oxlint/binding-freebsd-x64": "1.83.0", "@oxlint/binding-linux-arm-gnueabihf": "1.83.0", "@oxlint/binding-linux-arm-musleabihf": "1.83.0", "@oxlint/binding-linux-arm64-gnu": "1.83.0", "@oxlint/binding-linux-arm64-musl": "1.83.0", "@oxlint/binding-linux-ppc64-gnu": "1.83.0", "@oxlint/binding-linux-riscv64-gnu": "1.83.0", "@oxlint/binding-linux-riscv64-musl": "1.83.0", "@oxlint/binding-linux-s390x-gnu": "1.83.0", "@oxlint/binding-linux-x64-gnu": "1.83.0", "@oxlint/binding-linux-x64-musl": "1.83.0", "@oxlint/binding-openharmony-arm64": "1.83.0", "@oxlint/binding-win32-arm64-msvc": "1.83.0", "@oxlint/binding-win32-ia32-msvc": "1.83.0", "@oxlint/binding-win32-x64-msvc": "1.83.0" }, "peerDependencies": { "oxlint-tsgolint": ">=7.0.2001", "vite-plus": "*" }, "optionalPeers": ["oxlint-tsgolint", "vite-plus"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-cyDzSzaw3uzP0TeCeq3lLRPPoaUxkbB4ZOXj+kn+5r+BX9V+4bNVGk9lxer+WrgcpebH4JxLlJ3KQjveVztOLQ=="], "p-filter": ["p-filter@2.1.0", "", { "dependencies": { "p-map": "^2.0.0" } }, "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw=="], @@ -2958,7 +2958,7 @@ "secure-json-parse": ["secure-json-parse@2.7.0", "", {}, "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw=="], - "semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + "semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="], "send": ["send@1.1.0", "", { "dependencies": { "debug": "^4.3.5", "destroy": "^1.2.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^0.5.2", "http-errors": "^2.0.0", "mime-types": "^2.1.35", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.1" } }, "sha512-v67WcEouB5GxbTWL/4NeToqcZiAWEq90N888fczVArY8A79J0L4FD7vj5hm3eUMua5EpoQ59wa/oovY6TLvRUA=="], @@ -3148,7 +3148,7 @@ "tsx": ["tsx@4.21.0", "", { "dependencies": { "esbuild": "~0.27.0", "get-tsconfig": "^4.7.5" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "bin": { "tsx": "dist/cli.mjs" } }, "sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw=="], - "turbo": ["turbo@2.10.3", "", { "optionalDependencies": { "@turbo/darwin-64": "2.10.3", "@turbo/darwin-arm64": "2.10.3", "@turbo/linux-64": "2.10.3", "@turbo/linux-arm64": "2.10.3", "@turbo/windows-64": "2.10.3", "@turbo/windows-arm64": "2.10.3" }, "bin": { "turbo": "bin/turbo" } }, "sha512-uZIqzfgtWbyqu1Tqwdd0giRnPGgL0ejbcdF8eZLJhtTTVSrOgArZGzYeXTD6XNcc7ANgdhqex11Y9bHBeyiQLQ=="], + "turbo": ["turbo@2.10.13", "", { "optionalDependencies": { "@turbo/darwin-64": "2.10.13", "@turbo/darwin-arm64": "2.10.13", "@turbo/linux-64": "2.10.13", "@turbo/linux-arm64": "2.10.13", "@turbo/windows-64": "2.10.13", "@turbo/windows-arm64": "2.10.13" }, "bin": { "turbo": "bin/turbo" } }, "sha512-69MkPbjk+G8oyC7pC2DeBk0rPdbLz51wuH5eAT0Q4BVJkzq/b1XM4kUUidsARbmDjwIELSJwd1ezITULY9kWNw=="], "type": ["type@2.7.3", "", {}, "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ=="], @@ -3358,6 +3358,12 @@ "@babel/highlight/picocolors": ["picocolors@1.1.0", "", {}, "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw=="], + "@changesets/apply-release-plan/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + + "@changesets/assemble-release-plan/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + + "@changesets/get-dependents-graph/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + "@changesets/logger/picocolors": ["picocolors@1.1.0", "", {}, "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw=="], "@codemirror/lang-html/@codemirror/autocomplete": ["@codemirror/autocomplete@6.18.1", "", { "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.17.0", "@lezer/common": "^1.0.0" } }, "sha512-iWHdj/B1ethnHRTwZj+C1obmmuCzquH29EbcKr0qIjA9NfDeBDJ7vs+WOHsFeLeflE4o+dHfYndJloMKHUkWUA=="], @@ -3904,8 +3910,6 @@ "sharp/detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], - "sharp/semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="], - "side-channel-list/object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="], "side-channel-map/get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="], @@ -4326,6 +4330,8 @@ "miniflare/sharp/detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], + "miniflare/sharp/semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + "pino-abstract-transport/readable-stream/string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="], "radix-vue/@floating-ui/dom/@floating-ui/core": ["@floating-ui/core@1.6.8", "", { "dependencies": { "@floating-ui/utils": "^0.2.8" } }, "sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA=="], diff --git a/package.json b/package.json index 62293f0c5..a14cdcc53 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "node": "^22.3.0" }, "devDependencies": { - "@changesets/cli": "^2.31.0", + "@changesets/cli": "^2.31.1", "oxfmt": "^0.62.0", - "oxlint": "^1.77.0", - "turbo": "^2.10.3", + "oxlint": "^1.83.0", + "turbo": "^2.10.13", "vercel": "50.37.3" }, "packageManager": "bun@1.3.7", diff --git a/packages/browser-types/CHANGELOG.md b/packages/browser-types/CHANGELOG.md index 6d6c95b70..364874fdc 100644 --- a/packages/browser-types/CHANGELOG.md +++ b/packages/browser-types/CHANGELOG.md @@ -1,5 +1,11 @@ # @gitbook/browser-types +## 0.1.6 + +### Patch Changes + +- bf674a4: Add an optional `context` property (string, up to 512 characters) to the `confirmation` of custom AI tools, shown above the confirmation dialog to help the user understand what they are approving or rejecting. The `confirmation` can now also be a function that receives the AI-provided input and returns the confirmation, so the context can be derived dynamically from the arguments the tool is about to run with. Available both to integrations (`GitBookIntegrationTool`) and to embed consumers (`GitBookToolDefinition`). + ## 0.1.5 ### Patch Changes diff --git a/packages/browser-types/package.json b/packages/browser-types/package.json index d30c85780..4cf08d1d0 100644 --- a/packages/browser-types/package.json +++ b/packages/browser-types/package.json @@ -9,7 +9,7 @@ } }, "sideEffects": false, - "version": "0.1.5", + "version": "0.1.6", "dependencies": { "@gitbook/api": "catalog:", "@gitbook/icons": "workspace:" diff --git a/packages/colors/CHANGELOG.md b/packages/colors/CHANGELOG.md index 01ab75c5b..0d9656403 100644 --- a/packages/colors/CHANGELOG.md +++ b/packages/colors/CHANGELOG.md @@ -1,5 +1,11 @@ # @gitbook/colors +## 0.4.4 + +### Patch Changes + +- a69a307: A near-white tint color (e.g. a warm `#F5F3EF`) is now taken as the exact page background, mirroring the existing behavior for near-black tints. The tint's exact lightness, hue and chroma are preserved, and the color is anchored to whichever scale step the active theme renders as the background — so it matches exactly on `muted` (which uses the second step) as well as `clean`. This applies only to near-neutral tints that are light enough to read as a background; saturated or merely light-ish colors keep their normal accent scale. The `bold` theme is unaffected: it already uses the tint for the header and stays intentionally two-tone. + ## 0.4.3 ### Patch Changes diff --git a/packages/colors/package.json b/packages/colors/package.json index 3eefce7b6..7383f1f50 100644 --- a/packages/colors/package.json +++ b/packages/colors/package.json @@ -8,7 +8,7 @@ } }, "sideEffects": false, - "version": "0.4.3", + "version": "0.4.4", "devDependencies": { "bun-types": "catalog:", "tsdown": "catalog:", diff --git a/packages/embed/CHANGELOG.md b/packages/embed/CHANGELOG.md index 558d41aed..d1c6d7ad8 100644 --- a/packages/embed/CHANGELOG.md +++ b/packages/embed/CHANGELOG.md @@ -1,5 +1,12 @@ # @gitbook/embed +## 0.5.2 + +### Patch Changes + +- 94a496c: Make the Docs Embed widget match the page it is embedded in rather than the visitor's OS: a widget on a light page stays light even when the visitor's system is in dark mode, and the widget's own chrome and the docs inside it always render in the same scheme. Sites published with a single theme impose it on the widget too, since they render in it regardless. The standalone script takes `?theme=light` on its URL, and calling `init` twice now updates the options instead of throwing. +- bf674a4: Add an optional `context` property (string, up to 512 characters) to the `confirmation` of custom AI tools, shown above the confirmation dialog to help the user understand what they are approving or rejecting. The `confirmation` can now also be a function that receives the AI-provided input and returns the confirmation, so the context can be derived dynamically from the arguments the tool is about to run with. Available both to integrations (`GitBookIntegrationTool`) and to embed consumers (`GitBookToolDefinition`). + ## 0.5.1 ### Patch Changes diff --git a/packages/embed/package.json b/packages/embed/package.json index 720ad6474..b58dd570a 100644 --- a/packages/embed/package.json +++ b/packages/embed/package.json @@ -13,7 +13,7 @@ } }, "sideEffects": false, - "version": "0.5.1", + "version": "0.5.2", "dependencies": { "@gitbook/api": "catalog:", "@gitbook/icons": "workspace:", diff --git a/packages/gitbook/CHANGELOG.md b/packages/gitbook/CHANGELOG.md index 359c414a6..ab25575be 100644 --- a/packages/gitbook/CHANGELOG.md +++ b/packages/gitbook/CHANGELOG.md @@ -1,5 +1,180 @@ # gitbook +## 0.28.0 + +### Minor Changes + +- 3d37684: Add a carousel layout option to cards blocks, rendering them as a horizontally-scrolling, scroll-snapping row instead of a wrapping grid. +- 523b7cd: Support external links in published site navigation. +- 89c4a0f: Add an `askQuestion` tool to the site MCP server. Alongside `searchDocumentation` and `getPage`, MCP clients can now ask a natural-language question and get a synthesized answer with links to the source pages, powered by the same AI search backend as the site's "ask a question" experience. The tool accepts an optional `goal` param so calling agents can attach the intent they're trying to accomplish, which tailors the answer and is tracked in analytics. The tool is only exposed on sites that have AI enabled. + +### Patch Changes + +- 048c4e4: Fix "View activity" disclosure in AI Chat not opening after the Base UI migration. +- 996d7ec: Scroll to an in-page heading even when the URL hash is unchanged (e.g. clicking the same anchor again). +- fa9c9b3: Force software rendering (SwiftShader) in Playwright Chromium to eliminate image downscaling drift between GPU-equipped local runs and headless CI runs in Argos screenshots. +- a9e6814: Add `leaveAgentFeedback` and `leaveUserFeedback` assistant tools, reporting documentation findings to the site's team through the same path as the MCP `sendFeedback` tool, and record an `agent_feedback` insights event on both surfaces. +- d9fc460: Stop showing previously asked questions as suggestions in the GitBook Assistant +- 1ee1853: Add an assistant tool to rate its own previous response when the user reacts to it. +- cef1870: Add an assistant tool to submit feedback about the current page on behalf of the user. +- 49d35aa: Assistant: you can now send follow-up questions while an answer is still being written. Each one appears as your own message with a "Queued" badge (hover for when it will send, × to cancel), and they're sent automatically one at a time as each answer completes. +- 8ad7465: Simplify carousel overflow with symmetric edge masks and visible-item paging. Replaces complex negative-margin bleed logic with transparent edge fades and page-by-visible-item scrolling. +- b3db1c5: Keep the breadcrumbs from covering the page actions' hit area. +- 9b822ab: Include published page descriptions in the page's Markdown output. +- 64e143a: Bump Next.js to 16.3.3. +- c08d05a: Fix select filters not working on table and cards blocks. +- a566153: Chunk oversized visitor auth cookies to fix an infinite redirect loop when the visitor token exceeds the browser cookie size limit. +- 1b7ac0e: Fix inline Ask AI buttons opening a configured custom assistant. +- ae9367d: Assistant: the "Explored briefly" activity heading no longer appears when there's nothing to show. It now renders only when the answer is preceded by a real preamble or one or more tool calls, so a simple answer with an empty reasoning step no longer surfaces an empty collapsible. +- 688515e: Fix ContentKit buttons to size to their content instead of stretching to the full container width. +- e041e49: Stop the built-in cookie banner from flashing on sites using a consent integration such as Osano or OneTrust. +- 5f88f4e: Fix breadcrumbs for cross-space page links in grouped sites. +- 1ef7160: Show the theme toggle in the footer whenever the outline column that hosts the other toggle isn't pinned open, so it stays reachable on laptop-sized screens in wide layouts and while the AI chat is open. +- 3939125: Disable click-to-zoom for inline line sized images. +- 39316fc: Give the prompt block a default "Copy prompt" action alongside "Open in Claude", "Open in Codex" and "Open in Cursor", and remember the visitor's last pick across every prompt block. +- 177ef85: Fix host action buttons in the Docs Embed not reaching the assistant. +- 4e9071d: Fix the docs embed `navigateToPage` API on multi-space sites. Deep-linking to a page in a different space/section (e.g. `navigateToPage('/help-center/integrations')`) previously 404'd because the section base was not placed before `~gitbook/embed/page`. The target is now resolved to its space server-side, so pages in any space resolve correctly. The input accepts the page path, an absolute path, or the full published URL. +- 94a496c: Fix the Docs Embed widget rendering with a dark surface when the visitor's OS is in dark mode, even on a light page or a site published with a light theme. The embed script now accepts `?theme=light|dark` to force a scheme. +- 9002f65: Fix suggested question clicks in the embed search not opening the assistant. +- 13059b8: Fix switching from the Search tab to the Docs or Assistant tab in the embed doing nothing. +- b5f3c14: Add configurable default visibility to Prompt block +- a69a307: A near-white tint color (e.g. a warm `#F5F3EF`) is now taken as the exact page background, mirroring the existing behavior for near-black tints. The tint's exact lightness, hue and chroma are preserved, and the color is anchored to whichever scale step the active theme renders as the background — so it matches exactly on `muted` (which uses the second step) as well as `clean`. This applies only to near-neutral tints that are light enough to read as a background; saturated or merely light-ish colors keep their normal accent scale. The `bold` theme is unaffected: it already uses the tint for the header and stays intentionally two-tone. +- f9ad9b5: Introduce client-side content selection (`select`): a site-wide, recency-ordered list of selected slugs, persisted in localStorage and shareable via `?select=`, applied to `` before first paint so the right variant renders with no flash. All variants stay server-rendered, so pages are byte-identical for every visitor (no cache impact). + + Tabs now use it: switching a tab activates its slug, and every tab group offering that slug follows, across pages. Tabs no longer write to the URL fragment (`#` returns to anchors only); deep-links into a tab still activate and scroll to it. + +- 03bbacf: Add missing link reference to OpenAPI models +- 530f98a: Skip internal paths (`~gitbook/*`, `.well-known/oauth-protected-resource`, `llms.txt`, `robots.txt`, `sitemap.xml`, `rss.xml`) when building URL lookup alternatives, to avoid resolving URLs that can never match content. +- cc441c9: Keep published search results within the selected site-space scope during local and remote result fusion. +- 4452fd7: Fix page link titles showing the site section name instead of the target space title. +- d0a63ba: Update the URL hash when a tab is selected, so a copied link scrolls back to that tab +- 7bab574: Self-host default Google fonts and inline only the @font-face rules of the fonts a site uses, instead of shipping render-blocking stylesheets covering all 23 families on every page. +- 05cff0a: Hide heading and expandable anchor links on pages whose layout disables anchors (landing pages). +- 6928a9b: Hide card fields that render no content, along with their title +- 3ae1524: Hide the Intercom launcher while the Assistant panel is open, so it no longer overlaps the message box. +- c41cf9c: Add cover image background mode and masks +- 56c2558: Upgrade react-hotkeys-hook to v5 and use its native `useKey` option so keyboard shortcuts match the produced key on non-QWERTY layouts. +- 39156ee: Button blocks now respect the `size` option, so you can render small, medium, or large buttons. +- bf674a4: Add an optional `context` property (string, up to 512 characters) to the `confirmation` of custom AI tools, shown above the confirmation dialog to help the user understand what they are approving or rejecting. The `confirmation` can now also be a function that receives the AI-provided input and returns the confirmation, so the context can be derived dynamically from the arguments the tool is about to run with. Available both to integrations (`GitBookIntegrationTool`) and to embed consumers (`GitBookToolDefinition`). +- c1b5be0: Keep embed demos and frames on the deployment that served them. +- b13fd91: Fix a hydration mismatch on every page load caused by the AI chat time-based greeting being computed in the server timezone. +- 2ccd43e: Lazy-load the Mermaid code block so pages that have code blocks but no diagram no longer ship its rendering dependencies. +- 65f99ea: Lazy load the Scalar API client modal and stop preloading the Scalar runtime. The modal is now code-split into its own chunk, fetched in parallel with the runtime only when a reader clicks "Test it", and a spinner is shown on the button until the client opens. + + Breaking: the package no longer ships the modal in its main entry — consumers must serve the emitted `ScalarApiModal` chunk and use a bundler that supports dynamic `import()`, and the Scalar runtime is no longer preloaded on page load. The internal `preloadScalarRuntime` helper is removed. + +- 810244e: Stop preloading the zoom-modal variant of every zoomable image at render time; it downloaded each image twice during the initial page load. The modal image still loads on hover or click. +- 75bdff3: Serve an indexable `X-Robots-Tag` on markdown pages requested by AI agents +- 2ff77e1: Bump `@gitbook/api` to 0.199.0, and record a markdown request made from the page actions menu as a page action rather than an agent request. +- d7c867a: Fix the page-actions dropdown closing before the "Copied" confirmation could be shown when copying the MCP server URL, an MCP install command, or the page as Markdown. +- ccb9d7b: Submit `sendFeedback` MCP tool findings through the dedicated `submitSiteAgentFeedback` API endpoint. The `pageUrl` is now required and an optional `goal` can be provided. +- 01c9b05: Mermaid diagrams no longer hijack page scrolling: zooming with the wheel now requires holding Ctrl/Cmd inline, while the fullscreen view keeps free wheel zoom. +- b3db1c5: Migrate the headless UI primitives from Radix and react-aria to Base UI. +- a664407: Persist content selection (tabs and other `select` blocks) in localStorage only, dropping the `?select=` query parameter from the URL. A tab click still writes the tab's hash, so a copied URL lands on that tab and reactivates it on load. +- 14562e9: Serve `X-Robots-Tag: noindex` on internal search/assistant URLs (`?q=` / `?ask=`) and stop disallowing them in robots.txt, so Google can crawl the directive and drop them from the index instead of reporting "Indexed, though blocked by robots.txt". +- 90b5468: Redesign the site OAuth consent screen for published sites MCP and translate its strings +- 40a879a: Drop a column instead of shrinking them all when a section group dropdown runs out of room +- a9c5d1b: Let a section group dropdown scroll when it is taller than the screen +- 827e4f9: Fix the variant switcher linking to the wrong URL for non-default variants of the default section +- 35be383: Skip the rendering work for off-screen OpenAPI blocks, so pages with many operations stay smooth to scroll. +- db176ba: Add an "On this page" table of contents on OpenAPI models pages. Each model in a grouped/multi-model "Models" section is now listed as its own section, matching operations and webhooks. +- 332089e: Improve cookie handling in the OpenAPI "Test it" request proxy. +- a80d412: Serve the OpenAPI "Test it" request proxy from GitBook's own domain. +- 1424c56: Keep the OpenAPI renderer out of the initial bundle of pages that have no OpenAPI block, by building its context on the client behind a dynamic boundary. +- e4b214e: Fix OpenAPI webhook payload and schema example panels being clipped instead of scrollable. +- 7009bb9: Move paragraph block styles behind a single `paragraph` class and drop the `page-cover-background:` gate from the cover-contrast text. The gate combined with the per-paragraph `:not(:has(...))` made every DOM insertion re-style all paragraphs, which froze very long pages. +- 40150f0: Serve Markdown responses to ChatGPT with a `text/plain` Content-Type for compatibility. +- e460ec3: Preserve external page destinations returned by published search. +- 148a43a: Use one canonical backend-ranked result set for published searches across site sections. +- 5da854f: Preserve canonical backend ranking and present page or section context that matches each published search destination. +- 78c589f: Align the Previous page navigation button to the left edge and the Next button to the right edge, including when only one of them is present. +- b9453a9: Preserve the full site preview path and query parameters when redirecting users to log in. +- 8e87856: Fix pages resolving to "not found" when a root URL lookup resolves to a custom homepage, by no longer using the homepage pathname as a prefix for the requested page path. +- 1faa57b: Keep current-space search results inside revision previews. +- 7543eb8: Prewarm published search caches when readers open the search interface. +- 185dd83: Inject site tracking scripts (analytics integrations) after `load` + idle instead of preloading them and executing them during the critical loading window. +- 77058e3: Render horizontal and vertical merged table cells on published pages. +- 634a24f: Fix text disappearing in Firefox and iOS Safari on pages with a background cover +- 64ce9e1: Render a site-space custom home page at its placement root while preserving the full space and normal page URLs. +- b95add7: Apply release notes tag filters from the URL via CSS before first paint, so the filtered entries, the "page contents" section list, and the tag chip highlighting all show correctly from the start on cached pages, with no flash of unfiltered content. Also stop the "page contents" scroll highlight from defaulting to an entry hidden by the filter. +- b967b24: Fix analytics and adaptive content silently breaking on sites served from a different host than the one configured (apex vs www, domain alias, CDN). The insights and visitor-claims endpoints are now requested relative to the page's own origin instead of the configured host, which a prerendered page cannot know. + + Keep the traffic of GitBook's own preview deployments out of the sites' analytics, now that those requests reach the events endpoint. + +- 81dba64: Resolve stable page, space and file refs in images, definitions and HTML blocks of published markdown pages, instead of leaking internal `/pages/{id}`, `/spaces/{id}` and `/files/{id}` URLs. +- da7fb13: Fail closed in `/~gitbook/revalidate` when `GITBOOK_SECRET` is not configured, returning `403 Revalidation is disabled` instead of skipping the signature check, consistent with `force-revalidate`. +- a9a52fe: Remove GBO's redundant re-selection of the best-scoring search section. The search API now returns a single highest-scoring section per page (and orders sections highest-score-first), so GBO no longer needs its own `getBestScoredResult` helper to pick the best section for the search and MCP previews. No user-visible change. +- 195c9e6: Fix the docs embed not applying `?theme=light`/`?theme=dark`. The theme was dropped when the embed redirected to its default tab, and the embed tabs couldn't read it because they render statically (their request headers are empty). The middleware now threads a forced embed theme through the embed route context (scoped to the embed, not the main site), so the embed tabs honor it while staying statically rendered, and the redirect forwards it to the default tab. The forced theme is also persisted to the embed's own theme storage so it is remembered across tab navigation instead of only applying while the query string is present. +- 597fe34: Sync the API reference responses selector with the "Responses" collapsibles, and keep the selected response in sync across every operation on the page (like the code sample language selector). Selecting a status code now expands the matching response section and applies to all operations at once. +- e14609c: Fix a light/dark flash on published sites configured to respect the system default (no theme toggle). Such sites forced the `system` theme, but `next-themes`' pre-paint script applies a forced value verbatim without resolving `prefers-color-scheme`, so the page painted light and only switched to dark after hydration. We now leave the theme unforced when the default is `system` (only concrete light/dark themes are forced), letting `next-themes`' existing pre-paint script resolve the system preference before first paint. +- 98b2df4: Add a `sendFeedback` MCP tool so AI agents can report documentation findings (outdated / incoherent / gap / other) as `agent_feedback` insights events. The tool only accepts finding categories, so it never records positive feedback. +- 8e9a49d: Separate the prompt block actions into a primary "Open in" dropdown and a secondary "Copy prompt" button, instead of a single combined button group, and align the block's design with the expandable block (bordered frame, left disclosure chevron, and subtle elevation when expanded). +- cf4efc7: Fix the search field losing focus if it was focused just before the page finished hydrating. +- e73b182: Fix the docs embed widget shipping a stale script: declare the embed package's `standalone/` bundle as a Turbo build output. Because it wasn't declared, changes confined to the standalone widget (which compiles to `standalone/` but not `dist/`) didn't invalidate the downstream `generate` cache that copies it into the app, so the deployed widget could lag the source — e.g. the `clipboard-write` permission on the widget iframe never reached production, breaking the copy button in the Assistant embed. +- 6d02b8a: Fix code block syntax highlighting so comment delimiters (e.g. `//`, `/*`) use the same color as the rest of the comment. Previously the delimiter fell through to the generic punctuation scope, making it a different color from the comment body (most visible in dark mode). +- bcd1c41: Scroll to the top when selecting a search result for the page already being viewed. +- 1f250d1: Add end-to-end coverage for root and nested external links in site section navigation. +- 8a0e0df: Fix section links in search results opening the page without scrolling to the section. +- 484cc11: Fix ScrollContainer scroll buttons not reflecting content overflow immediately or after dynamic content changes (e.g. search results). +- c1b5be0: Allow published search to be scoped to any visible site section. +- d33e570: Fix the spacebar being ignored in the search bar, which made multi-word queries impossible. +- 0a82628: Keep keyboard focus within search while the results are open. +- 5889642: Keep the last search query visible after closing search, and restore it when reopening, without breaking navigation when clicking a search result. +- 3db14ad: Link page-level search matches to the top of the page while preserving section anchors for section matches. +- e94a508: Fix keyboard focus getting trapped inside the header search popover, allowing Tab/Shift+Tab to exit it as expected. +- 0dd2f4f: Show the containing section name when hovering a direct link to a space. +- 8c10d92: Fix the section group menu dismissing while the mouse is still inside it, when the collapsed sidebar rail overlaps the menu on no-sidebar pages. +- ded2f56: Show loose sections in a section group dropdown as secondary links unless the group starts with one +- 0ff21b7: Stop the section tabs in the header from showing a scroll button and faded edge when all tabs already fit. +- cd506e3: Keep Shiki out of the initial page bundle by splitting the highlighter from the plain-text token helpers, so client code no longer pulls the engine and language bundles in through a shared import. +- ad3399b: Refine the per-paragraph AI ask button: shorten its tooltip to "Ask" (from "Ask about this"), and hide it inside cards where it would otherwise be clipped by the card's overflow. +- 931cbe7: Use cached Git metadata (via @gitbook/api 0.201.0's `cachedMetadata` param) when rendering Edit on Git actions. +- e0bd04f: Render headings with the site's heading font when one is configured, falling back to the main font otherwise. +- bf29570: Fix the tabs "more" dropdown showing when no tab is overflowing, and stop a tab click re-rendering every tab group on the page. +- 703e654: Split the default-scope site search into two parallel API requests — one restricted to the current site space and one for the other site spaces — rendering each result set as soon as its response arrives. All results are ranked together by score, with the current site space scores boosted. +- 57f3077: Keep the "On this page" and "Ask" buttons pinned below the header while scrolling on desktop API reference pages, so the page outline stays reachable throughout long operations. +- 8676ad1: Hide unfocusable unlabelled button from screen readers +- 6cf4278: Only show the "Back to [space]" shortcut for cross-space links in the table of contents, not for in-content text links or other ways of reaching another space. +- 7594a33: Show image thumbnails, including SVG previews, for file attachments on published sites. +- 5725da1: Let a tab keep its content selection across a rename, by honouring an explicit slug set on the tab instead of always deriving one from its title. +- 5c74eef: Make the table search "no results" empty state more prominent with vertical spacing so it no longer blends into the content below. +- 038008c: Fix heading anchor links being unreachable on touch devices by adding a tap-to-reveal state. The anchor icon now appears after the heading text without wrapping onto an orphan line while retaining its existing desktop placement. Use `pointerup` for the dismiss listener to fix unreliable dismissal on iOS Safari, and enlarge the anchor's touch tap target to a square 24px area (meeting the WCAG 2.5.8 minimum) so the icon stays centered instead of overflowing shorter headings' line height. +- a9a1a60: Fix search results from a previous scope staying stuck on top of the new results when switching the search filter. +- 46b3a18: Fix tabs nested inside another tab group rendering an empty body once a tab in the outer group was selected. +- 8a6baab: Load the admin toolbar and its CSS lazily so published pages no longer ship a render-blocking stylesheet for admin-only UI. +- a9c5d1b: Remove the gap between the columns of a section group dropdown holding a large group +- a9041a3: Remove the fallback query parameter after successful page navigation without adding a browser history entry. +- 931cbe7: Restore Edit on Git page actions for Git-synced pages. +- ea19801: Support localized custom AI Assistant greeting subtitles. +- 1dccf8f: Fix the first item of a table-of-contents page group appearing cut off (faded under the group header) after client-side navigation. +- 48fba7c: Highlight a table-of-contents link entry as active when it points to the page — or the section of a page — you are currently viewing. +- 048c4e4: Fix chevrons and open-state styling incorrectly reacting to a tooltip opening on the same trigger, by switching from the shared Base UI `data-popup-open` attribute to `aria-expanded`. +- f3408ed: a11y screen reader fixes +- 3bf55ce: Support query params in the `@webframe.navigate` action. +- cb92754: Let integration block webframes navigate the reader to another page in the site by posting a `@webframe.navigate` action with a `path` (and optional `anchor`). Resolved client-side against the site base path, so navigation stays in-site and drives the standard navigation progress bar. +- 6083a88: Expose the current page (`id`, `path`, `title`) to integration block webframes through the client-only webframe `state.page`, alongside adaptive visitor claims. +- 2c4d40a: Expose the site's MCP tools to browser agents through WebMCP when the MCP page action is enabled. +- 8a70022: Only track embed view events once the frame is actually shown to the reader +- cf94386: Fix an issue where certain keywords could cause an exception when rendering emojis +- 673f4b6: Add the `select` action to InlineButton. Clicking the button activates its slug, so any block containing that slug switches to it. +- Updated dependencies [94a496c] +- Updated dependencies [a69a307] +- Updated dependencies [03bbacf] +- Updated dependencies [bf674a4] +- Updated dependencies [65f99ea] +- Updated dependencies [1424c56] +- Updated dependencies [3ef1802] +- Updated dependencies [1e8c34a] +- Updated dependencies [3bf55ce] +- Updated dependencies [cb92754] +- Updated dependencies [6083a88] + - @gitbook/embed@0.5.2 + - @gitbook/colors@0.4.4 + - @gitbook/openapi-parser@3.0.13 + - @gitbook/react-openapi@2.0.0 + - @gitbook/browser-types@0.1.6 + - @gitbook/react-contentkit@0.7.17 + ## 0.27.2 ### Patch Changes diff --git a/packages/gitbook/package.json b/packages/gitbook/package.json index f1b1081d8..6883710ad 100644 --- a/packages/gitbook/package.json +++ b/packages/gitbook/package.json @@ -1,6 +1,6 @@ { "name": "gitbook", - "version": "0.27.2", + "version": "0.28.0", "private": true, "dependencies": { "@base-ui/react": "catalog:", diff --git a/packages/openapi-parser/CHANGELOG.md b/packages/openapi-parser/CHANGELOG.md index 81a8ea7f3..58e8d69c9 100644 --- a/packages/openapi-parser/CHANGELOG.md +++ b/packages/openapi-parser/CHANGELOG.md @@ -1,5 +1,11 @@ # @gitbook/openapi-parser +## 3.0.13 + +### Patch Changes + +- 03bbacf: Add missing link reference to OpenAPI models + ## 3.0.12 ### Patch Changes diff --git a/packages/openapi-parser/package.json b/packages/openapi-parser/package.json index 7ba6e4188..f80bd55c3 100644 --- a/packages/openapi-parser/package.json +++ b/packages/openapi-parser/package.json @@ -8,7 +8,7 @@ "default": "./dist/index.js" } }, - "version": "3.0.12", + "version": "3.0.13", "sideEffects": false, "dependencies": { "@scalar/json-magic": "^0.9.4", diff --git a/packages/react-contentkit/CHANGELOG.md b/packages/react-contentkit/CHANGELOG.md index 7bdf3a822..83f4be949 100644 --- a/packages/react-contentkit/CHANGELOG.md +++ b/packages/react-contentkit/CHANGELOG.md @@ -1,5 +1,18 @@ # @gitbook/react-contentkit +## 0.7.17 + +### Patch Changes + +- 3ef1802: Show a close button on ContentKit modals rendered on published sites. +- 1e8c34a: Let ContentKit webframes dispatch the built-in `@ui.*` actions. Actions posted from a webframe were forwarded to the integration as a plain re-render instead of being handled, so `@ui.modal.open`, `@ui.modal.close` and `@ui.url.open` did nothing — most visibly, an integration could not close a modal from inside its own webframe. + + Keep `null` values and class instances such as `Date` intact when resolving dynamic bindings in an action, instead of throwing or flattening them to `{}`. + +- 3bf55ce: Support query params in the `@webframe.navigate` action. +- cb92754: Let integration block webframes navigate the reader to another page in the site by posting a `@webframe.navigate` action with a `path` (and optional `anchor`). Resolved client-side against the site base path, so navigation stays in-site and drives the standard navigation progress bar. +- 6083a88: Expose the current page (`id`, `path`, `title`) to integration block webframes through the client-only webframe `state.page`, alongside adaptive visitor claims. + ## 0.7.16 ### Patch Changes diff --git a/packages/react-contentkit/package.json b/packages/react-contentkit/package.json index 895f31a4e..c83d96ba6 100644 --- a/packages/react-contentkit/package.json +++ b/packages/react-contentkit/package.json @@ -1,6 +1,6 @@ { "name": "@gitbook/react-contentkit", - "version": "0.7.16", + "version": "0.7.17", "type": "module", "exports": { ".": { diff --git a/packages/react-openapi/CHANGELOG.md b/packages/react-openapi/CHANGELOG.md index fa01a5f30..8d2621a29 100644 --- a/packages/react-openapi/CHANGELOG.md +++ b/packages/react-openapi/CHANGELOG.md @@ -1,5 +1,23 @@ # @gitbook/react-openapi +## 2.0.0 + +### Major Changes + +- 65f99ea: Lazy load the Scalar API client modal and stop preloading the Scalar runtime. The modal is now code-split into its own chunk, fetched in parallel with the runtime only when a reader clicks "Test it", and a spinner is shown on the button until the client opens. + + Breaking: the package no longer ships the modal in its main entry — consumers must serve the emitted `ScalarApiModal` chunk and use a bundler that supports dynamic `import()`, and the Scalar runtime is no longer preloaded on page load. The internal `preloadScalarRuntime` helper is removed. + +### Minor Changes + +- 1424c56: Keep the OpenAPI renderer out of the initial bundle of pages that have no OpenAPI block, by building its context on the client behind a dynamic boundary. + +### Patch Changes + +- 03bbacf: Add missing link reference to OpenAPI models +- Updated dependencies [03bbacf] + - @gitbook/openapi-parser@3.0.13 + ## 1.5.15 ### Patch Changes diff --git a/packages/react-openapi/package.json b/packages/react-openapi/package.json index 80352447e..b83b1d5f8 100644 --- a/packages/react-openapi/package.json +++ b/packages/react-openapi/package.json @@ -7,7 +7,7 @@ "default": "./dist/index.js" } }, - "version": "1.5.15", + "version": "2.0.0", "sideEffects": false, "dependencies": { "@base-ui/react": "catalog:",