Skip to content

v6.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Oct 17:13
Immutable release. Only release title and notes can be modified.
9b15de2

Features

  • decode: add strictUtf8 option to reject invalid UTF-8 in text strings (#223) (8af2c22)

Bug Fixes

  • cli: bound diagnostic indentation and always advance string snippets (#217) (d942fc8)
  • cli: escape control characters in diagnostic text and reject odd-length hex (#218) (2263bfa)
  • decode: keep leading U+FEFF in decoded text strings (#222) (e1607cc)
  • decode: reject break as map value and truncated tag entries (#221) (c7a4b0a)
  • encode: detect Uint8Array from other realms (#216) (1c03371)
  • encode: keep outer output intact when encode() is re-entered (#219) (0271a56)
  • extended: accept foreign-realm bytes and round-trip Invalid Dates (#224) (a225bfd)
  • extended: ignore inherited names in tag 27 error decoding (#212) (acc00a1)
  • extended: validate tag content shape in taglib decoders (#214) (13f9139)
  • json: reject non-finite numbers on encode (#215) (d4a6a81)
  • json: reject number literals over 1000 characters (#210) (6eca4e5)
  • json: reject overflowing number literals when allowInfinity is false (#220) (1b0f77c)

Performance Improvements

  • extended: convert large bignums in linear time (#209) (db5f2e8)
  • extended: skip second copy when decoding typed arrays (#208) (b4a33ea)