Features
- Add support for
DurableObjectNamespace#jurisdiction()
method. Note the passedjurisdiction
is 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
experimental
compatibility flag alongsidenodejs_compat
to usenode:assert
,node:buffer
andnode:util
modules. Closes issue #547, thanks @Skye-31 and @DaniFoldi for the PR.
Fixes
- Fix binding of
?N
parameters in D1 prepared statements. Closes issues #504, #526, cloudflare/workers-sdk#2811 and cloudflare/workers-sdk#2887. Thanks @ruslantalpa and @maurerbot. - Fix cloning of
Response
s 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-Length
fromRequest
/Response
body
streams when constructing a newRequest
/Response
or callingfetch
. Closes issue #522, thanks @notorca.