Repository navigation
v1.4.3
Hardening:
- PatchFromText rejects patch headers with out-of-range coordinates instead of silently clamping them; clamped coordinates could apply a patch at a wrong location and report success.
Documentation:
- Runnable examples for diffing, plain text output, line diffing, the full patch cycle, fuzzy matching and semantic cleanup.
- Documented the checklines flag, the diff operations, and the unique-line limit of DiffLinesToChars and DiffLinesToRunes.
- README: live CI badge, corrected install command and origins link, and a status statement.
Project:
- CI runs on Linux (Go 1.13 and latest), macOS and Windows, plus govulncheck, on every push and pull request and weekly.
- The Makefile lint and test targets work again; Travis and its dead config are gone.
- Branch protection requires the test suite to pass before merging.
- Fixed a timing-dependent DiffBisect test on coarse clocks, found by the new Windows CI.