Skip to content

v1.5.2

Choose a tag to compare

@sitefinitysteve sitefinitysteve released this 10 Mar 17:38
· 16 commits to main since this release

Bug Fixes

  • Set default orphanMatchThreshold: 0.3 in htmldiff options to prevent garbled interleaving on partial text replacements

Tests

  • Added test coverage for partial text replacement producing clean block diffs
  • Added test for small word-level changes still producing fine-grained diffs
  • Added test for small additions at end of text
  • Added test for consumer overriding orphanMatchThreshold via options prop

Docs