Skip to content

v3.0.2

Choose a tag to compare

@github-actions github-actions released this 12 Aug 07:37
· 5 commits to main since this release
v3.0.2
37c3ece

Changed

  • Changed Uint8Array body snapshots from constructor copying to an intrinsic
    base view followed by slice(). This preserved exact Uint8Array bounds and
    isolated its subclass copy hooks and accessors.

Correction — 2026-08-12

  • The original release note incorrectly described this copy strategy as faster.
    Subsequent batched measurements on the pinned workerd runtime showed that it
    regressed large-body copy latency. Version 3.0.3 restored constructor-based
    copying while retaining and extending the intrinsic bounds and subclass
    isolation.
  • 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 should upgrade to 3.0.3 or later.