Compare commits

..

2 Commits

Author SHA1 Message Date
Samy Pessé b6a08bc679 Version Packages (#3084)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-10 13:18:22 +02:00
Samy Pessé 116575c811 Changeset for cache-tags (#3135) 2025-04-10 13:16:01 +02:00
34 changed files with 85 additions and 116 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Cache AI Page Link summary
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Tweak footer design (and refactor)
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix security issue with injection of "javacript:` url in the back button of PDFs
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook-v2": patch
---
Fix incoming URL for requests that were proxied
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Implement retry logic for the DO cache to prevent when revalidating content.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Add superscript and subscript text rendering
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Fix OpenAPISchemas description padding
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Add support for buttons to GitBook.
-5
View File
@@ -1,5 +0,0 @@
---
"@gitbook/colors": patch
---
Desaturate text colors by decreasing chroma for the last steps of the color scale
-6
View File
@@ -1,6 +0,0 @@
---
'@gitbook/react-openapi': patch
'gitbook': patch
---
Improve OpenAPI schema style
-7
View File
@@ -1,7 +0,0 @@
---
'@gitbook/openapi-parser': patch
'@gitbook/react-openapi': patch
'gitbook': patch
---
Remove stable from x-stability
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Improve the error message returned by the revalidate endpoint.
-6
View File
@@ -1,6 +0,0 @@
---
'@gitbook/react-openapi': patch
'gitbook': patch
---
Improve OpenAPI codesample (add OpenAPISelect component)
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Fix ogimage generation crashing when site is using a custom WOFF2 font
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": minor
---
Do not set cookie to identify visitor for insights when disabled.
-6
View File
@@ -1,6 +0,0 @@
---
"@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
@@ -1,5 +0,0 @@
---
'@gitbook/react-openapi': patch
---
Handle optional security headers
-5
View File
@@ -1,5 +0,0 @@
---
'gitbook': patch
---
Override Scalar's overscroll-behavior
-5
View File
@@ -1,5 +0,0 @@
---
"@gitbook/react-openapi": patch
---
Hide deprecated properties in examples
-5
View File
@@ -1,5 +0,0 @@
---
"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: 15
if: startsWith(github.head_ref || github.ref_name, 'cloudflare/')
timeout-minutes: 10
if: startsWith(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.head_ref || github.ref_name, 'cloudflare/')
if: startsWith(github.ref_name, 'cloudflare/')
steps:
- name: Checkout
uses: actions/checkout@v4
+6
View File
@@ -1,5 +1,11 @@
# @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.2.0",
"version": "0.3.0",
"dependencies": {
"@gitbook/api": "*",
"assert-never": "^1.2.1"
+6
View File
@@ -1,5 +1,11 @@
# @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.1",
"version": "0.3.2",
"devDependencies": {
"typescript": "^5.5.3"
},
+8
View File
@@ -1,5 +1,13 @@
# 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.3",
"version": "0.2.4",
"private": true,
"dependencies": {
"next": "canary",
+36
View File
@@ -1,5 +1,41 @@
# 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.9.2",
"version": "0.10.0",
"private": true,
"scripts": {
"dev": "env-cmd --silent -f ../../.env.local next dev",
+1 -2
View File
@@ -1,9 +1,8 @@
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 joinPathWithBaseURL(GITBOOK_ASSETS_URL || GITBOOK_URL, `~gitbook/static/${path}`);
return `${GITBOOK_ASSETS_URL || GITBOOK_URL}/~gitbook/static/${path}`;
}
+6
View File
@@ -1,5 +1,11 @@
# @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.2",
"version": "2.1.3",
"sideEffects": false,
"dependencies": {
"@scalar/openapi-parser": "^0.10.10",
+13
View File
@@ -1,5 +1,18 @@
# @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.9",
"version": "1.1.10",
"sideEffects": false,
"dependencies": {
"@gitbook/openapi-parser": "workspace:*",