You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restored constructor-based snapshot copying for Uint8Array after the 3.0.2
view-and-slice strategy regressed large-body copy latency in workerd, and
adopted constructor-based copies for direct ArrayBuffer and all ArrayBufferView bodies.
Fixed typed-array and DataView snapshots to use intrinsic view state. This
rejects out-of-bounds non-Uint8 typed arrays instead of signing empty bodies
and prevents non-Uint8 typed-array and DataView subclass accessors from
substituting different bytes.
Correction — 2026-08-12
This release note was corrected after publication. Versions before 3.0.3
could snapshot out-of-bounds non-Uint8 typed arrays as empty bodies or allow
non-Uint8 typed-array and DataView subclass accessors to substitute different
bytes. Users of earlier versions should upgrade to 3.0.3 or later.
Version 3.0.2 changed the Uint8Array copy strategy to an intrinsic base view
followed by slice(). That retained exact bounds and isolated subclass hooks
for Uint8Array, but regressed large-body copy latency in workerd. Version
3.0.3 restored constructor copying while retaining and extending the intrinsic
bounds and subclass isolation across supported binary views.