Skip to content

@cloudflare/workers-utils@0.33.1

Choose a tag to compare

@workers-devprod workers-devprod released this 18 Aug 12:59
· 5 commits to main since this release
8ee43f6

Patch Changes

  • #15088 fb6b51b Thanks @Neal006! - Report malformed container SSH keys and a non-object containers.configuration as config errors instead of crashing

    Previously, a containers entry with a malformed authorized_keys or trusted_user_ca_keys entry (a missing or non-string public_key, or an entry that is not an object), or a containers.configuration set to null, 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. A public_key that is not an ED25519 key is also now reported with correct grammar.

  • #15010 1b73c87 Thanks @LeSingh1! - Report an invalid queues.consumers value as a configuration error instead of crashing

    Previously, setting queues.consumers to something other than an array (for example null or 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.