Skip to content

v4.0.0

Choose a tag to compare

@trotzig trotzig released this 23 Mar 12:32
· 13 commits to main since this release

Breaking changes

  • The alignArray algorithm has been improved to produce more useful diffs when content shifts in tall images. This will lead to different diff output from before.
  • Dropped common-JS support. The library is now exported as an ESM library.

Full list of changes

  • Replace jimp with sharp by @lencioni in #42
  • Specify checkout method in CircleCI configs by @lencioni in #43
  • Bump js-yaml from 3.14.1 to 3.14.2 by @dependabot[bot] in #44
  • Switch from yarn to pnpm by @trotzig in #45
  • Add five new snapshot test examples by @trotzig in #47
  • Add profiling script by @trotzig in #48
  • Add diff viewer server and four new snapshot examples by @trotzig in #49
  • Optimize LCS with band-limited flat typed arrays (~1.9× faster) by @trotzig in #50
  • Exclude test files from published npm package by @trotzig in #51
  • Convert project to ESM and update authors by @trotzig in #52
  • Improve LCS alignment using frequency-capped row matching by @trotzig in #53
  • Switch to pnpm and add CLAUDE.md by @trotzig in #55
  • Add second-pass placeholder simplification to reduce visual noise by @trotzig in #56

Full Changelog: v3.0.0...v4.0.0