Skip to content

v3.0.3

Choose a tag to compare

@github-actions github-actions released this 12 Aug 09:25
· 4 commits to main since this release
v3.0.3
1981053

Fixed

  • 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.