github cloudflare/workers-sdk @cloudflare/workers-utils@0.22.1

Patch Changes

  • #14084 e86489a Thanks @dario-piotrowicz! - Correctly map JSON bindings in mapWorkerMetadataBindings

    The json binding case used literal keys name and json instead of a computed property key [binding.name]: binding.json. This caused JSON bindings to always produce { name: "<binding_name>", json: <value> } instead of { <binding_name>: <value> }, clobbering any existing vars with those keys. This is now consistent with how plain_text bindings are mapped.

  • #14105 337e912 Thanks @dario-piotrowicz! - Remove trailing periods from URLs in terminal output

    URLs printed to the terminal with a sentence-ending period (e.g. https://example.com/path.) would include the period when clicked in some terminal emulators, causing 404 errors. This removes trailing periods from all URLs displayed in CLI output across wrangler, miniflare, vitest-pool-workers, and workers-utils.

  • #14063 65b5f9e Thanks @emily-shen! - Move fetch helpers into @cloudflare/workers-utils

    Shared Cloudflare API fetch helper types and plumbing now live in @cloudflare/workers-utils so Wrangler and other clients can use the same implementation.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.