github cloudflare/workers-sdk wrangler@3.21.0

latest releases: wrangler@3.63.1, @cloudflare/vitest-pool-workers@0.4.9, wrangler@3.63.0...
6 months ago

Minor Changes

  • #4423 a94ef570 Thanks @mrbbot! - feat: apply source mapping to logged strings

    Previously, Wrangler would only apply source mapping to uncaught exceptions. This meant if you caught an exception and logged its stack trace, the call sites would reference built JavaScript files as opposed to source files. This change looks for stack traces in logged messages, and tries to source map them.

    Note source mapping is only applied when outputting logs. Error#stack does not return a source mapped stack trace. This means the actual runtime value of new Error().stack and the output from console.log(new Error().stack) may be different.

Patch Changes

  • #4511 66394681 Thanks @huw! - Add 'took recursive isolate lock' warning to workerd output exceptions

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.