Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Apr 17:01
· 42 commits to main since this release

1.0.0 (2023-04-21)

⚠ BREAKING CHANGES

  • apply: Patches generated by older versions of this library will (on
    certain unicode texts) no longer apply, as the indicies do not match up cleanly.
  • patch: Generated indices are now different, meaning patches
    generated with this change won't apply cleanly in older versions, and
    vice-versa.
  • Use constants for diff types instead of typescript enum
  • Exports are now optimized to allow more environments to use the
    module, regardless of them prefering ESM or CJS modules. That potentially
    changes behavior slightly, thus the breaking change.

Features

  • modernize build tooling, make cjs/esm compatible, tsdoc (1618813)
  • use constants for diff types instead of typescript enum (52aca3f)

Bug Fixes

  • apply: assume indices are UTF-8 (82df7d4)
  • patch: use utf8 indices instead of ucs2 indices (6e76fa7)

This release is also available on: