github cloudflare/workers-sdk @cloudflare/vite-plugin@1.36.1

latest releases: miniflare@4.20260507.1, @cloudflare/pages-shared@0.13.133, @cloudflare/vitest-pool-workers@0.16.2...
4 hours ago

Patch Changes

  • #13802 a7fd465 Thanks @deodad! - Fix .dev.vars written for vite preview to round-trip values containing quotes

    When the plugin emits dist/<env>/.dev.vars for vite preview, it previously wrote each value as a double-quoted dotenv string with " escaped to \". dotenv (the parser wrangler uses) does not unescape \" inside double-quoted values, so values containing " arrived at the worker with literal backslashes still in them.

    The plugin now quotes strings using the first quote character that does not appear in the value (with the priority order: single → backtick → double), all of which dotenv strips correctly. If a value contains every supported quote character it throws instead of silently corrupting the value.

  • Updated dependencies [2284f20, 332f527, 039bada, 18e833d, b6cea17, 1a54ac5, 53e846a, f3fed88, beff19c, af42fed, 1a54ac5]:

    • miniflare@4.20260507.0
    • wrangler@4.89.0

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.