Skip to content

@cloudflare/workers-utils@0.44.0

Choose a tag to compare

@workers-devprod workers-devprod released this 25 Sep 19:34
· 2 commits to main since this release
8d61ca8

Minor Changes

  • #15658 8280086 Thanks @jqmmes! - Add Durable Objects code update strategies to Worker deployments

    Use --durable-objects-code-update-mode immediate with wrangler deploy, wrangler versions deploy, and wrangler rollback to update code without waiting for active instances to hibernate. Use --durable-objects-code-update-mode deferred 30s to set a maximum delay, or configure durable_objects.code_update_strategy with mode and max_delay. When unset, the strategy defaults to deferred with a 5-minute maximum delay; delays cannot exceed 24 hours and must use millisecond precision.

Patch Changes

  • #15870 8c4b8a3 Thanks @dario-piotrowicz! - Keep Node.js ESM packages working when consumers rebundle them as CommonJS

    Node.js-targeted ESM bundles now provide a real require implementation for bundled CommonJS dependencies. This avoids downstream patches for dynamic require calls and keeps the packages usable when a consumer rebundles them to CommonJS.