Minor Changes
-
#6603
a197460
Thanks @taylorlee! - feature: log version preview url when previews existThe version upload API returns a field indicating whether
a preview exists for that version. If a preview exists and
workers.dev is enabled, wrangler will now log the full
URL on version upload.This does not impact wrangler deploy, which only prints the
workers.dev route of the latest deployment. -
#6550
8d1d464
Thanks @Pedr0Rocha! - feature: add RateLimit type generation to the ratelimit unsafe binding.
Patch Changes
-
#6615
21a09e0
Thanks @RamIdeas! - chore: avoid potential double-install of create-cloudflareWhen
wrangler init
delegates to C3, it did so vianpm create cloudflare@2.5.0
. C3's v2.5.0 was the first to include auto-update support to avoidnpx
's potentially stale cache. But this also guaranteed a double install for users who do not have 2.5.0 cached. Now, wrangler delegates vianpm create cloudflare@^2.5.0
which should use the latest version cached on the user's system or install and use the latest v2.x.x. -
#6603
a197460
Thanks @taylorlee! - chore: fix version upload log orderPreviously deploy prints:
upload timings
deploy timings
current version idwhile version upload prints:
worker version id
upload timingsThis change makes version upload more similar to deploy by printing
version id after upload, which also makes more sense, as version ID can
only be known after upload has finished.