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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@opennextjs/[email protected]
Minor Changes
#499
5037f57
Thanks @vicb! - Refactor the codebase for consistencyBREAKING CHANGE
Overrides:
Overrides now live in
@opennextjs/cloudflare/overrides
and some files have been renamed.@opennextjs/cloudflare/overrides/incremental-cache/...
@opennextjs/cloudflare/overrides/tag-cache/...
@opennextjs/cloudflare/overrides/queue/...
For example the KV incremental cache override can be imported as
@opennextjs/cloudflare/overrides/incremental-cache/kv-incremental-cache
.Environment variables and bindings name changes:
NEXT_CACHE_WORKERS_KV
->NEXT_INC_CACHE_KV
NEXT_CACHE_R2_...
->NEXT_INC_CACHE_R2_...
NEXT_CACHE_D1
->NEXT_TAG_CACHE_D1
NEXT_CACHE_DO_...
->NEXT_TAG_CACHE_DO_...
NEXT_CACHE_DO_REVALIDATION
->NEXT_CACHE_DO_QUEUE
NEXT_CACHE_REVALIDATION_WORKER
->WORKER_SELF_REFERENCE
Other:
NEXT_CACHE_D1_TAGS_TABLE
andNEXT_CACHE_D1_REVALIDATIONS_TABLE
have been dropped.The tables have a fixed names
tags
andrevalidations
.#479
0c93e8b
Thanks @james-elicx! - feat: commands for cli actionsThe OpenNext Cloudflare CLI now uses the following commands;
build
: build the applicationpopulateCache
: populate either the local or remote cachepreview
: populate the local cache and start a dev serverdeploy
: populate the remote cache and deploy to production#490
00f6071
Thanks @vicb! - Drop the deprecated kvCache in favor of kv-cachePatch Changes
#487
0702d2e
Thanks @james-elicx! - feat: support passing the wrangler environment when populating the cache#480
e0ec01d
Thanks @conico974! - fix deduplication for memory queue and add some log#481
9b0db4d
Thanks @conico974! - fixres.revalidate
not working in page router api route#484
6ce5643
Thanks @conico974! - Add sharding replication for the Durable Object Tag Cache#470
2650043
Thanks @conico974! - feat: add a sharded SQLite Durable object implementation for the tag cache#485
ced7d46
Thanks @conico974! - add an option for disabling sqlite on the durable object queue#460
60171f5
Thanks @conico974! - feat: durable object de-duping revalidation queue#497
958f322
Thanks @vicb! - Switch to bundled middleware#436
86c0139
Thanks @james-elicx! - feat: auto-populating d1 cache data#464
acfc7f3
Thanks @conico974! - Implement next mode for d1 tag cache that will reduce write#486
25a8f4c
Thanks @conico974! - auto create table for D1NextModeTagCache#443
54508ff
Thanks @james-elicx! - feat: r2 adapter for the incremental cache#491
e9dc621
Thanks @vicb! - Serve/cdn-cgi/image/...
images in dev