Skip to content

Releases: opennextjs/opennextjs-cloudflare

@opennextjs/[email protected]

28 Mar 18:28
fafadaa
Compare
Choose a tag to compare

Patch Changes

@opennextjs/[email protected]

28 Mar 13:13
22e1e47
Compare
Choose a tag to compare

Patch Changes

@opennextjs/[email protected]

27 Mar 13:20
c195019
Compare
Choose a tag to compare

Patch Changes

@opennextjs/[email protected]

26 Mar 23:07
bdc95fb
Compare
Choose a tag to compare

Patch Changes

@opennextjs/[email protected]

26 Mar 18:59
81af13b
Compare
Choose a tag to compare

Patch Changes

@opennextjs/[email protected]

26 Mar 10:09
bb12b8b
Compare
Choose a tag to compare

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

@opennextjs/[email protected]

17 Mar 12:49
366d325
Compare
Choose a tag to compare

Patch Changes

@opennextjs/[email protected]

13 Mar 09:49
20f0095
Compare
Choose a tag to compare

Patch Changes

@opennextjs/[email protected]

10 Mar 09:44
52983ab
Compare
Choose a tag to compare

Patch Changes

  • #445 6a389fe Thanks @james-elicx! - fix: deployed worker unable to invoke itself in memory queue

    In deployments, Cloudflare Workers are unable to invoke workers on the same account via fetch, and the recommended way to call a worker is to use a service binding. This change switches to use service bindings for the memory queue to avoid issues with worker-to-worker subrequests.

    To continue using the memory queue, add a service binding to your wrangler config for the binding NEXT_CACHE_REVALIDATION_WORKER.

    {
      "services": [
        {
          "binding": "NEXT_CACHE_REVALIDATION_WORKER",
          "service": "<WORKER_NAME>"
        }
      ]
    }

@opennextjs/[email protected]

09 Mar 12:48
e05a57e
Compare
Choose a tag to compare

Patch Changes