What's Changed
- Set
disableLineMatching: trueto preserve the original order of changed lines. Diff views accept this flag inparseDiffOptions. 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 })