github cloudflare/workers-sdk wrangler@4.138.0

latest releases: @cloudflare/runtime-types@0.1.1, @cloudflare/vite-plugin@1.59.0
5 hours ago

Minor Changes

  • #15776 b03f960 Thanks @edevil! - Add event-code support to temporary Worker deployments

    Use wrangler deploy --temporary --event-code <code> to provision an account for an event. Wrangler requires explicit server acknowledgement before caching the account and keeps the event code out of its cache and telemetry.

  • #15817 6e77c53 Thanks @jamesopstad! - Allow framework commands to produce Preview Build Output with the experimental config

    When cf previews deploy invokes a framework build command, Preview intent is now preserved. Function-based cloudflare.config.ts files receive isPreview: true, and generated Build Output is marked as a Preview build.

Patch Changes

  • #15806 8fade73 Thanks @NuroDev! - Standardize Zod validation error output

    Format validation errors with Zod's built-in prettifyError() helper so Miniflare, Wrangler, the Vite plugin, and the Vitest plugin show consistent messages and property paths.

  • Updated dependencies [a71237a, 8fade73]:

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.