Changelog for nix-diff-1.0.17
1.0.17
1.0.16
- Accept realised store paths as input
nix-diffwill attempt to find the corresponding derivations usingnix-store --query --deriverif you provide a realised store path as input
1.0.15
- Fix non-exhaustive pattern match
- This non-exhaustive pattern match would cause the program to fail if the new derivation added or removed input sources
1.0.14
- Improve whitespace handling
-
--word-orientednow treats all whitespace characters as word boundaries instead of just spacesThis matches the behavior of
Prelude.words -
--word-orientedno longer highlights the intervening spaces between wordsThis is for consistency with
--line-oriented, which doesn't highlight the intervening spaces between lines. Also, you could argue that if the user specifies--word-orientedthen they want all new tokens to be highlighted on a word-by-word basis. -
--line-orientednow no longer introduces a trailing newline at the end of a newline-free segment of text -
More generally, both
--word-orientedand--newline-orientedexactly preserve the original whitespace that was used for word or line boundaries.
-
1.0.13
- Add new
--word-orientedmode, which is now the new default mode- This now diffs on word boundaries instead of line-boundaries
1.0.12
- Use "patience" diff algorithm
- This improves the quality of the diff
1.0.11