Repository navigation
@cloudflare/codemods@0.5.0
Minor Changes
-
#16239
f360829Thanks @jamesopstad! - Support Cloudflare Access local development configuration incloudflare.config.tsWorkers can now configure an Access audience and mock identity under
access.dev, andcf migratepreserves this setting when converting a Wrangler configuration. Miniflare v5 now reads the setting fromconfig.access.dev, aligning its Worker configuration with@cloudflare/config; the Miniflare v4 compatibility adapter continues to accept its existingaccessoption.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.accesstoworkers[].config.access.dev. Miniflare v5 is currently in beta.