Wrangler
2024-08-13
3.71.0
Minor Changes
#6464
da9106c
Thanks @AnantharamanSI! - feat: rename--count
to--limit
inwrangler 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 towrangler 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
- #6383
05082ad
Thanks @petebacondarwin! - feat: support outputting ND-JSON files via an environment variable
Patch Changes
#6440
09b5092
Thanks @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
cba2e25
Thanks @petebacondarwin! - fix: prevent crash when running wrangler dev due to missing dependency
2024-08-06
3.69.0
Minor Changes
#6392
c3e19b7
Thanks @taylorlee! - feat: log Worker startup time in theversion upload
command#6370
8a3c6c0
Thanks @CarmenPopoviciu! - feat: Create very basic Asset Server Worker and plumb it intowrangler 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 theAsset Server Worker
, and theRouter Worker
in 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
- it creates a new package called
Patch Changes
#6392
c3e19b7
Thanks @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
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 forwrangler pages dev
Patch Changes
#6379
31aa15c
Thanks @RamIdeas! - fix: clearer error message when trying to use Workers Sites or Legacy Assets withwrangler versions upload
#6367
7588800
Thanks @RamIdeas! - fix: implicitly cleanup (callstop()
) inunstable_dev
if the returned Promise rejected and thestop()
function was not returned#6330
cfbdede
Thanks @RamIdeas! - fix: when the worker's request.url is overridden using thehost
orlocalUpstream
, ensureport
is 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-env
andunstable_dev({ experimental: { devEnv: true } })
.#6365
13549c3
Thanks @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
67c611a
Thanks @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
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 forwrangler.jsonc
This commit adds support for
wrangler.jsonc
config file for Workers. This feature is available behind the--experimental-json-config
flag (just likewrangler.json
).To use the new configuration file, add a
wrangler.jsonc
file to your Worker project and runwrangler dev --experimental-json-config
orwrangler deploy --experimental-json-config
.Please note that this work does NOT add
wrangler.json
orwrangler.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) 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
ebc85c3
Thanks @andyjessop! - feat: introduce an experimental flag forwrangler types
to dynamically generate runtime types according to the user's project configuration.#6272
084d39e
Thanks @emily-shen! - fix: addlegacy-assets
config and flag as alias of currentassets
behavior- The existing behavior of the
assets
config key/flag will change on August 15th. legacy-assets
will preserve current functionality.
- The existing behavior of the
Patch Changes
#6203
5462ead
Thanks @geelen! - fix: Updating to match new D1 import/export API format#6315
3fd94e7
Thanks @penalosa! - chore: Add RayID towrangler login
error message displayed when a user hits a bot challenge page