-
Notifications
You must be signed in to change notification settings - Fork 4k
Update opennext and leverage "use cache" on CF #3204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
44a5428
Upgrade opennext to upcoming version
SamyPesse df9f5a8
Enable global_fetch_strictly_public
SamyPesse 1e7de51
Enable withFilter
SamyPesse 8e3895b
Use use cache on cloudflare
SamyPesse 461c850
Remove all use of unstable_cache
SamyPesse 7a7741b
Log
SamyPesse 4b32059
Disable withoutConcurrentExecution for now
SamyPesse e9bfb73
Log trace error
SamyPesse 0559c56
Disable next cache on all requests
SamyPesse 64bd602
Enable dynamicIO
SamyPesse 0d8e759
Try dynamicIO
SamyPesse 3eeaf94
Remove all force-static as a test
SamyPesse 13613a2
Revert "Remove all force-static as a test"
SamyPesse b2087a9
Revert "Try dynamicIO"
SamyPesse 9265019
Revert "Enable dynamicIO"
SamyPesse 8522132
Merge branch 'main' into cloudflare/use-cache
SamyPesse 6cc6902
Update
SamyPesse 858b093
Update to 1.0.0
SamyPesse 90fb799
Rollback
SamyPesse a3841f9
Optimize performances
SamyPesse 097eb3c
Merge branch 'main' into cloudflare/use-cache
SamyPesse 15f69ce
Merge branch 'main' into cloudflare/use-cache
SamyPesse 76ea53d
bun install
SamyPesse 68afdaa
Rollback to unstable_cache to test
SamyPesse 8f9cb78
Revert "Rollback to unstable_cache to test"
SamyPesse 54325da
Merge branch 'main' into cloudflare/use-cache
SamyPesse 5a7f884
bun install
SamyPesse 8a3c6c3
Merge branch 'main' into cloudflare/use-cache
d630151
patch next als snapshot
a43968b
Revert "patch next als snapshot"
1290f95
use fix in OpenNext
4b71a4e
fix lockfile
e2b75f7
Merge branch 'main' into cloudflare/use-cache
54c1d93
remove dev deps
9e5a20b
Merge branch 'main' into cloudflare/use-cache
c9df34e
format
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,6 +145,7 @@ | |
"dependencies": { | ||
"@gitbook/api": "^0.115.0", | ||
"@gitbook/cache-tags": "workspace:*", | ||
"@opennextjs/cloudflare": "https://pkg.pr.new/@opennextjs/cloudflare@666", | ||
"@sindresorhus/fnv1a": "^3.1.0", | ||
"assert-never": "^1.2.1", | ||
"jwt-decode": "^4.0.0", | ||
|
@@ -156,7 +157,6 @@ | |
"warn-once": "^0.1.1", | ||
}, | ||
"devDependencies": { | ||
"@opennextjs/cloudflare": "^1.0.0-beta.3", | ||
"@types/rison": "^0.0.9", | ||
"gitbook": "*", | ||
"postcss": "^8", | ||
|
@@ -791,9 +791,9 @@ | |
|
||
"@nodelib/fs.walk": ["@nodelib/[email protected]", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="], | ||
|
||
"@opennextjs/aws": ["@opennextjs/aws@3.5.7", "", { "dependencies": { "@ast-grep/napi": "^0.35.0", "@aws-sdk/client-cloudfront": "3.398.0", "@aws-sdk/client-dynamodb": "^3.398.0", "@aws-sdk/client-lambda": "^3.398.0", "@aws-sdk/client-s3": "^3.398.0", "@aws-sdk/client-sqs": "^3.398.0", "@node-minify/core": "^8.0.6", "@node-minify/terser": "^8.0.6", "@tsconfig/node18": "^1.0.1", "aws4fetch": "^1.0.18", "chalk": "^5.3.0", "esbuild": "0.19.2", "express": "5.0.1", "path-to-regexp": "^6.3.0", "urlpattern-polyfill": "^10.0.0", "yaml": "^2.7.0" }, "bin": { "open-next": "dist/index.js" } }, "sha512-YjyHJrkIHI7YwQRCp8GjDOudu86oOc1RiwxvBBpPHrplsS18H4ZmkzGggAKhK6B4myGsJQ/q9kNP2TraoZiNzg=="], | ||
"@opennextjs/aws": ["@opennextjs/aws@3.6.1", "", { "dependencies": { "@ast-grep/napi": "^0.35.0", "@aws-sdk/client-cloudfront": "3.398.0", "@aws-sdk/client-dynamodb": "^3.398.0", "@aws-sdk/client-lambda": "^3.398.0", "@aws-sdk/client-s3": "^3.398.0", "@aws-sdk/client-sqs": "^3.398.0", "@node-minify/core": "^8.0.6", "@node-minify/terser": "^8.0.6", "@tsconfig/node18": "^1.0.1", "aws4fetch": "^1.0.18", "chalk": "^5.3.0", "esbuild": "0.19.2", "express": "5.0.1", "path-to-regexp": "^6.3.0", "urlpattern-polyfill": "^10.0.0", "yaml": "^2.7.0" }, "bin": { "open-next": "dist/index.js" } }, "sha512-RYU9K58vEUPXqc3pZO6kr9vBy1MmJZFQZLe0oXBskC005oGju/m4e3DCCP4eZ/Q/HdYQXCoqNXgSGi8VCAYgew=="], | ||
|
||
"@opennextjs/cloudflare": ["@opennextjs/cloudflare@1.0.0-beta.3", "", { "dependencies": { "@dotenvx/dotenvx": "1.31.0", "@opennextjs/aws": "3.5.7", "enquirer": "^2.4.1", "glob": "^11.0.0", "ts-tqdm": "^0.8.6" }, "peerDependencies": { "wrangler": "^3.114.3 || ^4.7.0" }, "bin": { "opennextjs-cloudflare": "dist/cli/index.js" } }, "sha512-qKBXQZhUeQ+iGvfJeF7PO30g59LHnPOlRVZd77zxwn6Uc9C+c0LSwo8N28XRIWyQPkY007rKk9pSIxOrP4MHtQ=="], | ||
"@opennextjs/cloudflare": ["@opennextjs/cloudflare@https://pkg.pr.new/@opennextjs/cloudflare@666", { "dependencies": { "@dotenvx/dotenvx": "1.31.0", "@opennextjs/aws": "^3.6.1", "enquirer": "^2.4.1", "glob": "^11.0.0", "ts-tqdm": "^0.8.6" }, "peerDependencies": { "wrangler": "^4.14.0" }, "bin": { "opennextjs-cloudflare": "dist/cli/index.js" } }], | ||
|
||
"@opentelemetry/api": ["@opentelemetry/[email protected]", "", {}, "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg=="], | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"turbo": "^2.5.0", | ||
"vercel": "^39.3.0" | ||
}, | ||
"packageManager": "[email protected].8", | ||
"packageManager": "[email protected].11", | ||
"overrides": { | ||
"@codemirror/state": "6.4.1", | ||
"@gitbook/api": "^0.115.0", | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.