Compare commits

..

208 Commits

Author SHA1 Message Date
Nicolas Dorseuil 9cf7ab6265 perf(gitbook): plan table and cards requests in the site page plan
Start what table blocks render as soon as the document arrives: card cover sizes, card
targets, and the users, content-ref and image columns of the view. Values are checked with
the render's own guards, and each table is planned in isolation so a malformed one can't
stop the rest of the walk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:12:08 +01:00
Nicolas Dorseuil 0052c19b48 changeset
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:12:08 +01:00
Nicolas Dorseuil 8512a29ac1 perf(gitbook): place the Cloudflare server worker next to the GitBook API
Pin the OpenNext server worker to gcp:us-central1 with placement.region, in every environment;
the middleware worker stays at the edge. Wrangler 4.43.0 rejects placement.region, so the CI
pins move to 4.80.0, the version the repo already uses locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:12:08 +01:00
Nicolas Dorseuil 0db6c62be8 changeset
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:12:08 +01:00
Nicolas Dorseuil 2e45304130 perf(gitbook): start site page requests as soon as their inputs are known
A site page render fetched in a waterfall: the page document only after the meta links and
their alternate spaces, embeds and image sizes only once React reached their block. Add a
per-request site page plan, started from generateViewport, that starts each of these requests
the moment its input arrives (page document and meta links, alternate and cross-space
spaces with their revision, embeds, icons, image sizes, user/OpenAPI/anchor refs). The render
reuses them through the per-request memo; getImageSize is now memoized for that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:12:08 +01:00
Peter White 76e1abd7e1 Use the default scope for legacy search links (#4837) 2026-11-24 11:54:25 +01:00
Peter White 48fe81b58f Include hidden published spaces in direct search lookup (#4839) 2026-11-24 11:20:25 +01:00
spastorelli 596b8c5705 Support MCP protocol version 2025-11-25 (#4831) 2026-11-23 18:42:38 +01:00
spastorelli 22df281316 Make sure the MCP server name of published sites says "Docs" (#4835) 2026-11-23 17:31:44 +01:00
spastorelli 5755e6db32 Point agents to the site's MCP server (#4832) 2026-11-23 17:10:38 +01:00
spastorelli bd38317ba5 Follow AI Catalog v0.9 in the site catalog (#4833) 2026-11-23 16:56:25 +01:00
spastorelli adbc358dd5 Answer MCP GET requests with 405 and Allow: POST (#4830) 2026-11-23 16:44:19 +01:00
spastorelli 21b96e17a7 Count only MCP tool calls as MCP requests (#4829) 2026-11-23 16:30:02 +01:00
Peter White d2be88590f Render authored page keywords in metadata (#4824) 2026-11-23 16:03:32 +01:00
Peter White 873856ae98 Send the reason for site search route calls (#4834) 2026-11-23 15:52:49 +01:00
Peter White 4cbbda7fab Update @gitbook/api to 0.213.0 (#4826) 2026-11-23 12:36:19 +00:00
Peter White 63a4a98384 Track the clicked position in site search (#4823) 2026-11-23 13:28:04 +01:00
Peter White 060f1f63ca Keep wide content inside Updates block columns (#4825) 2026-11-23 12:14:33 +01:00
Peter White 7cee30ecb8 Keep search results visible while refining a search (#4821) 2026-11-23 11:39:33 +01:00
Peter White a035d196f0 [RND-8403] Keep published revision URLs out of search results (#4819) 2026-11-23 10:24:44 +01:00
Peter White 1ecd2ca65a Keep integration dependency errors inside their blocks (#4820) 2026-11-21 10:11:45 +01:00
conico974 b0f3822342 Bump OpenNext to aws 4.2.0 and cloudflare 1.20.18 (#4817)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:19:25 +01:00
Peter White 7e2658a7a2 Reduce site search debounce to 100 ms (#4816) 2026-11-20 10:35:34 +00:00
spastorelli a10eff9e0a Make the page actions menu load its own data (#4808) 2026-11-20 11:32:44 +01:00
Johan Preynat 13c0ff0803 Update to GitBook API SDK 0.211.0 (#4814) 2026-11-19 22:43:29 +01:00
Peter White d2c56e5f0e Redirect change request links to the site preview when public previews are off (#4813) 2026-11-19 20:38:15 +00:00
spastorelli fa7d4a94f6 Challenge MCP clients when the site rejects their bearer token (#4807) 2026-11-19 10:02:13 +01:00
Peter White a9535cdc0e Emit an escape event from the Docs Embed (#4809) 2026-11-19 09:06:29 +01:00
Peter White 506aa78375 Let browsers discover a published site's search via OpenSearch (#4810) 2026-11-19 09:06:25 +01:00
Peter White 6b2e806e9e Inherit site questions in the embedded Assistant (#4812) 2026-11-19 09:06:21 +01:00
Peter White 7ad3fff118 Open links in the tab their author chose (#4802) 2026-11-18 15:24:51 +01:00
Peter White 386a5c18eb Simplify search results and let hover select a result (#4806) 2026-11-18 15:12:09 +01:00
conico974 a3b5ce5b7e Render the llms.txt directive as the first element in <body> (#4801)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:19:09 +01:00
Nolann B. 818cbbeb38 Answer Assistant questions with medium reasoning (#4700) 2026-11-18 13:01:20 +01:00
Peter White 629916b96f Track GBO production releases in Linear (#4803) 2026-11-18 11:43:35 +01:00
Peter White be6e324327 Keep held-search tests on the search route when the site gives a search pass (#4804) 2026-11-18 11:20:29 +01:00
Peter White ae1e370c48 Stop the table of contents layout loop in older Chrome (#4800) 2026-11-18 09:03:01 +01:00
Peter White adbec4c832 Send each search once on sites without a top header (#4781) 2026-11-17 12:10:19 +00:00
Peter White 8f5175e69e Show result-shaped placeholders while search loads (#4779) 2026-11-17 12:10:19 +00:00
Peter White 7856e08c15 Show one server-ordered search list and open its top result on Enter (#4777) 2026-11-17 12:10:18 +00:00
Peter White e0b512e689 Ask for a comms decision before default-on live site changes (#4799) 2026-11-17 12:00:41 +00:00
Peter White 6cdbafcda6 [RND-8403] Respect a site's setting to turn off change request previews (#4797) 2026-11-17 11:12:01 +00:00
Peter White d55e8f90c2 Make the no-pass search test independent of the search pass flag (#4798) 2026-11-17 11:56:32 +01:00
Brett Jephson 960d7ec6e2 Fade collapsed code blocks on published sites (#4793)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 10:37:22 +00:00
Peter White cf8c3d52f3 Search the API directly from the browser with a search pass (#4784) 2026-11-17 10:35:54 +01:00
Peter White 4eb32b1534 Use absolute links in generated Markdown (#4795) 2026-11-17 10:11:23 +01:00
Peter White b5f7e55818 Render Small cards in published sites (#4796) 2026-11-17 09:34:22 +01:00
Nolann B. 262749a0b1 Copy the current spec's server in OpenAPI endpoint URLs (#4794) 2026-11-16 20:12:40 +01:00
Peter White b145bfcdff Stop caching site search results (#4782) 2026-11-16 16:43:30 +01:00
Peter White 1c718491bd Follow the API's cache lifetime for site data (#4790) 2026-11-16 14:10:44 +01:00
Viktor Renkema 8dd308bd90 Ignore categories when resolving tag assignments (#4736) 2026-11-16 10:49:18 +01:00
Peter White c09da2ec1a Show H3 headings in the page outline (#4787) 2026-11-16 10:47:57 +01:00
conico974 9fcde5f487 Reduce memory and CPU use of the OpenNext workers (#4788)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:17:23 +01:00
conico974 c85d84fc1d Store 'use cache' entries in R2 again (#4789)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:15:41 +01:00
Peter White c3df458378 Keep inline code readable over a background page cover (#4778) 2026-11-13 13:28:17 +01:00
conico974 ddccd3d4f0 Bump Next.js to 16.4.6 and OpenNext to 1.20.17 (#4776)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 13:28:03 +01:00
Peter White adfd921b3a Search one language in the MCP search tool (#4775) 2026-11-13 10:37:44 +01:00
Nolann B. 5997a66638 Remove duplicated declarations from the global stylesheet (#4764)
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 18:23:37 +01:00
Nolann B. 65210b7d1d Respect reduced motion and forced colors, use dynamic viewport units (#4763)
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 18:23:37 +01:00
Nolann B. 265ca4bd9d Improve keyboard and screen reader support (#4761)
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 18:23:36 +01:00
Nolann B. 3e86382cdc Tighten the referrer policy and the embed channel handshake (#4759)
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 18:23:36 +01:00
Nolann B. 19660edf91 Fix quick accessibility and input bugs, tune network priorities (#4758)
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 18:23:35 +01:00
Nolann B. e3d22380fc Improve preview deployment workflow reliability (#4772)
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 16:58:21 +00:00
Nolann B. 9b5b8c85ec Load the OpenAPI stylesheet only on pages with OpenAPI blocks (#4770) 2026-11-12 16:21:51 +01:00
Nolann B. 0c3a51eca4 Stop card carousels from widening the page (#4768)
Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 15:31:58 +01:00
Tomek 7d1cd9f9df Remove ChatGPT-specific plain text Markdown responses (#4766) 2026-11-12 10:38:07 +00:00
Samy Pessé 6029a31c07 Version Packages (#4755)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-12 10:34:04 +00:00
Nolann B. 4fb7e14436 Push the release PR with the PAT so its workflows run (#4738) 2026-11-12 10:18:08 +00:00
Steven H 31e88d16eb Relicense @gitbook/embed under Apache 2.0 (#4765)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:33:54 +00:00
Peter White 7ddd023d72 Fix search prewarming on public sites (#4762) 2026-11-12 10:24:29 +01:00
Peter White b53e73c0e7 Link suggested follow-up questions to the markdown ask route (#4757) 2026-11-12 08:57:20 +01:00
Taran Vohra 4a405475f3 Fix page outline not following the active section on long pages (#4754) 2026-11-11 19:29:25 +05:30
Samy Pessé aade3189ca Version Packages (#4711) 2026-11-10 18:25:28 +01:00
Brett Jephson 8689736e3a RND-13702: remove italic from annotation dfn (#4750) 2026-11-10 15:53:57 +00:00
Nolann B. 1b29a7051e Add a fetch option to parseOpenAPI (#4753) 2026-11-10 16:34:59 +01:00
Peter White 6c128729b2 Expand 3-digit hex colours correctly (#4748)
Co-authored-by: monem <119044801+pucedoteth@users.noreply.github.com>
2026-11-09 11:29:12 +00:00
Nolann B. 6344646974 Fix bash highlighting of the last letter before > (RND-13792) (#4747) 2026-11-09 10:47:47 +01:00
Nolann B. 192863526f Remove docs.cartographer3d.com from customer visual tests (#4749) 2026-11-09 10:28:06 +01:00
Greg Bergé 09a8310c9d Serve robots.txt without sign-in on authenticated access sites (RND-13789) (#4746)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 13:52:58 +01:00
Peter White a023a7131b Warn visitors not to share sensitive personal info in the Assistant (#4745) 2026-11-05 17:48:53 +00:00
conico974 198cafe978 Bump Next.js to 16.4.5 and OpenNext to 1.20.16 (#4743)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:22:58 +01:00
conico974 268fa83683 Fix formatting in README.md (#4741) 2026-11-03 19:29:19 +01:00
conico974 123454d2ac Dummy PR (#4739)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:58:05 +01:00
Nolann B. e6b8502036 Resolve .md page URLs in the MCP getPage tool (RND-13634) (#4735) 2026-11-02 12:59:34 +01:00
Peter White 3837c484a6 Redirect non-normalized proxied URLs to their public URL (RND-13627) (#4734) 2026-11-02 10:18:10 +01:00
Nolann B. 4dfe630a70 Bump @scalar/openapi-parser to 0.29 to fix false OpenAPI 3.2 errors (#4732) 2026-10-30 19:06:33 +01:00
Greg Bergé 26ec43e870 Don't cache failed searches (RND-13594) (#4731)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:21:53 +01:00
Peter White 063e6851e7 Resolve dark-mode image URLs in published Markdown (RND-13608) (#4728) 2026-10-30 10:57:33 +01:00
Taran Vohra 04f39f1472 Lazy webframes and lighter markup on large pages (#4726) 2026-10-30 14:27:21 +05:30
spastorelli 1383a798cb Stop prefetching the site login and logout links (#4727) 2026-10-29 19:19:54 +01:00
Greg Bergé 4a72ead12a Only apply a preview customization override to the site space it was made for (RND-13589) (#4725)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 16:44:09 +01:00
Peter White ea018507c7 Support a secondary brand colour on published sites (#4717) 2026-10-29 12:58:10 +00:00
Nolann B. 347a1cc006 Partition visitor cookies set inside an iframe (RND-12488) (#4721) 2026-10-29 11:07:45 +01:00
Steven H a512777351 Forward the visitor's user agent on ask and Assistant calls (#4714) 2026-10-29 09:27:00 +00:00
Peter White 508f1bc132 Load the inline expression runtime only for blocks that use it (RND-13530) (#4719) 2026-10-29 09:53:30 +01:00
Nolann B. 38f60f2633 Render soft line breaks in paragraphs with buttons (RND-12359) (#4724) 2026-10-29 08:56:09 +01:00
Nolann B. be658e1b32 Truncate long tab titles instead of hiding tabs in a menu (RND-11318) (#4723) 2026-10-29 08:30:52 +01:00
Nolann B. e745c88166 Add a search input to filter models on OpenAPI models pages (RND-12025) (#4718) 2026-10-28 22:59:52 +01:00
Nolann B. f61578f01f Remove duplicate preconnects and open the fonts one in CORS mode (RND-12526) (#4720) 2026-10-28 22:58:05 +01:00
Nolann B. a5d58bc210 Follow site redirects in MCP getPage (RND-13551) (#4715) 2026-10-28 18:46:59 +01:00
conico974 7e096d5131 Update dependencies for GitBook project (#4695)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 16:55:21 +01:00
Peter White bd431f1f8d Split llms-full.txt into parts by size so large sites don't fail (RND-13497) (#4712) 2026-10-28 14:25:00 +00:00
Peter White b7b8ae663b Keep list structure in Updates RSS feeds (RND-13414) (#4710) 2026-10-28 14:20:25 +00:00
Peter White 96c568393e Let analytics track outbound link clicks on published sites (RND-13494) (#4713) 2026-10-28 14:08:05 +00:00
Peter White 96f8ccc5cd Run Vercel functions in cle1 while Cloudflare IAD is degraded (#4716)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:48:52 +01:00
conico974 c00a7b3b88 Resolve the full URL in a single lookup and always send the visitor country (#4707)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 09:18:05 +01:00
Samy Pessé 3d83277b61 Version Packages (#4370)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-27 18:43:15 +01:00
Nolann B. d053984d34 Keep the section group dropdown at the right width when switching groups quickly (RND-13149) (#4706) 2026-10-27 18:08:41 +01:00
spastorelli 02f4cbc779 Update gitbook/expr package (#4709)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:07:39 +01:00
Greg Bergé 9f22456eef Allow Ionic and Capacitor iOS apps to embed sites (RND-13442) (#4708)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:36:36 +01:00
Taran Vohra 3370103307 Lazy-load all embed iframes so YouTube thumbnails in tabs aren't blurry (RND-13501) (#4705) 2026-10-26 14:31:19 +05:30
Viktor Renkema b0cb03558d Mark blocks, pages and titles as comment targets (#4701)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 11:31:59 +02:00
Peter White fce8a6f2b6 Fix double slash in MCP example page URLs (#4703) 2026-10-21 11:29:29 +02:00
Tomek 5f38ae6f9f Adjust tab padding in dynamic tabs (#4696) 2026-10-20 14:42:39 +00:00
Tomek fc06bc694b Track Ask AI trigger clicks in insights (#4694)
Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-20 16:03:15 +02:00
Viktor Renkema a17ed29e35 Fix admin toolbar magnification, tooltips and truncation (#4697)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 16:01:14 +02:00
conico974 bb47dadfbe Change x-robots-tag header for search/assistant deep links (#4693) 2026-10-20 15:41:35 +02:00
conico974 bfe45fede4 Fix e2e tests (#4698)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 15:03:45 +02:00
Peter White 9f940678b6 Update published-site Mermaid to 11.16.1 to match the editor (#4692) 2026-10-16 10:52:23 +00:00
Steven H 96626fea7c Point the admin toolbar insights button to /analytics (#4691)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 11:50:11 +01:00
Peter White d839d9dc57 Match site redirects whose source has non-ASCII characters (#4689) 2026-10-15 16:59:20 +02:00
Peter White 30fa152f0f Replace slapr with slack-pr-status (#4688) 2026-10-14 12:50:04 +02:00
Peter White 0540ebc1b9 Don't link page group breadcrumbs to their redirecting URL (#4686) 2026-10-14 10:31:26 +00:00
Peter White 0b515b0970 Fix 404 on Markdown pages when a theme is forced (#4685) 2026-10-14 11:46:58 +02:00
Peter White 65acba0b61 Fix Mermaid block diagrams and clipped labels on published sites (#4687) 2026-10-14 11:26:28 +02:00
Peter White f7dc7faa65 Reserve webframe size before hydration (#4683) 2026-10-14 08:25:57 +02:00
Peter White 03aa0f75f5 Render one shared Ask AI paragraph button (#4681) 2026-10-13 14:57:45 +02:00
Peter White a625112106 Skip the Ask AI paragraph button inside tables (#4680) 2026-10-13 13:40:20 +02:00
Brett Jephson 1bf3bd4294 Bump API version (#4679) 2026-10-13 10:55:32 +01:00
Peter White 9d62cb4bad Keep TOC scroll position when expanding a group (#4678) 2026-10-13 09:25:16 +02:00
Peter White 8bc381d852 Keep button labels readable inside colored hints (#4677) 2026-10-12 15:24:21 +02:00
Peter White a22923b56b Ask contributors to open issues instead of pull requests (#4676) 2026-10-12 12:06:51 +02:00
Peter White a73800e0ef Upgrade object-identity (#4675) 2026-10-12 11:22:25 +02:00
Steven H a0c1bdf58e Improve the Ask prompt for llms.txt (#4674) 2026-10-09 12:09:23 +01:00
Steven H d685660e1d Ensure we send the agent goal with the ask (#4673) 2026-10-08 20:51:24 +01:00
Peter White f1d5123c0b Support fr-ca, es-mx and es-419 site UI locales (RND-13260, RND-11280) (#4671) 2026-10-08 17:10:49 +02:00
conico974 679ea0706c Add support for visitor country hostnames via environment variable (#4668) 2026-10-08 11:35:18 +02:00
Peter White c366796756 Keep the embed open when switching section from the breadcrumbs (RND-12559) (#4670) 2026-10-08 11:26:04 +02:00
Peter White f35be52c80 Allow configuring the tab and page the Docs Embed opens on (RND-12456) (#4669) 2026-10-08 11:25:35 +02:00
conico974 848a39d1c8 Send visitor country in API requests for specific environments (#4667) 2026-10-07 18:08:57 +02:00
Peter White 9f447aab29 Open search in the current space from scoped search buttons (#4666) 2026-10-07 17:04:19 +02:00
Nolann B. 552538a0d9 Record proxied sites' markdown, llms.txt and RSS requests under their public URL (#4660) 2026-10-07 11:53:03 +02:00
Peter White 5c4a808ba8 Stop self-referencing nullable OpenAPI schemas from recursing when expanded (#4665) 2026-10-07 11:38:46 +02:00
Zeno Kapitein ad6262b6f9 Scope the site preview cookie to the preview route so customization/theme persists on navigation (RND-12191) (#4481)
Co-authored-by: Peter White <1788320+peterwhite@users.noreply.github.com>
2026-10-07 09:53:30 +02:00
Tomek 2137c2df7b Track Ask AI entry point in analytics (#4646) 2026-10-06 19:33:34 +02:00
Peter White 990e702035 Clarify not-found copy for login-protected pages (#4663) 2026-10-06 16:58:58 +02:00
Peter White 3ed448fed7 Keep ?ask out of the search field while integration assistants load (#4661) 2026-10-06 14:11:41 +02:00
conico974 4856a1f744 Add support for resolving missing page paths and redirecting to markdown versions (#4657) 2026-10-06 13:54:16 +02:00
Peter White ac843657ec Restore Next.js dev-mode OOM patch for 16.3.8 (#4662) 2026-10-06 13:33:50 +02:00
Brett Jephson b1102fcebe Prepare DocumentMarkColor to work with optional properties (#4659) 2026-10-05 17:55:22 +01:00
conico974 7996c362c1 Bump Next and OpenNext (#4658) 2026-10-05 15:48:35 +02:00
Steven H c7c1b79788 Improve the prompt asking agents for feedback on GitBook-powered docs (#4654) 2026-10-02 18:38:56 +01:00
Taran Vohra dff0c7903e Resolve cross-space repository page URLs when rendering sites (#4619)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 18:31:20 +05:30
Tomek ffebd1790e Extract page title utility and add SEO title support (#4647)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: Nolann Biron <biron.nolann@gmail.com>
Co-authored-by: Nolann B. <100787331+nolannbiron@users.noreply.github.com>
2026-10-02 14:07:15 +02:00
Tomek 0e0085e49a Fix sidebar group titles being clipped while scrolling (#4623)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 14:31:00 +02:00
Tomek 8e131693ea Auto-scroll TOC to active item when it's not visible (#4653) 2026-10-01 09:14:01 +00:00
Peter White 96325161be Lazy-load Loom embeds so pages with many of them don't stay blank (RND-13147) (#4652) 2026-09-30 14:18:29 +02:00
Surai 9f5290bccc Fix Ask AI submissions when search state is empty (#4651) 2026-09-30 09:50:39 +02:00
Peter White 61992424af Mark text over a background cover in the first frame after hydration (#4650) 2026-09-30 08:21:31 +02:00
Peter White 380af10236 Send previousUrl with site insights events (#4640) 2026-09-29 16:43:14 +00:00
Peter White 0911abc55c Fix page cover image jumping on load (#4648) 2026-09-29 18:11:03 +02:00
Tomek d8dc59b1a9 Improve dark theme contrast for Mermaid edge labels (#4645)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-29 14:02:07 +02:00
Surai d04f8bc05e Update trademark landing page (#4644) 2026-09-29 11:13:52 +02:00
conico974 576a781a8f Bump versions of @opennextjs/aws and @opennextjs/cloudflare (#4643) 2026-09-29 10:51:30 +02:00
Peter White df2841cf36 Don't leak the internal route into the site auth login link (#4642) 2026-09-28 17:43:23 +02:00
Tomek 70bfdda39c Restore Next.js 16.3.6 dev-mode OOM patch (#4641) 2026-09-28 11:40:41 +00:00
Peter White afbc57c3e0 Don't track 404 page views for internal ~gitbook routes (#4639) 2026-09-25 12:32:54 +02:00
Tomek e4638f1833 Fix webframes inside modals not receiving visitor claims (#4635) 2026-09-25 12:13:44 +02:00
Peter White d7f2addb03 Improve PR description context guidance (#4636) 2026-09-25 09:11:47 +02:00
Tomek 7f8ab7dcc7 Add support for ChatGPT Search (OAI-SearchBot) user agent (#4633) 2026-09-24 09:49:33 +02:00
Nolann B. 8dd9444596 Track Insights link clicks on the file block Download button (#4632) 2026-09-23 17:16:06 +02:00
Peter White bdc2497771 Return 404 instead of looping on missing non-ASCII page paths (#4631) 2026-09-23 14:20:50 +00:00
Peter White 581abe0bb7 Announce pagination at the top of each llms-full.txt part (#4630) 2026-09-23 09:05:44 +02:00
conico974 4503be2f19 Update Next.js dependency to 16.3.6 (#4629) 2026-09-22 21:00:10 +02:00
Peter White bdfc98b97e Add PR description skill and template (#4628) 2026-09-22 17:32:53 +02:00
Brett Jephson 0f0cfde6ba Filter table with client side selection (#4616)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 09:28:07 +01:00
Peter White 357af3f6d2 Fix RSS discovery for pages without updates (#4626) 2026-09-21 11:45:24 +02:00
Tomek b95add7b27 Apply release notes tag filters from URL via CSS before first paint (#4613)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-18 16:16:07 +02:00
conico974 99984ebbb3 Implement bypass for URL lookup alternatives (#4620) 2026-09-18 13:50:06 +02:00
Tomek a52daf8b15 align dropdown chevron buttons between group items and page items (#4622) 2026-09-18 11:17:41 +00:00
conico974 f80429e4e8 Update @opennextjs/aws dependency and refine e2e tests (#4587) 2026-09-18 12:18:47 +02:00
spastorelli 6b4c453497 Add server card for published sites MCPs (#4618) 2026-09-18 10:16:27 +02:00
Peter White c7d042a733 Add Slapr PR reactions in engineering (#4617) 2026-09-17 14:04:03 +02:00
Tomek e94a5085eb Fix search popover keyboard focus trap (#4615)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-17 11:21:17 +02:00
Tomek 3ae1524a88 Hide Intercom launcher when Assistant opens (#4614)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-17 11:20:20 +02:00
Nolann B. b967b248e7 Request insights and visitor endpoints relative to the served origin (#4603) 2026-09-16 20:54:20 +02:00
Nolann B. a9e6814744 Let the AI Assistant report documentation findings to the site's team (#4576) 2026-09-15 18:03:37 +02:00
Brett Jephson 5725da19e2 Honour an explicit select slug on a tab (#4601)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 13:37:03 +01:00
Peter White 05cff0a03b Hide anchor links on landing pages (#4609) 2026-09-15 09:20:38 +02:00
Nolann B. 1e8c34a426 Let ContentKit webframes dispatch modal and URL actions (#4611) 2026-09-14 15:19:05 +02:00
spastorelli cd881f9ac1 Fix set-cookie in RSC requests conflicting with logout requests (#4606) 2026-09-14 14:45:32 +02:00
Greg Bergé 39316fc205 Add agent actions to the prompt block (#4610)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 12:01:04 +02:00
Brett Jephson c08d05ade5 Fix select filters on table and cards blocks (#4608)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 10:33:02 +00:00
Peter White b9453a92f8 Fix preview auth redirects dropping content paths (#4602) 2026-09-11 08:42:28 +02:00
Peter White 2c4d40ad97 Expose the site MCP tools through WebMCP in published docs (#4604) 2026-09-11 08:30:36 +02:00
Tomek 688515efcf Support fit-content width sizing for ContentKit buttons (#4605)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-10 15:50:37 +02:00
Tomek 931cbe717e Restore Edit on Git page actions (#4597)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: Viktor Renkema <49148610+viktorrenkema@users.noreply.github.com>
Co-authored-by: conico974 <nicodorseuil@yahoo.fr>
2026-09-10 12:37:37 +02:00
Tomek 3ef1802e7e Add close button for modals in published sites (#4600)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-09 12:23:17 +02:00
Greg Bergé 8a0e0df84e Fix search section links not scrolling to the target section (#4598)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 11:40:58 +02:00
Peter White a9041a309a Fix fallback URL cleanup after successful page navigation (#4599) 2026-09-09 11:22:09 +02:00
conico974 625c108196 Add isRevalidationRequest function to handle specific requests (#4596) 2026-09-08 14:18:32 +02:00
Viktor Renkema 8e87856501 Fix page not found in preview links for sites with a custom homepage (#4594) 2026-09-08 11:27:07 +00:00
Tomek 9b822abbb6 Include page descriptions in markdown output (#4595)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-08 12:38:54 +02:00
Peter White 81dba6455b Resolve stable refs in HTML blocks of published markdown pages (#4592) 2026-09-08 09:45:14 +02:00
Johan Preynat 1faa57b812 Keep revision search results in preview (#4582) 2026-09-07 19:46:57 +02:00
Tomek 40150f0a6c Serve markdown with text/plain content-type for ChatGPT (#4591)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-07 17:13:19 +02:00
Brett Jephson bf29570bd5 RND-12706: measuring tabs fix (#4588)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-07 15:40:43 +01:00
Peter White e8e979b6c0 Serve permanent site redirects (#4586) 2026-09-07 16:07:40 +02:00
657 changed files with 19112 additions and 10004 deletions
@@ -0,0 +1,48 @@
---
name: write-pr-description
description: Write a concise, product-focused PR description from the changes and available discussion. Use when asked for a PR summary or description.
---
# Write a PR description
Read the full branch diff and commit history against the PR's base branch, not just the latest commit. Use the PR discussion and linked issues for context when available. The PR's changes are the source of truth for what ships if an issue describes something different.
Write for contributors and reviewers who may not know the area. Lead with what changes, prefer user or product impact when supported, and include implementation details only when they help review. Keep the proposed changes short, using bullets only when useful.
Include relevant validation and screenshots when available. Do not claim checks passed unless they ran. Use only information appropriate for a public repository; do not copy private issue details or customer information into the description.
## Template and changelog
Read `.github/pull_request_template.md` immediately before writing. Preserve its required section names and order. Include `Proposed changes` and `Changelog`; omit `Demo` when there is nothing to show. Add optional `Context` before `Changelog` only when it meets the rule below.
Write a short changelog entry describing what shipped. Use `[Feature]` for user-facing additions or improvements, `[Fix]` for user-facing bug fixes, and `[Chore]` for internal maintenance. For features and fixes, say what users can do or what no longer goes wrong in plain words. Keep chores useful to teammates without inventing user impact. Remove unused examples and placeholders. Usually one entry is enough; use more only for distinct changes. The PR changelog does not replace any changeset required by `AGENTS.md`.
## Optional context
Write `Proposed changes` and `Changelog` first. Add `Context` only when it tells someone unfamiliar with the area something material that the changelog does not. `Problem` names a concrete failure or limitation supported by the PR or discussion. `Outcome` names what this PR delivers at its actual scope. Omit the section if either field would repeat the changelog, describe only implementation, or guess at an impact.
```markdown
## Context
**Problem:** <concrete failure or limitation>
**Outcome:** <result delivered by this PR>
```
Keep each field to 1–2 short, non-technical sentences. Prefer user or product impact when supported. For infrastructure changes, explain the failure or limitation they caused. Do not invent an actor, customer segment, ownership, or impact, or force the change into a user story. Do not turn a preparatory change into a claim that the whole workflow is fixed. Keep the roles distinct: `Context` explains why this matters, `Changelog` says what shipped, and `Proposed changes` can explain implementation.
Examples:
- A dependency bump with no demonstrated user effect needs no `Context`.
- If creating the first change request leaves the user on an empty screen, say that it now opens after creation. Leave the animation-listener details in `Proposed changes`.
- If a PR indexes links for later checks, describe the indexing result. Do not claim every link has already been checked.
## Writing pass
- Use plain words and direct verbs: "use" instead of "leverage", "help" instead of "facilitate". Prefer active voice when the actor is known.
- Name the concrete behavior instead of saying "improves the experience" or "makes it more robust". Support performance claims with measurements.
- Cut filler, promotional language, and generic conclusions. If a sentence could fit almost any PR, make it specific or delete it.
- Keep one idea per sentence and use consistent names. Remove redundant hedging without hiding real uncertainty.
- Avoid "not just X, but Y", forced groups of three, em dashes, decorative emojis, and unnecessary bold text.
Return the description in a Markdown code block unless asked to update the PR. When asked to update it, apply the description with `gh pr edit` using a body file.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Keep links in generated Markdown usable outside the source page.
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Handle optional emoji and icon values when rendering tags.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Point agents to the site MCP server from Markdown pages, the page HTML, llms.txt and llms-full.txt.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Serve the site AI Catalog as specification version 0.9, with identifiers in its `urn:air:{publisher}:{name}:{kind}` format.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix "View activity" disclosure in AI Chat not opening after the Base UI migration.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fade the bottom of collapsed code blocks so readers can tell there is more code, matching the editor.
@@ -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).
@@ -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.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Answer Assistant questions with medium reasoning instead of low, matching AI search.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Stop showing previously asked questions as suggestions in the GitBook Assistant
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Add an assistant tool to rate its own previous response when the user reacts to it.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Add an assistant tool to submit feedback about the current page on behalf of the user.
@@ -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.
@@ -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.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Keep the breadcrumbs from covering the page actions' hit area.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Bump Next.js to 16.3.3.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Bump Next.js to 16.4.6 and OpenNext (Cloudflare 1.20.17, AWS 4.1.16), keeping the dev-mode OOM patch.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Bump `@opennextjs/aws` to 4.2.0 and `@opennextjs/cloudflare` to 1.20.18.
-5
View File
@@ -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.
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix inline Ask AI buttons opening a configured custom assistant.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix horizontal page scroll caused by card carousels bleeding past the viewport.
@@ -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.
-5
View File
@@ -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.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix breadcrumbs for cross-space page links in grouped sites.
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Disable click-to-zoom for inline line sized images.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Name a site's MCP server as docs, such as "Acme Docs MCP Server", in AI clients and in the install commands and links, so it is not confused with a product's own MCP server.
+6
View File
@@ -0,0 +1,6 @@
---
"@gitbook/embed": minor
"gitbook": patch
---
Emit an `escape` event from the Docs Embed when Escape is pressed inside it and nothing in the embed used it, so the host can close its own panel.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix host action buttons in the Docs Embed not reaching the assistant.
@@ -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.
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix suggested question clicks in the embed search not opening the assistant.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix switching from the Search tab to the Docs or Assistant tab in the embed doing nothing.
@@ -0,0 +1,6 @@
---
"@gitbook/embed": minor
"gitbook": patch
---
Use the site's suggested questions when the embedded Assistant receives an empty or omitted list, including from older SDKs.
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Add configurable default visibility to Prompt block
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": minor
---
Support external links in published site navigation.
-7
View File
@@ -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 `<html>` 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.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Reduce the wait after typing in site search to 100 ms.
-7
View File
@@ -1,7 +0,0 @@
---
"@gitbook/openapi-parser": patch
"@gitbook/react-openapi": patch
"gitbook": patch
---
Add missing link reference to OpenAPI models
-5
View File
@@ -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.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Keep published search results within the selected site-space scope during local and remote result fusion.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix page link titles showing the site section name instead of the target space title.
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix the table of contents keeping published pages busy in older Chrome versions such as Chrome 130.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix `'use cache'` entries never being stored in or read from R2 and the regional cache on Cloudflare.
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Update the URL hash when a tab is selected, so a copied link scrolls back to that tab
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Remove duplicated declarations from the global stylesheet.
-5
View File
@@ -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.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Hide card fields that render no content, along with their title
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Add cover image background mode and masks
-5
View File
@@ -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.
@@ -0,0 +1,5 @@
---
"@gitbook/icons": minor
---
Add a `@gitbook/icons/validateIconName` entry that validates icon names without loading the icon labels and search terms.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Button blocks now respect the `size` option, so you can render small, medium, or large buttons.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Keep inline code and highlighted text readable when a paragraph crosses the bottom edge of a background page cover.
-7
View File
@@ -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`).
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Keep published pages available when an integration block needs its connection or settings checked.
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Keep embed demos and frames on the deployment that served them.
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Keep published site search results visible while visitors refine a query.
@@ -0,0 +1,6 @@
---
"gitbook": patch
"@gitbook/icons": patch
---
Add a skip link, keyboard navigation between content tabs, focusable table of contents toggles, and hide decorative icons from assistive technologies.
-5
View File
@@ -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.
-5
View File
@@ -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.
-8
View File
@@ -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.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Apply the default language-aware search scope to legacy search links.
-5
View File
@@ -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.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Reduce memory and CPU use of the OpenNext workers: minify the middleware, resolve the site context once per request, cache parsed OpenAPI descriptions across a spec, drop the redis client and the unused force-revalidate route from the server bundle.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Load the OpenAPI stylesheet only on pages with OpenAPI blocks.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Render the llms.txt directive as the first element in the page body so agents find it before the navigation.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Serve an indexable `X-Robots-Tag` on markdown pages requested by AI agents
@@ -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.
-5
View File
@@ -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.
@@ -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.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Count only MCP tool calls in the MCP request insights event.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Answer GET requests to the MCP endpoint with an `Allow: POST` header.
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Challenge MCP clients to authorize again when a visitor-auth site rejects their bearer token.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Support MCP protocol version 2025-11-25 on published site MCP servers.
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Limit the MCP `searchDocumentation` tool to one language: the one the client passes in the new optional `language` argument, or else the language of the site variant the MCP endpoint is served from.
-5
View File
@@ -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.
@@ -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.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Migrate the headless UI primitives from Radix and react-aria to Base UI.
-5
View File
@@ -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.
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Flush insights events when the page is hidden, preload the search index at low priority and prioritize the dark page cover on dark-default sites.
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Keep published revision URLs out of search results.
-5
View File
@@ -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".
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Redesign the site OAuth consent screen for published sites MCP and translate its strings
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Drop a column instead of shrinking them all when a section group dropdown runs out of room
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Let a section group dropdown scroll when it is taller than the screen
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix the variant switcher linking to the wrong URL for non-default variants of the default section
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Skip the rendering work for off-screen OpenAPI blocks, so pages with many operations stay smooth to scroll.
@@ -0,0 +1,5 @@
---
"@gitbook/react-openapi": patch
---
Copy the current spec's server in OpenAPI endpoint URLs instead of a server kept from a previously visited page.
@@ -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.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Improve cookie handling in the OpenAPI "Test it" request proxy.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Serve the OpenAPI "Test it" request proxy from GitBook's own domain.
@@ -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.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix OpenAPI webhook payload and schema example panels being clipped instead of scrollable.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Publish an OpenSearch description on every site so browsers can offer its search from the address bar.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Show H3 headings in the page outline.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Render a page's search keywords in its metadata.

Some files were not shown because too many files have changed in this diff Show More