Skip to content

v1.4.1

Choose a tag to compare

@sergi sergi released this 16 Nov 19:06
· 17 commits to master since this release

Bug fixes:

  • Semantic cleanup now detects blank lines at the start of the following text, matching upstream diff-match-patch.
  • Semantic lossless cleanup no longer miscounts multibyte characters when shifting edits.
  • PatchFromText returns an error on invalid %xx escapes instead of silently emptying the line.
  • Minor: DiffMainRunes no longer writes to the caller's rune slice; fixed DiffFromDelta and intToRune error messages.

Diff output from semantic cleanup may differ slightly for text with blank lines or non-ASCII characters.