Compare commits

..

66 Commits

Author SHA1 Message Date
Brett Jephson d9ee1a7ac4 Merge branch 'main' into brett/RND-2311-openapi-enum 2024-10-21 19:33:26 +01:00
Brett Jephson 846de0e1a9 Merge branch 'main' into brett/RND-2311-openapi-enum 2024-10-18 09:57:06 +01:00
Brett Jephson 3d9aefaf25 Merge remote-tracking branch 'origin/main' into brett/RND-2311-openapi-enum 2024-10-14 11:39:00 +01:00
Brett Jephson 5beb2dbd69 Tidy 2024-10-09 14:00:37 +01:00
Brett Jephson d19e3507cc Merge branch 'brett/RND-2311-openapi-enum' of github.com:GitbookIO/gitbook into brett/RND-2311-openapi-enum 2024-10-09 13:58:56 +01:00
Brett Jephson 152aad2c8f Update comment 2024-10-09 13:57:51 +01:00
Brett Jephson 3ee149d87d Remove unused imports 2024-10-09 13:57:51 +01:00
Brett Jephson 0ccc5034c4 Formatting 2024-10-09 13:57:51 +01:00
Brett Jephson 95e8772eab Refactor - naming and comments 2024-10-09 13:57:48 +01:00
Brett Jephson 9675290e61 Don't make server url editable if no update function or context 2024-10-09 13:56:55 +01:00
Brett Jephson c7ca921d7f Self review changes 2024-10-09 13:56:55 +01:00
Brett Jephson 2d4ddc9d95 Formatting 2024-10-09 13:53:57 +01:00
Brett Jephson 65d77295e5 Revised client state with context 2024-10-09 13:51:39 +01:00
Brett Jephson 662df6f9aa Format 2024-10-09 13:46:25 +01:00
Brett Jephson e866080867 Update server choice based on selection 2024-10-09 13:45:06 +01:00
Brett Jephson dce39c4c0d Update server url based on variable selection 2024-10-09 13:41:51 +01:00
Brett Jephson 7b02f72660 Update icon 2024-10-09 13:38:28 +01:00
Brett Jephson 74392eccee Formatting 2024-10-09 13:38:27 +01:00
Brett Jephson 184d616701 Add server url cache to update request code sample 2024-10-09 13:38:27 +01:00
Brett Jephson 9b78692124 Formatting 2024-10-09 13:38:27 +01:00
Brett Jephson f67b143851 Fix type 2024-10-09 13:38:27 +01:00
Brett Jephson f65e3f5fbb Add icons for editing url 2024-10-09 13:38:27 +01:00
Brett Jephson ac492e094d Revised client state with context 2024-10-09 13:38:27 +01:00
Brett Jephson f6823e92bb Changeset 2024-10-09 13:38:27 +01:00
Brett Jephson 9437aa25e8 Format 2024-10-09 13:38:27 +01:00
Brett Jephson 77d64d06b9 Update server choice based on selection 2024-10-09 13:38:27 +01:00
Brett Jephson 1ae1715993 Update server url based on variable selection 2024-10-09 13:38:27 +01:00
Brett Jephson c1193fd2cd Select variables in server url 2024-10-09 13:38:27 +01:00
Brett Jephson 60a9b95a25 Merge branch 'main' into brett/RND-2311-openapi-enum 2024-10-03 13:35:47 +01:00
Brett Jephson 586e66d03a Update comment 2024-10-02 17:32:55 +01:00
Brett Jephson 39d88867ae Formatting 2024-10-02 13:19:06 +01:00
Brett Jephson f98b7b2b00 Merge branch 'main' into brett/RND-2311-openapi-enum 2024-10-02 11:53:49 +01:00
Brett Jephson abf7ec35a6 Remove unused imports 2024-10-02 11:52:56 +01:00
Brett Jephson cb3c1f9f78 Formatting 2024-10-02 11:50:18 +01:00
Brett Jephson ce890c609c Refactor - naming and comments 2024-10-02 11:44:10 +01:00
Brett Jephson 5b933777e9 Merge remote-tracking branch 'origin/main' into brett/RND-2311-openapi-enum-og 2024-10-01 16:43:41 +01:00
Brett Jephson 8d1c349ed1 Don't make server url editable if no update function or context 2024-09-25 09:36:37 +01:00
Brett Jephson 4026fc1339 Merge branch 'main' into brett/RND-2311-openapi-enum 2024-09-25 09:17:21 +01:00
Brett Jephson 4b9f206e50 Merge branch 'main' into brett/RND-2311-openapi-enum 2024-09-25 08:35:18 +01:00
Brett Jephson f6b75e7dbd Self review changes 2024-09-24 16:35:31 +01:00
Brett Jephson 949f25cfa6 Merge branch 'brett/RND-2311-openapi-enum' of github.com:GitbookIO/gitbook into brett/RND-2311-openapi-enum 2024-09-24 16:26:52 +01:00
Brett Jephson 0b44528a1c Merge branch 'main' into brett/RND-2311-openapi-enum 2024-09-24 16:26:13 +01:00
Brett Jephson ea4f70ec88 Update icon 2024-09-24 16:25:35 +01:00
Brett Jephson 768b555f66 Formatting 2024-09-24 16:25:35 +01:00
Brett Jephson 96d5537087 Add server url cache to update request code sample 2024-09-24 16:25:35 +01:00
Brett Jephson 28c59d81e7 Formatting 2024-09-24 16:25:35 +01:00
Brett Jephson 3d147902d6 Fix type 2024-09-24 16:25:35 +01:00
Brett Jephson a6adfaaf27 Add icons for editing url 2024-09-24 16:25:35 +01:00
Brett Jephson d29a7a6f15 Revised client state with context 2024-09-24 16:25:35 +01:00
Brett Jephson 7244a0419a Changeset 2024-09-24 16:25:35 +01:00
Brett Jephson c338bca2ba Format 2024-09-24 16:25:35 +01:00
Brett Jephson 4f59d18bfc Update server choice based on selection 2024-09-24 16:25:35 +01:00
Brett Jephson b87ec84fd5 Update server url based on variable selection 2024-09-24 16:25:35 +01:00
Brett Jephson e793a177f6 Select variables in server url 2024-09-24 16:25:35 +01:00
Brett Jephson 9573535eba Update icon 2024-09-24 15:37:31 +01:00
Brett Jephson 087a783574 Formatting 2024-09-24 15:37:31 +01:00
Brett Jephson 3b0f5d82d5 Add server url cache to update request code sample 2024-09-24 15:37:31 +01:00
Brett Jephson 69414bdc52 Formatting 2024-09-24 15:37:31 +01:00
Brett Jephson adaf0deb5b Fix type 2024-09-24 15:37:31 +01:00
Brett Jephson d919d2ccfa Add icons for editing url 2024-09-24 15:37:31 +01:00
Brett Jephson 2d15453e51 Revised client state with context 2024-09-24 15:37:31 +01:00
Brett Jephson ca4518d068 Changeset 2024-09-24 15:37:31 +01:00
Brett Jephson cb454a3c4e Format 2024-09-24 15:37:31 +01:00
Brett Jephson e852206573 Update server choice based on selection 2024-09-24 15:37:31 +01:00
Brett Jephson 7e79e14a62 Update server url based on variable selection 2024-09-24 15:37:31 +01:00
Brett Jephson 4d476a8cbf Select variables in server url 2024-09-24 15:37:31 +01:00
327 changed files with 4545 additions and 6578 deletions
-1
View File
@@ -1 +0,0 @@
1.1.40
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix empty sitemap
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Avoid multiple <h1> in the page by using a <div> for the title in the header
+6
View File
@@ -0,0 +1,6 @@
---
'@gitbook/react-openapi': patch
'gitbook': patch
---
Adds content-visibility css property to OpenAPI Operation for better render performance
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/cache-do': minor
---
Experiment with optimizing billable duration in Cloudflare by using multiple RPC sessions instead of one
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Adapt code to pull token from customer backend generated custom cookies
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix scroll position when navigating pages on mobile
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': minor
---
Add Python support in Code Samples
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Add automatic color contrast in site header, restyle search button
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Log component stack in Sentry
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
RND-3532: drop down menu for hidden links at small screen size
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Change dark mode shadow for multi-space search toolbar
-5
View File
@@ -1,5 +0,0 @@
---
'@gitbook/react-openapi': minor
---
Add an optional client context to get a callback called when the Scalar client is opened for a block.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Use ellipsis and fix icon color for more links in the header on small screen
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix pass Sentry release properly
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Add support for sidebar background styles
-7
View File
@@ -1,7 +0,0 @@
---
'gitbook': patch
---
Ignore invalid API calls to `getSiteRedirectFromSource` API
To reduce the load on the API and also avoid errors.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Improve consistency of change request preview by removing cache-control on response
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Ignore errors from event flushing
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/icons': patch
---
Update version for static assets to fix invalid caching
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Revalidate change request cached content when pressing refresh button
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Improve emoji setup, align with GitBook app
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/icons': patch
---
Fix first run of the package in development mode
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Add navigation tabs for sections
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Fix an issue where the redirects of potentially malicious images were not going through.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Improve performances of loading pages with embeds by caching them
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Make cookies access safer
@@ -2,4 +2,4 @@
'@gitbook/react-openapi': patch
---
Updated scalar depdenency
bump: scalar from 1.0.5 to 1.0.7
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Support resolution of new site URLs with sections
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Replace all icons, previously imported from Geist, by new package `@gitbook/icons`
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/cache-do': minor
---
First version of a new cache backend powered by Cloudflare Durable Objects
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Add support for Norwegian language
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Improve contrast of search box placeholder
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Optimize layout shift while transitioning between pages with full width blocks (ex: OpenAPI blocks)
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Add support for page icons
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix GitBook specific static assets not being served correctly when deployed on Cloudflare
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Only display spaces dropdown in compact header when site is multi-variants
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Simplify the `useHash` algo used.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Improve perception of fast loading by not rendering skeletons for individual blocks in the top part of the viewport
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/cache-do': patch
---
Enable Workers observability with a sampling of 0.1
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Track events for site insights using the new dedicated API.
+6
View File
@@ -0,0 +1,6 @@
---
'@gitbook/react-openapi': minor
'gitbook': minor
---
Allow selection of server url
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/icons': minor
---
Initial release for `@gitbook/icons`, a package of content icons to be used for pages, documents, etc.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Automatically scroll to active item in TOC
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Add support for searching results in a sections site
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Improve colour contrast of list item decoration
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Persist state of tabs and dynamically sync them based on title
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Set Sentry release
-6
View File
@@ -1,6 +0,0 @@
---
'@gitbook/react-openapi': minor
'gitbook': minor
---
Revert scalar to 1.0.87 to mitigate an issue with ApiClientModalProvider
-6
View File
@@ -1,6 +0,0 @@
---
'@gitbook/react-contentkit': minor
'gitbook': minor
---
Send redirectOnError param to getPublishedContent when token is pulled from cookie
-5
View File
@@ -1,5 +0,0 @@
---
'@gitbook/react-contentkit': patch
---
Fix potential invalid URL error in react-contentkit
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Avoid error on fetch by passing a string URL
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Ensure "Sponsored via GitBook" can be translated in all languages
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Update ogimage with new design
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Track clicks on links (header, footer, content) for site insights.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Show the caption for file blocks
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Use url hash to open Expandable and scroll to anchor
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix margin for paragraphs in quote blocks
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Use new cache backend, powered by Durable Objects, alongside the existing ones (KV, etc).
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix code format overriding inline link styles
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix emojis display
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Include offset in calculations of whether scrollable element is in view
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': minor
---
Add required query parameters to the code sample
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': minor
---
Display pattern if available in parmas in OpenAPI block
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix inconsistent click area in table because of scroll indicator
-7
View File
@@ -1,7 +0,0 @@
---
'gitbook': patch
---
Implement a safer way to interact with localStorage.
If it's disabled on the browser it should not throw error.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Stop using KV cache backend for now, but also improves it for higher performances
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix two issues where pages would crash due Recoil not behaving correctly in RSC.
+6
View File
@@ -0,0 +1,6 @@
---
'@gitbook/react-openapi': minor
'gitbook': patch
---
Synchronize response and response example tabs
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Show definition title when visible in cards
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix flickering when displaying an "Ask" answer with code blocks
+6
View File
@@ -0,0 +1,6 @@
---
'@gitbook/react-openapi': minor
'gitbook': patch
---
Rollback of scalar modal while fixing perf issue
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix dynamic tabs infinite loop
-5
View File
@@ -1,5 +0,0 @@
---
'@gitbook/react-openapi': patch
---
Prevent codemirror from loading multiple versions in scalar
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Optimize images rendered in community ads
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Update design of Checkbox to be more consistent and readable
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-contentkit': patch
---
Fix rendering of webframe with SSR causing wrong communication between frame and renderer
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix variant selector contrast for non-default themes
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Disable KV cache for docs.gitbook.com as a test, also disable it for change-request to improve consistency
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Add optional env `GITBOOK_INTEGRATIONS_HOST` to configure the host serving the integrations
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': patch
---
Fix crash when `example` is undefined for a response
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix search loading state
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Improve the toolbar for change-requests and revisions to show more actions
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Added support for new Reusable Content block.
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Add support for icons style customization for sites
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix Sentry instrumentation
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': patch
---
Adds tabs to Response Example section e.g. for status code examples
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Even safer localStorage
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Avoid errors on legacy browsers
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Improve readability of tables with hover style and vertical dividers
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': patch
---
Render mandatory headers in code sample
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Image optimization endpoint redirects to underlying image URL if the signature is not the latest.
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': patch
---
Update Scalar client to latest version
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': minor
---
Prevent search indexation for pages where it's configured as disabled
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix bullet list display on full size blocks
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix table of contents being visible on mobile when disabled at the page level
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix "Parser" language syntax highlighting
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix accessibility of the table of contents by using `aria-current` instead of `aria-selected`
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Fix a vulnerability issue for images using an older version of the image signing parameter.
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': minor
---
Track an event into site insights when visitor is opening the Scalar API client.

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