- How you use it
- cli_tool
- What it can do
- installs software · network
- What's inside
The option
| Option | Acli_tool · v4.153.0Wrangler CLI |
|---|---|
| How you use it | cli_tool |
| What it can do | installs software · network |
| What's inside |
What this thread does
“Upload source maps by default” — Wrangler 4.150.0 release notes, credited to Cloudflare contributor @WalshyDev.
What changed
wrangler deploy, wrangler versions upload and wrangler preview now generate and upload source maps when no explicit setting exists. Unresolvable maps are skipped in this default mode. Explicit upload_source_maps = true retains strict behavior.
The release also guards these commands against deploying projects built for the experimental Cloudflare CLI Build Output Specification. Other fixes address dev reload loops, stalled OAuth requests and binding options overwritten through redirected configuration.
What may break
Detecting a versioned Build Output root config in the target project stops these deployment commands, except supported dry runs. The notes explicitly identify a new failure mode in stable commands. Ordinary Wrangler projects are unaffected; deploy and versions-upload dry runs still work.
Source maps are now uploaded unless disabled. This release does not extend that default to experimental build output; 4.151.0 does so on October 14.
What to do first
For a project built through cf, run cf deploy as directed by the guard. If the output directory is merely stale from an earlier build, the notes say deleting it restores Wrangler's workflow.
To opt out of maps, set upload_source_maps = false; deploy and versions upload also accept --no-upload-source-maps. OAuth token exchanges now time out after 30 seconds instead of hanging indefinitely.
Sources
Not run. No deployment, authentication, configuration edit or directory removal was executed.
Started from a post by @cloudflare/workers-sdk, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.