Skip to content

Conversation

workers-frameworks
Copy link
Contributor

@workers-frameworks workers-frameworks commented Mar 19, 2025

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 consistency

    BREAKING CHANGE

    Overrides:

    Overrides now live in @opennextjs/cloudflare/overrides and some files have been renamed.

    • Incremental cache overrides: @opennextjs/cloudflare/overrides/incremental-cache/...
    • Tag cache overrides: @opennextjs/cloudflare/overrides/tag-cache/...
    • Queue overrides: @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 and NEXT_CACHE_D1_REVALIDATIONS_TABLE have been dropped.
    The tables have a fixed names tags and revalidations.

  • #479 0c93e8b Thanks @james-elicx! - feat: commands for cli actions

    The OpenNext Cloudflare CLI now uses the following commands;

    • build: build the application
    • populateCache: populate either the local or remote cache
    • preview: populate the local cache and start a dev server
    • deploy: populate the remote cache and deploy to production
  • #490 00f6071 Thanks @vicb! - Drop the deprecated kvCache in favor of kv-cache

Patch Changes

Copy link

pkg-pr-new bot commented Mar 19, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@474

commit: 25cb61e

@workers-frameworks workers-frameworks force-pushed the changeset-release/main branch 18 times, most recently from d96acbf to e3b54f5 Compare March 25, 2025 13:59
@vicb vicb merged commit bb12b8b into main Mar 26, 2025
7 checks passed
@vicb vicb deleted the changeset-release/main branch March 26, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants