Skip to content

Wrangler

2024-08-13

3.71.0

Minor Changes

  • #6464 da9106c Thanks @AnantharamanSI! - feat: rename --count to --limit in wrangler d1 insights

    This PR renames wrangler d1 insight's --count flag to --limit to improve clarity and conform to naming conventions.

    To avoid a breaking change, we have kept --count as an alias to --limit.

  • #6451 515de6a Thanks @danielrs! - feat: whoami shows membership information when available

  • #6463 dbc6782 Thanks @AnantharamanSI! - feat: add queryEfficiency to wrangler d1 insights output

  • #6252 a2a144c Thanks @garvit-gupta! - feat: Enable Wrangler to operate on Vectorize V2 indexes

Patch Changes

  • #6424 3402ab9 Thanks @RamIdeas! - fix: using a debugger sometimes disconnected with "Message is too large" error

2024-08-09

3.70.0

Minor Changes

Patch Changes

2024-08-06

3.69.1

Patch Changes

2024-08-06

3.69.0

Minor Changes

  • #6392 c3e19b7 Thanks @taylorlee! - feat: log Worker startup time in the version upload command

  • #6370 8a3c6c0 Thanks @CarmenPopoviciu! - feat: Create very basic Asset Server Worker and plumb it into wrangler dev

    These changes do the ground work needed in order to add Assets support for Workers in wrangler dev. They implement the following:

    • it creates a new package called workers-shared that hosts the Asset Server Worker, and the Router Workerin the future
    • it scaffolds the Asset Server Worker in some very basic form, with basic configuration. Further behaviour implementation will follow in a subsequent PR
    • it does the ground work of plumbing ASW into Miniflare

Patch Changes

  • #6392 c3e19b7 Thanks @taylorlee! - fix: remove bundle size warning from Worker deploy commands

    Bundle size was a proxy for startup time. Now that we have startup time reported, focus on bundle size is less relevant.

2024-08-01

3.68.0

Minor Changes

  • #6318 dc576c8 Thanks @danlapid! - feat: Add a log for worker startup time in wrangler deploy

  • #6097 64f34e8 Thanks @RamIdeas! - feat: implements the --experimental-dev-env (shorthand: --x-dev-env) flag for wrangler pages dev

Patch Changes

  • #6379 31aa15c Thanks @RamIdeas! - fix: clearer error message when trying to use Workers Sites or Legacy Assets with wrangler versions upload

  • #6367 7588800 Thanks @RamIdeas! - fix: implicitly cleanup (call stop()) in unstable_dev if the returned Promise rejected and the stop() function was not returned

  • #6330 cfbdede Thanks @RamIdeas! - fix: when the worker's request.url is overridden using the host or localUpstream, ensure port is overridden/cleared too

    When using --localUpstream=example.com, the request.url would incorrectly be "example.com:8787" but is now "example.com".

    This only applies to wrangler dev --x-dev-env and unstable_dev({ experimental: { devEnv: true } }).

  • #6365 13549c3 Thanks @WalshyDev! - fix: WASM modules meant that wrangler versions secret ... could not properly update the version. This has now been fixed.

  • Updated dependencies [a9021aa, 44ad2c7]:

2024-07-26

3.67.1

Patch Changes

  • #6312 67c611a Thanks @emily-shen! - feat: add CLI flag and config key for experimental Workers + Assets

    This change adds a new experimental CLI flag (--experimental-assets) and configuration key (experimental_assets) for the new Workers + Assets work.

    The new flag and configuration key are for the time being "inactive", in the sense that no behaviour is attached to them yet. This will follow up in future work.

  • Updated dependencies [b3c3cb8]:

2024-07-25

3.67.0

Minor Changes

  • #4545 e5afae0 Thanks @G4brym! - Remove experimental/beta constellation commands and binding, please migrate to Workers AI, learn more here https://developers.cloudflare.com/workers-ai/. This is not deemed a major version bump for Wrangler since these commands were never generally available.

  • #6322 373248e Thanks @IRCody! - Add cloudchamber scope to existing scopes instead of replacing them.

    When using any cloudchamber command the cloudchamber scope will now be added to the existing scopes instead of replacing them.

  • #6276 a432a13 Thanks @CarmenPopoviciu! - feat: Add support for wrangler.jsonc

    This commit adds support for wrangler.jsonc config file for Workers. This feature is available behind the --experimental-json-config flag (just like wrangler.json).

    To use the new configuration file, add a wrangler.jsonc file to your Worker project and run wrangler dev --experimental-json-config or wrangler deploy --experimental-json-config.

    Please note that this work does NOT add wrangler.json or wrangler.jsonc support for Pages projects!

  • #6168 1ee41ff Thanks @IRCody! - feature: Add list and remove subcommands to cloudchamber registries command.

Patch Changes

  • #6331 e6ada07 Thanks @threepointone! - fix: only warn about miniflare feature support (ai, vectorize, cron) once

    We have some warnings in local mode dev when trying to use ai bindings / vectorize / cron, but they are printed every time the worker is started. This PR changes the warning to only be printed once per worker start.

2024-07-23

3.66.0

Minor Changes

  • #6295 ebc85c3 Thanks @andyjessop! - feat: introduce an experimental flag for wrangler types to dynamically generate runtime types according to the user's project configuration.

  • #6272 084d39e Thanks @emily-shen! - fix: add legacy-assets config and flag as alias of current assets behavior

    • The existing behavior of the assets config key/flag will change on August 15th.
    • legacy-assets will preserve current functionality.

Patch Changes

  • #6203 5462ead Thanks @geelen! - fix: Updating to match new D1 import/export API format

  • #6315 3fd94e7 Thanks @penalosa! - chore: Add RayID to wrangler login error message displayed when a user hits a bot challenge page

2024-07-19

3.65.1

Patch Changes