Wrangler Changelog
2024-03-27
3.39.0
#5373
5bd8db8Thanks @RamIdeas! - feature: Implement versioned rollbacks viawrangler rollback [version-id] --experimental-versions.Please note, the
experimental-versionsflag is required to use the new behaviour. The originalwrangler rollbackcommand is unchanged if run without this flag.#5366
e11e169Thanks @RamIdeas! - fix: save non-versioned script-settings (logpush, tail_consumers) onwrangler versions deploy. This command still requires--experimental-versions.#5405
7c701bfThanks @RamIdeas! - chore: addwrangler deployments view [deployment-id] --experimental-versionscommandThis command will display an error message which points the user to run either
wrangler deployments status --experimental-versionsorwrangler versions view <version-id> --experimental-versionsinstead.
2024-03-26
3.38.0
#5310
528c011Thanks @penalosa! - feat: Watch the entire module root for changes in--no-bundlemode, rather than just the entrypoint file.#5327
7d160c7Thanks @penalosa! - feat: Addwrangler pages download config#5284
f5e2367Thanks @CarmenPopoviciu! - feat: Addwrangler.tomlsupport inwrangler pages devAs we are adding
wrangler.tomlsupport for Pages, we want to ensure thatwrangler pages devworks with a configuration file.#5353
3be826fThanks @penalosa! - feat: Updateswrangler pages functions buildto support using configuration fromwrangler.tomlin the generated output.#5102
ba52208Thanks @pmiguel! - feature: add support for queue delivery controls onwrangler queues create#5327
7d160c7Thanks @penalosa! - fix: Use specific error code to signal a wrangler.toml file not being found in build-env#5310
528c011Thanks @penalosa! - fix: Reload Python workers when therequirements.txtfile changes
2024-03-22
3.37.0
#5294
bdc121dThanks @mattdeboard! - feature: Addevent-notificationcommands in support of event notifications for Cloudflare R2.Included are commands for creating and deleting event notification configurations for individual buckets.
#5231
e88ad44Thanks @w-kuhn! - feature: Add support for configuring HTTP Pull consumers for QueuesHTTP Pull consumers can be used to pull messages from queues via https request.
#5317
9fd7ebaThanks @GregBrimble! - chore: Deprecate-- <command>,--proxyand--script-pathoptions fromwrangler pages dev.Build your application to a directory and run the
wrangler pages dev <directory>instead. This results in a more faithful emulation of production behavior.Updated dependencies [
248a318]:
2024-03-21
2.21.1
#5337
35660e27Thanks @RamIdeas! - fix: Ignore OPTIONS requests in Wrangler’s oauth serverIn Chrome v123, the auth requests from the browser back to wrangler now first include a CORS OPTIONS preflight request before the expected GET request. Wrangler was able to successfully complete the login with the first (OPTIONS) request, and therefore upon the second (GET) request, errored because the token exchange had already occured and could not be repeated.
Wrangler now stops processing the OPTIONS request before completing the token exchange and only proceeds on the expected GET request.
If you see a
ErrorInvalidGrantin a previous wrangler version when runningwrangler login, please try upgrading to this version or later.
2024-03-20
3.36.0
#5234
e739b7fThanks @CarmenPopoviciu! - feat: Implement environment inheritance for Pages configurationFor Pages, Wrangler will not require both of the supported named environments (“preview” | “production”) to be explicitly defined in the config file. If either
[env.production]or[env.preview]is left unspecified, Wrangler will use the top-level environment when targeting that named Pages environment.#5306
c60fed0Thanks @taylorlee! - fix: Remove triggered_by annotation from experimentalversions deploycommand which is now set by the API and cannot be set by the client.#5321
ac93411Thanks @RamIdeas! - fix: rename--experimental-gradual-rolloutsto--experimental-versionsflagThe
--experimental-gradual-rolloutsflag has been made an alias and will still work.And additional shorthand alias
--x-versionshas also been added and will work too.#5324
bfc4282Thanks @penalosa! - fix: Ignore OPTIONS requests in Wrangler’s oauth server#5099
93150aaThanks @KaiSpencer! - feat: expose--show-interactive-dev-sessionflagThis flag controls the interactive mode of the dev session, a feature that already exists internally but was not exposed to the user. This is useful for CI/CD environments where the interactive mode is not desired, or running in tools like
turboandnx.
2024-03-19
3.35.0
#5166
133a190Thanks @CarmenPopoviciu! - feat: Implement config file validation for Pages projectsWrangler proper has a mechanism in place through which it validates a wrangler.toml file for Workers projects. As part of adding wrangler toml support for Pages, we need to put a similar mechanism in place, to validate a configuration file against Pages specific requirements.
#5279
0a86050Thanks @penalosa! - feat: Support the hidden commandwrangler pages functions build-env#5093
a676f55Thanks @benycodes! - feature: add –dispatch-namespace to wrangler deploy to support uploading Workers directly to a Workers for Platforms dispatch namespace.#5275
e1f2576Thanks @petebacondarwin! - fix: ensure tail exits when the WebSocket disconnectsPreviously when the tail WebSocket disconnected, e.g. because of an Internet failure, the
wrangler tailcommand would just hang and neither exit nor any longer receive tail messages.Now the process exits with an exit code of 1, and outputs an error message.
The error message is formatted appropriately, if the tail format is set to
json.Fixes #3927
#5069
8f79981Thanks @RamIdeas! - chore: deprecatewrangler versioncommandwrangler versionis an undocumented alias forwrangler --version. It is being deprecated in favour of the more conventional flag syntax to avoid confusion with a new (upcoming)wrangler versionscommand.Updated dependencies [
1720f0a]:
2024-03-14
3.34.2
- #5238
a0768bcThanks @RamIdeas! - fix:versions uploadannotations (--messageand/or--tag) are now applied correctly to the uploaded Worker Version
3.34.1
- Updated dependencies [
2e50d51]:
3.34.0
#5224
03484c2Thanks @RamIdeas! - feature: Implementwrangler deployments listandwrangler deployments statusbehind--experimental-gradual-rolloutsflag.#5115
29e8151Thanks @RamIdeas! - feature: Implementwrangler versions deploycommand.For now, invocations should use the
--experimental-gradual-rolloutsflag.Without args, a user will be guided through prompts. If args are specified, they are used as the default values for the prompts. If the
--yesflag is specified, the defaults are automatically accepted for a non-interactive flow.#5208
4730b6cThanks @RamIdeas! - feature: Implementwrangler versions listandwrangler versions viewcommands behind the--experimental-gradual-rolloutsflag.#5064
bd935cfThanks @OilyLime! - feature: Improve create and update logic for hyperdrive to include caching settings