Patch Changes
-
#4600
4233e514
Thanks @mrbbot! - fix: apply source mapping to deployment validation errorsPreviously if a Worker failed validation during
wrangler deploy
, the displayed error would reference locations in built JavaScript files. This made it more difficult to debug validation errors. This change ensures these errors are now source mapped, referencing locations in source files instead. -
#4440
15717333
Thanks @mrbbot! - fix: automatically create required directories forwrangler r2 object get
Previously, if you tried to use
wrangler r2 object get
with an object name containing a/
or used the--file
flag with a path containing a/
, and the specified directory didn't exist, Wrangler would throw anENOENT
error. This change ensures Wrangler automatically creates required parent directories if they don't exist. -
#4592
20da658e
Thanks @mrbbot! - fix: throw helpful error if email validation requiredPreviously, Wrangler would display the raw API error message and code if email validation was required during
wrangler deploy
. This change ensures a helpful error message is displayed instead, prompting users to check their emails or visit the dashboard for a verification link. -
#4597
e1d50407
Thanks @mrbbot! - fix: suggest checking permissions on authentication error with API token set -
#4593
c370026d
Thanks @mrbbot! - fix: include messages from API in errors -
#4588
4e5ed0b2
Thanks @mrbbot! - fix: require worker name for rollbackPreviously, Wrangler would fail with a cryptic error if you tried to run
wrangler rollback
outside of a directory containing a Wrangler configuration file with aname
defined. This change validates that a worker name is defined, and allows you to set it from the command line using the--name
flag. -
Updated dependencies [
c410ea14
]:- miniflare@3.20231218.0