github cloudflare/workers-sdk @cloudflare/config@0.26.0

Minor Changes

  • #16239 f360829 Thanks @jamesopstad! - Support Cloudflare Access local development configuration in cloudflare.config.ts

    Workers can now configure an Access audience and mock identity under access.dev, and cf migrate preserves this setting when converting a Wrangler configuration. Miniflare v5 now reads the setting from config.access.dev, aligning its Worker configuration with @cloudflare/config; the Miniflare v4 compatibility adapter continues to accept its existing access option.

    export default defineConfig({
      worker: {
        name: "api",
        access: {
          dev: {
            aud: "my-access-audience",
            identity: { email: "developer@example.com" },
          },
        },
      },
    });

    This is a breaking change for direct Miniflare v5 users: move workers[].dev.access to workers[].config.access.dev. Miniflare v5 is currently in beta.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.