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

latest releases: wrangler@4.59.3, create-cloudflare@2.62.3, @cloudflare/devprod-status-bot@1.3.0...
8 hours ago

Patch Changes

  • #11946 fa39a73 Thanks @MattieTK! - Fix configFileName returning wrong filename for .jsonc config files

    Previously, users with a wrangler.jsonc config file would see error messages and hints referring to wrangler.json instead of wrangler.jsonc. This was because the configFormat function collapsed both .json and .jsonc files into a single "jsonc" value, losing the distinction between them.

    Now configFormat returns "json" for .json files and "jsonc" for .jsonc files, allowing configFileName to return the correct filename for each format.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.