Compare commits

..

5 Commits

Author SHA1 Message Date
Samy Pessé 730771beb3 Try longer 2025-04-09 23:24:28 +02:00
Samy Pessé aaf901c9e1 Again 2025-04-09 23:03:51 +02:00
Samy Pessé 7b00d34342 Fix condition 2025-04-09 20:34:23 +02:00
Samy Pessé 957d1e30e6 Fix condition 2025-04-09 19:50:12 +02:00
Samy Pessé 93f467cf0f Fix assets URLs when base finishes with a slash 2025-04-09 19:34:27 +02:00
34 changed files with 116 additions and 85 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Cache AI Page Link summary
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Tweak footer design (and refactor)
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix security issue with injection of "javacript:` url in the back button of PDFs
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook-v2": patch
---
Fix incoming URL for requests that were proxied
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Implement retry logic for the DO cache to prevent when revalidating content.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Add superscript and subscript text rendering
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Fix OpenAPISchemas description padding
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Add support for buttons to GitBook.
+5
View File
@@ -0,0 +1,5 @@
---
"@gitbook/colors": patch
---
Desaturate text colors by decreasing chroma for the last steps of the color scale
+6
View File
@@ -0,0 +1,6 @@
---
'@gitbook/react-openapi': patch
'gitbook': patch
---
Improve OpenAPI schema style
+7
View File
@@ -0,0 +1,7 @@
---
'@gitbook/openapi-parser': patch
'@gitbook/react-openapi': patch
'gitbook': patch
---
Remove stable from x-stability
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Improve the error message returned by the revalidate endpoint.
+6
View File
@@ -0,0 +1,6 @@
---
'@gitbook/react-openapi': patch
'gitbook': patch
---
Improve OpenAPI codesample (add OpenAPISelect component)
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix ogimage generation crashing when site is using a custom WOFF2 font
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": minor
---
Do not set cookie to identify visitor for insights when disabled.
+6
View File
@@ -0,0 +1,6 @@
---
"@gitbook/react-openapi": patch
"gitbook": patch
---
Improve OpenAPI schemas block ungrouped style. Classnames have changed, please refer to this PR to update GBX.
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': patch
---
Handle optional security headers
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Override Scalar's overscroll-behavior
+5
View File
@@ -0,0 +1,5 @@
---
"@gitbook/react-openapi": patch
---
Hide deprecated properties in examples
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Better error handling in cache revalidation.
+3 -3
View File
@@ -199,8 +199,8 @@ jobs:
runs-on: ubuntu-latest
name: Visual Testing v2 (Cloudflare)
needs: deploy-v2-cloudflare
timeout-minutes: 10
if: startsWith(github.ref_name, 'cloudflare/')
timeout-minutes: 15
if: startsWith(github.head_ref || github.ref_name, 'cloudflare/')
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -263,7 +263,7 @@ jobs:
name: Visual Testing Customers v2 (Cloudflare)
needs: deploy-v2-cloudflare
timeout-minutes: 8
if: startsWith(github.ref_name, 'cloudflare/')
if: startsWith(github.head_ref || github.ref_name, 'cloudflare/')
steps:
- name: Checkout
uses: actions/checkout@v4
-6
View File
@@ -1,11 +1,5 @@
# @gitbook/cache-tags
## 0.3.0
### Minor Changes
- 116575c: Improve typing of getComputedContentSourceCacheTags to match latest API specification
## 0.2.0
### Minor Changes
+1 -1
View File
@@ -8,7 +8,7 @@
"default": "./dist/index.js"
}
},
"version": "0.3.0",
"version": "0.2.0",
"dependencies": {
"@gitbook/api": "*",
"assert-never": "^1.2.1"
-6
View File
@@ -1,11 +1,5 @@
# @gitbook/colors
## 0.3.2
### Patch Changes
- cdffd7c: Desaturate text colors by decreasing chroma for the last steps of the color scale
## 0.3.1
### Patch Changes
+1 -1
View File
@@ -8,7 +8,7 @@
"default": "./dist/index.js"
}
},
"version": "0.3.2",
"version": "0.3.1",
"devDependencies": {
"typescript": "^5.5.3"
},
-8
View File
@@ -1,13 +1,5 @@
# gitbook-v2
## 0.2.4
### Patch Changes
- 4234289: Fix incoming URL for requests that were proxied
- Updated dependencies [116575c]
- @gitbook/cache-tags@0.3.0
## 0.2.3
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "gitbook-v2",
"version": "0.2.4",
"version": "0.2.3",
"private": true,
"dependencies": {
"next": "canary",
-36
View File
@@ -1,41 +1,5 @@
# gitbook
## 0.10.0
### Minor Changes
- b62b101: Do not set cookie to identify visitor for insights when disabled.
### Patch Changes
- 95ea22d: Cache AI Page Link summary
- daf41fc: Tweak footer design (and refactor)
- de53946: Fix security issue with injection of "javacript:` url in the back button of PDFs
- b92ecfa: Implement retry logic for the DO cache to prevent when revalidating content.
- 528eee3: Add superscript and subscript text rendering
- aa3357a: Fix OpenAPISchemas description padding
- 168a4fa: Add support for buttons to GitBook.
- 70c4182: Improve OpenAPI schema style
- 2b6c593: Remove stable from x-stability
- 580f7ad: Improve the error message returned by the revalidate endpoint.
- cbd768a: Improve OpenAPI codesample (add OpenAPISelect component)
- c765463: Fix ogimage generation crashing when site is using a custom WOFF2 font
- e59076a: Improve OpenAPI schemas block ungrouped style. Classnames have changed, please refer to this PR to update GBX.
- 29aaba5: Override Scalar's overscroll-behavior
- 90ead98: Better error handling in cache revalidation.
- Updated dependencies [116575c]
- Updated dependencies [cdffd7c]
- Updated dependencies [70c4182]
- Updated dependencies [2b6c593]
- Updated dependencies [cbd768a]
- Updated dependencies [e59076a]
- Updated dependencies [eedefdd]
- Updated dependencies [23cedd2]
- @gitbook/cache-tags@0.3.0
- @gitbook/colors@0.3.2
- @gitbook/react-openapi@1.1.10
- @gitbook/openapi-parser@2.1.3
## 0.9.2
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "gitbook",
"version": "0.10.0",
"version": "0.9.2",
"private": true,
"scripts": {
"dev": "env-cmd --silent -f ../../.env.local next dev",
+2 -1
View File
@@ -1,8 +1,9 @@
import { GITBOOK_ASSETS_URL, GITBOOK_URL } from '@v2/lib/env';
import { joinPathWithBaseURL } from './paths';
/**
* Create a public URL for an asset.
*/
export function getAssetURL(path: string): string {
return `${GITBOOK_ASSETS_URL || GITBOOK_URL}/~gitbook/static/${path}`;
return joinPathWithBaseURL(GITBOOK_ASSETS_URL || GITBOOK_URL, `~gitbook/static/${path}`);
}
-6
View File
@@ -1,11 +1,5 @@
# @gitbook/openapi-parser
## 2.1.3
### Patch Changes
- 2b6c593: Remove stable from x-stability
## 2.1.2
### Patch Changes
+1 -1
View File
@@ -9,7 +9,7 @@
"default": "./dist/index.js"
}
},
"version": "2.1.3",
"version": "2.1.2",
"sideEffects": false,
"dependencies": {
"@scalar/openapi-parser": "^0.10.10",
-13
View File
@@ -1,18 +1,5 @@
# @gitbook/react-openapi
## 1.1.10
### Patch Changes
- 70c4182: Improve OpenAPI schema style
- 2b6c593: Remove stable from x-stability
- cbd768a: Improve OpenAPI codesample (add OpenAPISelect component)
- e59076a: Improve OpenAPI schemas block ungrouped style. Classnames have changed, please refer to this PR to update GBX.
- eedefdd: Handle optional security headers
- 23cedd2: Hide deprecated properties in examples
- Updated dependencies [2b6c593]
- @gitbook/openapi-parser@2.1.3
## 1.1.9
### Patch Changes
+1 -1
View File
@@ -8,7 +8,7 @@
"default": "./dist/index.js"
}
},
"version": "1.1.10",
"version": "1.1.9",
"sideEffects": false,
"dependencies": {
"@gitbook/openapi-parser": "workspace:*",