This repository was archived by the owner on Mar 13, 2025. It is now read-only.
v2.13.0
Features
- Add support for
DurableObjectNamespace#jurisdiction()method. Note the passedjurisdictionis validated but otherwise ignored. IDs generated by sub-namespaces in different jurisdictions will be the same. Thanks @DaniFoldi for the PR. - Add support for the non-standard
crypto.subtle.timingSafeEqual()function. Thanks @DaniFoldi for the PR. - Remove requirement for
experimentalcompatibility flag alongsidenodejs_compatto usenode:assert,node:bufferandnode:utilmodules. Closes issue #547, thanks @Skye-31 and @DaniFoldi for the PR.
Fixes
- Fix binding of
?Nparameters in D1 prepared statements. Closes issues #504, #526, cloudflare/workers-sdk#2811 and cloudflare/workers-sdk#2887. Thanks @ruslantalpa and @maurerbot. - Fix cloning of
Responses constructed with byte streams. Notably, byte streams are returned from lots of Workers runtime APIs (e.g. KV, R2) to support BYOB reads. Closes issue #527, thanks @cwkang1998. - Copy
Content-LengthfromRequest/Responsebodystreams when constructing a newRequest/Responseor callingfetch. Closes issue #522, thanks @notorca.