News Radar RSS

wrangler@4.121.0

cloudflare/workers-sdk Releases Developers & Open Source Score 7/10

Summary

Minor Changes #15079 15cad03 Thanks @podonnell-dev ! - Add Preview base config secret commands Wrangler now manages Worker Preview base config secrets with wrangler preview base-config secret put , delete , list , and bulk . These commands update the Worker's previews_base_config.env , keeping shared defaults scoped to all of that Worker's Previews. wrangler preview base-config secret list reads from the Worker's Preview base config and prints secret names with values masked. wrangler preview base-config secret bulk deletes a secret when its value is null , matching wrangler secret bulk . #15000 731b33a Thanks @edmundhung ! - Allow Wrangler projects to build a Worker once and reuse it in createTestHarness() Build the Worker once: wrangler deploy --dry-run --outdir ./worker-output Then reuse the emitted Worker during test harness startup and reset: const server = createTestHarness ( { workers : [ { configPath : "./wrangler.jsonc" , prebuiltWorkerDir : "./worker-output" , } , ] , } ) ; #14737 e1b5b4b Thanks @ttoino ! - Add email.sending as an event subscription source for queues wrangler queues subscription create now accepts --source email.sending alongside two new flags, --zone-id and --domain , which identify the zone and the sending domain (zone apex or a verified subdomain) to subscribe to. Both flags are required for this source. The subscription's resource is displayed as the sending domain in wrangler queues subscription get . #15073 d669088 Thanks @FlorentCollin ! - Add US jurisdiction support to wrangler d1 create You can now create a D1 database in the US jurisdiction with wrangler d1 create <name> --jurisdiction us . The new jurisdiction is also listed in the command's help output. #15079 15cad03 Thanks @podonnell-dev ! - Use Preview deployment PATCH APIs for Preview secret commands Wrangler now updates Worker Preview secrets by patching the named Preview's latest deployment instead of patching the Worker's Previews settings. This keeps secret changes scoped to one Preview, avoids affecting production or other Previews, and creates a new Preview deployment that goes live at 100% immediately. wrangler preview secret list now reads from the named Preview's latest deployment and prints secret names with values masked. wrangler preview secret bulk now deletes a secret when its value is null , matching wrangler secret bulk . #14924 0aa8fa5 Thanks @ariesclark ! - Honor DO_NOT_TRACK=1 as a telemetry opt-out Wrangler now disables telemetry when DO_NOT_TRACK=1 is set, regardless of other telemetry settings. Patch Changes #15081 026e058 Thanks @podonnell-dev ! - Compact wrangler preview deployment success output wrangler preview now prints a concise success summary with the Preview name, Preview URL, deployment ID, and Deployment URL instead of the previous box-art settings summary. #15132 5b1b930 Thanks @dario-piotrowicz ! - Fetch script metadata directly instead of listing all scripts When resolving Durable Object migrations, fetch the specific script's service metadata via /workers/services/{name} instead of listing all scripts in the account via /workers/scripts . This avoids downloading metadata for every Worker in the account just to find one script's migration tag. #15032 6e7d37d Thanks @Sertug17 ! - Fix wrangler dev commands crashing with No such module "wrangler:modules-watch" when "no_bundle": true Running wrangler dev or wrangler pages dev with bundling disabled ( "no_bundle": true in wrangler.json , or the --no-bundle flag) no longer crashes at startup with Uncaught Error: No such module "wrangler:modules-watch" . Live reloading on file changes continues to work as before. Updated dependencies [ c7aede7 ]: miniflare@5.20260804.1-alpha

CloudflareDeveloper ToolsOpen Source

News Radar provides aggregated summaries. Full content and copyright remain with the original publisher.