Releases: cloudflare/workers-sdk
Release list
wrangler@4.123.0
Minor Changes
-
#15113
b8fd112Thanks @BSFishy! - Add local dev simulation for Cloudflare Accessctx.access.getIdentity()You can now configure a mock Cloudflare Access identity in
wrangler.jsonso thatctx.access.getIdentity()returns it during local development. -
#15152
f0f2054Thanks @GregBrimble! - [private beta]: Updates the--ignore-defaultsflag to--ignore-base-configonwrangler previewcommands.--ignore-base-confignow only takes effect on Preview creation, rather than on each deployment, since Preview base configuration is now copy-on-create rather than inherit-on-deploy. -
#14872
339509dThanks @dario-piotrowicz! - Add automatic update prompts for out-of-date Cloudflare agent skillsWhen Cloudflare skills were previously installed by Wrangler and the upstream
cloudflare/skillsrepository has newer content, Wrangler now offers to update them after eligible commands complete.To reduce prompt fatigue, the update check only runs once a month (30 days since the last install or update). Declining suppresses the prompt until the next upstream change.
When declining an update, Wrangler offers the option to permanently disable future update prompts. This preference is stored globally in
~/.wrangler/agents-skills-install.jsonc. TheWRANGLER_NO_SKILLS_UPDATE_PROMPTS=trueenvironment variable can also be used to suppress prompts. The--install-skillsflag remains available regardless of these settings.
Patch Changes
- Updated dependencies [
b8fd112]:
create-cloudflare@2.72.0
Minor Changes
-
#14896
7d4565dThanks @scottbuscemi! - Make vinext the default Next.js scaffold, keep OpenNext as a variantcreate-cloudflare --framework=nextnow prompts for a Next.js adapter:- vinext (default / recommended) — scaffolds via
create-vinext-app(vinext dev/vinext build/vinext-cloudflare deploy) - opennext — keeps the previous OpenNext remote template for projects that need standard
next buildoutput or a capability vinext does not support yet
Non-interactive usage:
npm create cloudflare@latest my-app -- --framework=next --variant=vinext npm create cloudflare@latest my-app -- --framework=next --variant=opennext
-y/--accept-defaultsselects vinext. This aligns C3 with the recommended Next.js-on-Workers path in the Cloudflare docs while preserving an opt-in OpenNext path. - vinext (default / recommended) — scaffolds via
Patch Changes
-
#15126
24ac4fdThanks @edmundhung! - Use Wrangler 4 when installing Hello World template dependenciesThis avoids installing Wrangler 3 during initial scaffolding before Create Cloudflare upgrades the generated project to the latest Wrangler release.
@cloudflare/vitest-pool-workers@0.21.3
Patch Changes
- Updated dependencies [
b8fd112,f0f2054,339509d]:- miniflare@5.20260811.1-alpha
- wrangler@4.123.0
@cloudflare/vite-plugin@1.52.1
Patch Changes
- Updated dependencies [
b8fd112,f0f2054,339509d]:- miniflare@5.20260811.1-alpha
- wrangler@4.123.0
@cloudflare/runtime-types@0.0.14
Patch Changes
- Updated dependencies [
b8fd112]:
@cloudflare/remote-bindings@0.0.12
Patch Changes
- Updated dependencies [
b8fd112,f0f2054]:- miniflare@5.20260811.1-alpha
- @cloudflare/deploy-helpers@0.7.0
@cloudflare/deploy-helpers@0.7.0
Minor Changes
-
#15152
f0f2054Thanks @GregBrimble! - [private beta]: Updates the--ignore-defaultsflag to--ignore-base-configonwrangler previewcommands.--ignore-base-confignow only takes effect on Preview creation, rather than on each deployment, since Preview base configuration is now copy-on-create rather than inherit-on-deploy.
Patch Changes
- Updated dependencies [
b8fd112]:
miniflare@5.20260811.1-alpha
Minor Changes
-
#15113
b8fd112Thanks @BSFishy! - Add local dev simulation for Cloudflare Accessctx.access.getIdentity()You can now configure a mock Cloudflare Access identity in
wrangler.jsonso thatctx.access.getIdentity()returns it during local development.// wrangler.json { "access": { "dev": { "aud": "my-app-aud-tag", "identity": { "email": "user@example.com", "name": "Test User" } } } }
wrangler@4.122.0
Minor Changes
-
#15123
d0c976cThanks @dependabot! - Detect Node.js compatibility from the compatibility date, now thatnodejs_compatis enabled by defaultAs of compatibility date
2026-08-04, workerd enables thenodejs_compatandnodejs_compat_v2compatibility flags by default. Previously these tools only treated Node.js compatibility as enabled when one of those flags was listed explicitly, so a Worker on a compatibility date of2026-08-04or later without the flag would get Node.js APIs from the runtime but no Node.js polyfills from the bundler, andprocess.envcould be substituted with an empty object at build time. They now resolve these flags the same way workerd does, and honourno_nodejs_compatto opt out.To keep Node.js compatibility switched off on a newer compatibility date, specify both
no_nodejs_compatandno_nodejs_compat_v2, since each flag has its own default.@cloudflare/vitest-pool-workersneedsnodejs_compat_v2for its own test runner, so it continues to override a project that opts out of it. On a compatibility date that enables the flag anyway, it now drops the opt-out rather than adding the flag back, which workerd would reject — previously this stopped such a project from running any tests at all.wrangler typesalso no longer attributes its@types/nodesuggestion to "thenodejs_compatflag", which it can now make for Workers that do not set the flag at all.
Patch Changes
-
#15123
d0c976cThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20260804.1 ^5.20260811.1 workerd 1.20260804.1 1.20260811.1 -
#15148
0b82b15Thanks @jamesopstad! - Ignore anodejs_compatcompatibility flag that the compatibility date already enablesworkerd rejects a compatibility flag that its compatibility date enables by default, so a Worker configured with both a compatibility date of
2026-08-04or later andnodejs_compatfailed to start locally with "The compatibility flag nodejs_compat became the default as of 2026-08-04 so does not need to be specified anymore".The redundant
nodejs_compatandnodejs_compat_v2flags are now dropped when starting the runtime, which has no effect on the resulting Worker because the compatibility date enables both anyway.no_nodejs_compatandno_nodejs_compat_v2still switch Node.js compatibility off, and a flag specified alongside its own opt-out is left alone so that workerd still reports those as contradictory. -
#15123
d0c976cThanks @dependabot! - Stop adding a redundantnodejs_compatflag to generated Wrangler configurationscreate-cloudflareandwrangler setupwrite today's date as thecompatibility_date, and from2026-08-04that already enablesnodejs_compat. Adding the flag as well made the generated project fail to start with "The compatibility flag nodejs_compat became the default as of 2026-08-04 so does not need to be specified anymore", so the flag is now only added for earlier compatibility dates.create-cloudflarealso removes the flag when a template, or a framework's own scaffolder, already wrote it into a configuration that ends up using such a compatibility date, and still installs@types/nodefor these projects even though there is no longer a flag to detect them by.wrangler setupdoes the same for awrangler.json(c)that is already in the project: it writes today's date over whatever date that configuration was written for, so anodejs_compatit finds there is removed as part of writing the file. -
#15142
3b02915Thanks @penalosa! - Fix remote binding sessions reusing stale binding configurationsStarting a new remote bindings session that reuses a Worker name no longer picks up the bindings from a previous session, which could cause
Binding "..." not founderrors. -
Updated dependencies [
d0c976c,d0c976c,0b82b15,d0c976c,90dd5e5]: