Wrangler
Minor Changes
#7230
6fe9533Thanks @penalosa! - Turn onwrangler.json(c)support by defaultWrangler now supports both JSON (
wrangler.json) and TOML (wrangler.toml) for it's configuration file. The format of Wrangler's configuration file is exactly the same across both languages, except that the syntax isJSONrather thanTOML. e.g.name = "worker-ts" main = "src/index.ts" compatibility_date = "2023-05-04"would be interpreted the same as the equivalent JSON
{ "name": "worker-ts", "main": "src/index.ts", "compatibility_date": "2023-05-04" }#7330
219109aThanks @jonesphillip! - Added Oceania (oc) location hint as acceptable choice when creating an R2 bucket.#7227
02a0e1eThanks @taylorlee! - Addpreview_urlstoggle towrangler.tomlThe current Preview URLs (beta) feature routes to version preview urls based on the status of the
workers_devconfig value. Beta users have requested the ability to enable deployment urls and preview urls separately onworkers.dev, and the newpreviews_enabledfield of the enable-subdomain API will allow that. This change separates theworkers_devandpreview_urlsbehavior duringwrangler triggers deployandwrangler versions upload.preview_urlsdefaults to true, and does not implicitly depend on routes the wayworkers_devdoes.#7308
1b1d01aThanks @gpanders! - Add a default image for cloudchamber create and modify commands#7232
7da76deThanks @toddmantell! - feat: implement queues info commandThis command allows users to get information on individual queues.
To run this command use the queues info command with the name of a queue in the user's account.
wrangler queues info my-queue-name
Patch Changes
#7319
5a2c93dThanks @vicb! - chore(wrangler): update unenv dependency versionPulls in the implementation of module.findSourceMap
Updated dependencies [
0d314ed,476e5df]:- @cloudflare/workers-shared@0.9.0
- miniflare@3.20241106.1
Minor Changes
Patch Changes
- Updated dependencies [
6ba5903]:- @cloudflare/workers-shared@0.8.0
- miniflare@3.20241106.1
Minor Changes
#7252
97acf07Thanks @Maximo-Guk! - feat: Add production_branch and deployment_trigger to pages deploy detailed artifact for wrangler-action pages parity#7263
1b80decThanks @danielrs! - Fix wrangler pages deployment (list|tail) environment filtering.
Patch Changes
#7314
a30c805Thanks @Ankcorn! - Fix observability.logs.enabled validation#7285
fa21312Thanks @penalosa! - RenamedirectorytoprojectRootand ensure it's relative to thewrangler.toml. This fixes a regression which meant that.wranglertemporary folders were inadvertently generated relative toprocess.cwd()rather than the location of thewrangler.tomlfile. It also renamesdirectorytoprojectRoot, which affects the `unstable_startWorker() interface.Updated dependencies [
563439b]:
Minor Changes
#7173
b6cbfbdThanks @Ankcorn! - Adds [observability.logs] settings to wrangler. This setting lets developers control the settings for logs as an independent dataset enabling more dataset types in the future. The most specific setting will win if any of the datasets are not enabled.It also adds the following setting to the logs config
invocation_logs- set to false to disable invocation logs. Defaults to true.
[observability.logs] enabled = true invocation_logs = false#7207
edec415Thanks @jonesphillip! - Added r2 bucket lifecycle command to Wrangler including list, add, remove, set
Patch Changes
#7243
941d411Thanks @penalosa! - Include Version Preview URL in Wrangler's output file#7038
e2e6912Thanks @petebacondarwin! - fix: only show fetch warning if on old compatibility_dateNow that we have the
allow_custom_portscompatibility flag, we only need to show the fetch warnings when that flag is not enabled.#7216
09e6e90Thanks @vicb! - chore(wrangler): update unenv dependency version#7081
b4a0e74Thanks @penalosa! - Default the file based registry (--x-registry) to on. This should improve stability of multi-worker developmentUpdated dependencies []:
Minor Changes
#7201
beed72eThanks @GregBrimble! - feat: Tail Consumers are now supported for Workers with assets.You can now configure
tail_consumersin conjunction withassetsin yourwrangler.tomlfile. Read more about Static Assets and Tail Consumers in the documentation.#7212
837f2f5Thanks @jonesphillip! - Added r2 bucket info command to Wrangler. Improved formatting of r2 bucket list output
Patch Changes
#7210
c12c0feThanks @taylorlee! - Avoid an unnecessary GET request duringwrangler deploy.#7197
4814455Thanks @michelheusschen! - fix console output forwrangler d1 migrations create#6795
94f07eeThanks @benmccann! - chore: upgrade chokidar to v4#7133
c46e02dThanks @gpanders! - Do not emit escape sequences when stdout is not a TTY
Minor Changes
- #7154
ef7c0b3Thanks @jonesphillip! - Added the ability to enable, disable, and get r2.dev public access URLs for R2 buckets.
Patch Changes
#7169
9098a3bThanks @penalosa! - Ensureworkerdprocesses are cleaned up after address-in-use errors#7172
3dce388Thanks @penalosa! - Clarify dev registry messaging around locally connected services. The connection status of local service bindings & durable object bindings is now indicated byconnectedornot connectednext to their entry in the bindings summary. For more details, refer to https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/#local-development#7193
ad51d1dThanks @sdnts! - Output suggested wrangler.toml changes after creating an R2 bucket#7191
1d5bc6dThanks @sdnts! - Output suggested wrangler.toml changes after creating a QueueUpdated dependencies [
1db7846,08c6580]:- miniflare@3.20241106.0
- @cloudflare/workers-shared@0.7.1