Skip to content

@pierre/diffs v1.6.3

Choose a tag to compare

@ije ije released this 03 Nov 02:16
· 1 commit to main since this release

What's Changed

  • Set disableLineMatching: true to preserve the original order of changed lines. Diff views accept this flag in parseDiffOptions. Similarity matching stays enabled by default. @amadeus in #1240
  • Updated the Highlights backend to @pierre/highlights@0.4.0, adding support for ANSI terminal output and more languages. Highlights release notes

Updating patch parser calls

If you pass a cache key prefix or error flag to parsePatchFiles or processPatch, pass them in an options object. Calls that pass only the patch text still work.

parsePatchFiles(patch, { cacheKeyPrefix: 'review', throwOnError: true })

Full changelog