Steven Hall
6a939b5685
Unit tests
2025-06-14 12:25:48 +01:00
Steven Hall
7599253c4b
Fix reusable content cross-space page reference resolution
...
- Add parentSpaceContext to GitBookSpaceContext type for tracking parent space information
- Update ReusableContent component to include parent space context when rendering content from different spaces
- Enhance resolveContentRef to check parent space when page resolution fails in current space
- Add comprehensive unit tests for the new parent space fallback functionality
This resolves broken links to pages in the parent space of reusable content when used across different sites.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-06-14 11:01:18 +01:00
conico974
6294bbb53c
Fix error propagating ( #3317 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-13 15:46:37 +02:00
spastorelli
28a9ee701e
Add paypal.gitbook.com to ADAPTIVE_CONTENT_HOSTS list ( #3315 )
2025-06-13 10:10:10 +00:00
Samy Pessé
315717fa2d
Disable the background fetch of getRevisionPageDocument ( #3313 )
2025-06-13 11:17:33 +02:00
Samy Pessé
da67711c90
Fix crash on Vercel ( #3311 )
2025-06-12 23:37:38 +02:00
Samy Pessé
fecdbe8dde
Support dynamic expressions ( #3295 )
2025-06-12 12:25:28 +02:00
spastorelli
d410381957
Add docs.testgitbook.com to ADAPTIVE_CONTENT_HOSTS list ( #3303 )
2025-06-11 14:25:05 +02:00
conico974
902c3c6c1a
apply customization for dynamic site context in v2 ( #3302 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-11 14:05:30 +02:00
conico974
2d64c78787
return null for 404 cached page in the incremental cache ( #3296 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-11 13:47:34 +02:00
Samy Pessé
fbfcca5dae
Fix rendering of font in ogimage ( #3299 )
2025-06-11 13:41:26 +02:00
Samy Pessé
fa3d2aae08
Fix inline expression crashing pages ( #3297 )
2025-06-11 12:27:24 +02:00
conico974
2860beacdc
revert to use withoutConcurrentExecution ( #3292 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-10 19:05:07 +02:00
conico974
f58b904ba6
Encode customization header ( #3289 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-09 11:37:29 +02:00
conico974
d5992f1a5c
Bump OpenNext to latest ( #3288 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-09 10:40:44 +02:00
Samy Pessé
fa12f9eeb6
Page cover dark-mode specific ( #3287 )
2025-06-08 14:57:50 +02:00
Samy Pessé
33726c88a0
Generate a llms-full version of the docs ( #3285 )
2025-06-08 12:13:14 +02:00
Zeno Kapitein
7d3fe23195
Add circular corners and depth styles ( #3280 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2025-06-07 13:48:16 +02:00
Samy Pessé
521052d84f
Remove withoutConcurrentExecution and withCacheKey ( #3281 )
2025-06-05 20:43:15 +01:00
conico974
0f867e533a
bump OpenNext to latest ( #3276 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-06-02 17:40:04 +02:00
conico974
a1da4f023d
Move DO to a 3rd worker ( #3270 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-30 16:19:11 +02:00
conico974
666e8426e1
External middleware in cloudflare ( #3254 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-30 14:56:00 +02:00
conico974
df2fa42bda
Chores: create server worker ( #3265 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-30 14:31:21 +02:00
conico974
2932077bf9
Remove trailing slash from linker ( #3268 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-27 21:13:55 +02:00
conico974
af66ff71ed
Add a force-revalidate api route ( #3263 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-25 16:55:45 +02:00
Samy Pessé
6f8ecd6111
Use more strict context ID for images during preview ( #3261 )
2025-05-23 13:16:43 +02:00
conico974
ba0094a862
fix ISR in preview in cloudflare ( #3250 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-21 09:52:05 +02:00
conico974
b259009c9c
Add temporary logging for Cloudflare debugging ( #3249 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-20 19:33:33 +02:00
conico974
d88dd5ed8a
Update OpenNext ( #3248 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-20 19:04:07 +02:00
Zeno Kapitein
4b67fe5317
V2: Add urlObject.hash to linker.toLinkForContent ( #3246 )
2025-05-20 10:25:35 +02:00
Samy Pessé
938125e772
Version Packages ( #3180 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-19 19:10:57 +02:00
conico974
1c8d9febb3
Custom Incremental Cache ( #3239 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-19 17:00:09 +02:00
conico974
223edae17d
Add env variables for the DOQueue ( #3243 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-19 13:47:33 +02:00
Samy Pessé
2c85a302fc
Update opennext and leverage "use cache" on CF ( #3204 )
...
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io >
2025-05-16 13:58:35 +01:00
spastorelli
cc37e2ae15
Persist visitor params values in public visitor session cookie ( #3231 )
2025-05-14 14:16:13 +02:00
Samy Pessé
778624af00
Only resize images with supported extensions ( #3229 )
2025-05-13 10:52:58 +02:00
Samy Pessé
e15757d01f
Use next@15.3.2 instead of canary ( #3227 )
2025-05-09 15:17:49 +02:00
spastorelli
56c923c0ed
Adapt site resolution/lookup to pass visitor unsigned claims in addition to token ( #3202 )
...
Co-authored-by: taranvohra <taranvohra@outlook.com >
2025-05-09 15:34:20 +05:30
Samy Pessé
7d7806df30
Passthrough SVG images in image resizing ( #3224 )
2025-05-08 18:57:50 +02:00
Greg Bergé
e6ddc0f07f
Fix sitemap URLs ( #3220 )
2025-05-08 08:54:28 +02:00
Steven H
dd043df00f
Revert investigation work around URL caches. ( #3183 )
2025-04-23 16:53:33 +01:00
Steven H
97b7c79bc6
Increase logging around caching behaviour causing page crashes. ( #3182 )
2025-04-23 15:04:00 +01:00
Steven H
634e0b4302
Improve error messages around undefined site sections. ( #3179 )
2025-04-23 11:47:28 +00:00
Samy Pessé
f9c942c8ff
Fix CORS error when loading icons in 2c ( #3162 )
2025-04-14 16:52:39 -07:00
Samy Pessé
4c3753046b
Cloudflare: fix image resizing ( #3143 )
2025-04-11 16:48:43 +02:00
Samy Pessé
89f8e16184
Cloudflare: resize images in v2 using direct fetch ( #3141 )
2025-04-11 15:18:44 +02:00
Samy Pessé
4dae8acfed
Cloudflare: fix image resizing ( #3138 )
2025-04-10 19:30:15 +02:00
Samy Pessé
bc081c4344
Fix cache revalidation for computed revisions ( #3134 )
2025-04-10 16:36:02 +02:00
Samy Pessé
e4275b235d
Version Packages ( #3137 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-10 13:31:27 +02:00
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