@cloudflare/workers-utils@0.33.1
Patch Changes
-
#15088
fb6b51bThanks @Neal006! - Report malformed container SSH keys and a non-objectcontainers.configurationas config errors instead of crashingPreviously, a
containersentry with a malformedauthorized_keysortrusted_user_ca_keysentry (a missing or non-stringpublic_key, or an entry that is not an object), or acontainers.configurationset tonull, made Wrangler exit with a stack trace and "If you think this is a bug, please open an issue" rather than pointing at the field.These configurations now produce an ordinary configuration error naming the offending field and array index, such as
containers.authorized_keys[0].public_key must be a string. Apublic_keythat is not an ED25519 key is also now reported with correct grammar. -
#15010
1b73c87Thanks @LeSingh1! - Report an invalidqueues.consumersvalue as a configuration error instead of crashingPreviously, setting
queues.consumersto something other than an array (for examplenullor a string) could crash Wrangler or produce a flood of confusing extra errors. You now get a single clear message telling you the field must be an array.