Skip to content

v0.5.0

Latest

Choose a tag to compare

@joeferner joeferner released this 25 Nov 17:50

Breaking

  • A single-key object { UID: n } or { 'CF$UID': n } whose value is a negative, non-integer or unsafe number, or a negative or over-64-bit BigInt, now throws UID out of range. Previously negative and fractional values already threw, but unsafe integers were silently written with a rounded value.
  • An object whose only key is CF$UID with a numeric value is now written as a UID, not a dictionary.

Features

  • { 'CF$UID': n } objects, as produced by parsing XML plists (e.g. with plist), are written as UIDs, so XML → JS → binary round-trips NSKeyedArchiver data correctly (#46, thanks @dnicolson).
  • Uint8Array and other typed arrays, DataView and ArrayBuffer values are written as data instead of dictionaries. Fixes <data> values from plist 5.x (#45, thanks @dnicolson).

Maintenance

  • Publish workflow now runs on Node 24 with v7 actions, matching CI.