File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @opennextjs/cloudflare " : minor
3+ ---
4+
5+ Refactor the codebase for consistency
6+
7+ BREAKING CHANGE
8+
9+ Overrides:
10+
11+ Overrides now live in ` @opennextjs/cloudflare/overrides ` and some files have been renamed.
12+
13+ - Incremental cache overrides: ` @opennextjs/cloudflare/overrides/incremental-cache/... `
14+ - Tag cache overrides: ` @opennextjs/cloudflare/overrides/tag-cache/... `
15+ - Queue overrides: ` @opennextjs/cloudflare/overrides/queue/... `
16+
17+ For example the KV incremental cache override can be imported as ` @opennextjs/cloudflare/overrides/incremental-cache/kv-incremental-cache ` .
18+
19+ Environment variables and bindings name changes:
20+
21+ - ` NEXT_CACHE_WORKERS_KV ` -> ` NEXT_INC_CACHE_KV `
22+ - ` NEXT_CACHE_R2_... ` -> ` NEXT_INC_CACHE_R2_... `
23+ - ` NEXT_CACHE_D1 ` -> ` NEXT_TAG_CACHE_D1 `
24+ - ` NEXT_CACHE_DO_... ` -> ` NEXT_TAG_CACHE_DO_... `
25+ - ` NEXT_CACHE_DO_REVALIDATION ` -> ` NEXT_CACHE_DO_QUEUE `
26+ - ` NEXT_CACHE_REVALIDATION_WORKER ` -> ` WORKER_SELF_REFERENCE `
27+
28+ Other:
29+
30+ ` NEXT_CACHE_D1_TAGS_TABLE ` and ` NEXT_CACHE_D1_REVALIDATIONS_TABLE ` have been dropped.
31+ The tables have a fixed names ` tags ` and ` revalidations ` .
You can’t perform that action at this time.
0 commit comments