Wrangler
2024-08-13
3.71.0
Minor Changes
#6464
da9106cThanks @AnantharamanSI! - feat: rename--countto--limitinwrangler d1 insightsThis PR renames
wrangler d1 insight's--countflag to--limitto improve clarity and conform to naming conventions.To avoid a breaking change, we have kept
--countas an alias to--limit.#6451
515de6aThanks @danielrs! - feat:whoamishows membership information when available#6463
dbc6782Thanks @AnantharamanSI! - feat: add queryEfficiency towrangler d1 insightsoutput#6252
a2a144cThanks @garvit-gupta! - feat: Enable Wrangler to operate on Vectorize V2 indexes
Patch Changes
- #6424
3402ab9Thanks @RamIdeas! - fix: using a debugger sometimes disconnected with "Message is too large" error
2024-08-09
3.70.0
Minor Changes
- #6383
05082adThanks @petebacondarwin! - feat: support outputting ND-JSON files via an environment variable
Patch Changes
#6440
09b5092Thanks @petebacondarwin! - fix: tweak the properties of the new Wrangler output file entries for better consistencyUpdated dependencies [
d55eeca]:
2024-08-06
3.69.1
Patch Changes
- #6432
cba2e25Thanks @petebacondarwin! - fix: prevent crash when running wrangler dev due to missing dependency
2024-08-06
3.69.0
Minor Changes
#6392
c3e19b7Thanks @taylorlee! - feat: log Worker startup time in theversion uploadcommand#6370
8a3c6c0Thanks @CarmenPopoviciu! - feat: Create very basic Asset Server Worker and plumb it intowrangler devThese 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-sharedthat hosts theAsset Server Worker, and theRouter Workerin the future - it scaffolds the
Asset Server Workerin 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
- it creates a new package called
Patch Changes
#6392
c3e19b7Thanks @taylorlee! - fix: remove bundle size warning from Worker deploy commandsBundle 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
dc576c8Thanks @danlapid! - feat: Add a log for worker startup time in wrangler deploy#6097
64f34e8Thanks @RamIdeas! - feat: implements the--experimental-dev-env(shorthand:--x-dev-env) flag forwrangler pages dev
Patch Changes
#6379
31aa15cThanks @RamIdeas! - fix: clearer error message when trying to use Workers Sites or Legacy Assets withwrangler versions upload#6367
7588800Thanks @RamIdeas! - fix: implicitly cleanup (callstop()) inunstable_devif the returned Promise rejected and thestop()function was not returned#6330
cfbdedeThanks @RamIdeas! - fix: when the worker's request.url is overridden using thehostorlocalUpstream, ensureportis overridden/cleared tooWhen 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-envandunstable_dev({ experimental: { devEnv: true } }).#6365
13549c3Thanks @WalshyDev! - fix: WASM modules meant thatwrangler versions secret ...could not properly update the version. This has now been fixed.
2024-07-26
3.67.1
Patch Changes
#6312
67c611aThanks @emily-shen! - feat: add CLI flag and config key for experimental Workers + AssetsThis 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
e5afae0Thanks @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
373248eThanks @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
a432a13Thanks @CarmenPopoviciu! - feat: Add support forwrangler.jsoncThis commit adds support for
wrangler.jsoncconfig file for Workers. This feature is available behind the--experimental-json-configflag (just likewrangler.json).To use the new configuration file, add a
wrangler.jsoncfile to your Worker project and runwrangler dev --experimental-json-configorwrangler deploy --experimental-json-config.Please note that this work does NOT add
wrangler.jsonorwrangler.jsoncsupport for Pages projects!#6168
1ee41ffThanks @IRCody! - feature: Add list and remove subcommands to cloudchamber registries command.
Patch Changes
#6331
e6ada07Thanks @threepointone! - fix: only warn about miniflare feature support (ai, vectorize, cron) onceWe 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
ebc85c3Thanks @andyjessop! - feat: introduce an experimental flag forwrangler typesto dynamically generate runtime types according to the user's project configuration.#6272
084d39eThanks @emily-shen! - fix: addlegacy-assetsconfig and flag as alias of currentassetsbehavior- The existing behavior of the
assetsconfig key/flag will change on August 15th. legacy-assetswill preserve current functionality.
- The existing behavior of the
Patch Changes
#6203
5462eadThanks @geelen! - fix: Updating to match new D1 import/export API format#6315
3fd94e7Thanks @penalosa! - chore: Add RayID towrangler loginerror message displayed when a user hits a bot challenge page