github opennextjs/opennextjs-cloudflare @opennextjs/cloudflare@0.6.6

Patch Changes

  • #520 3bd200a Thanks @vicb! - Define process.version and process.versions.node

  • #522 79fadc4 Thanks @vicb! - Log exceptions in requirePage and NodeModuleLoader when OPEN_NEXT_DEBUG=1

  • #523 19dedc7 Thanks @vicb! - fix: process.env has a higher loading priority than .env files

  • #469 aef8e51 Thanks @Juuldamen! - Adds support for passing options to initOpenNextCloudflareForDev(). This allows you to configure how your Cloudflare bindings will behave during local development.

    For example, the below configuration will persist the local state of bindings to a custom directory. Which can be useful if you want to share the state between different apps that reuse the same bindings in a monorepo.

    initOpenNextCloudflareForDev({
      persist: {
        path: "../../.wrangler/state/v3/custom-dir",
      },
    });

    You can find the configuration type with it's available options here in the Wrangler source code.

Don't miss a new opennextjs-cloudflare release

NewReleases is sending notifications on new releases.