wrangler@3.114.6
Patch Changes
-
#8783
7bcf352
Thanks @petebacondarwin! - Improve error message when request to obtain membership info failsWrangler now informs user that specific permission might be not granted when fails to obtain membership info. The same information is provided when Wrangler is unable to fetch user's email.
-
#8866
db673d6
Thanks @edmundhung! - improve error message when redirected config contains environmentsthis change improves that validation error message that users see
when a redirected config file contains environments, by:- cleaning the message formatting and displaying the
offending environments in a list - prompting the user to report the issue to the author
of the tool which has generated the config
- cleaning the message formatting and displaying the
-
#8600
91cf028
Thanks @workers-devprod! - add validation to redirected configs in regards to environmentsadd the following validation behaviors to wrangler deploy commands, that relate
to redirected configs (i.e. config files specified by.wrangler/deploy/config.json
files):- redirected configs are supposed to be already flattened configurations without any
environment (i.e. a build tool should generate redirected configs already targeting specific
environments), so if wrangler encounters a redirected config with some environments defined
it should error - given the point above, specifying an environment (
--env=my-env
) when using redirected
configs is incorrect, so these environments should be ignored and a warning should be
presented to the user
- redirected configs are supposed to be already flattened configurations without any