Changelog for nix-diff-1.0.21
1.0.21
- Support relocated Nix store
- If configured through
NIX_REMOTE
environment variable.
- If configured through
- Compact input derivation diffs
- Fix support for
less -R
when coloring multiple lines
1.0.20
- Add
--context
flag- This limits the context to the specified number of characters/words/lines
- Bump upper bounds
- Allow
unix-2.8
and few more
- Allow
1.0.19
- New Haskell API
- Previously
nix-diff
only had a command-line API, but now there is a Haskell API available under theNix.Diff
module hierarchy
- Previously
- Machine-readable output
nix-diff
now supports a--json
flag for machine-readable JSON output
- New
--skip-already-compared
command-line option- This compresses a sub-tree of the diff if the leaves have already been compared
- New
--squash-text-diff
command-line option- This compresses textual diffs into larger spans when possible
- Ignore
!${OUTPUT}
nix-diff
will now strip everything after!
from a derivation argument so that arguments like/nix/store/…!bin
no longer fail
1.0.18
1.0.17
1.0.16
- Accept realised store paths as input
nix-diff
will attempt to find the corresponding derivations usingnix-store --query --deriver
if 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-oriented
now treats all whitespace characters as word boundaries instead of just spacesThis matches the behavior of
Prelude.words
-
--word-oriented
no 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-oriented
then they want all new tokens to be highlighted on a word-by-word basis. -
--line-oriented
now no longer introduces a trailing newline at the end of a newline-free segment of text -
More generally, both
--word-oriented
and--newline-oriented
exactly preserve the original whitespace that was used for word or line boundaries.
-
1.0.13
- Add new
--word-oriented
mode, 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