Diff So Fancy Versions Save

Good-lookin' diffs. Actually… nah… The best-lookin' diffs. :tada:

v1.4.4

10 months ago

  • General maintenance release with bug fixes for modern versions of git
  • Much improved test suite to catch bugs earlier and easier
  • Better support for non-git use cases (vanilla diff and hg)

Full details - auto generated

New Contributors

Full Changelog: https://github.com/so-fancy/diff-so-fancy/compare/v1.4.3...v1.4.4

v1.4.3

2 years ago

This is a maintenance release. This code was already "released" but wasn't official on Github. This just makes it official on Github.

v1.4.2

2 years ago

This is a bugfix release related to specific color strings people may have in their ~/.gitconfig that diff-so-fancy didn't recognize.

v1.4.1

2 years ago

This is the "QuickSilver" release as it's main focus is speed, speed, speed. Previously diff-so-fancy did a lot of shelling out to read the git config (5+ per invocation). This slowed down start up and was a personal pet peeve of mine. After much tweaking we've decreased the startup time by more than 60%.

Version 1.4.1

:perl third_party/cli_bench/cli_bench.pl '/tmp/diff-so-fancy-1.4.1 < /tmp/simple.diff'
...................................................

27 ms: %%%%%%%%%%%%%%%%%% (10.0%)
28 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (45.0%)
29 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (35.0%)
30 ms: %%%%%%%%%%%%%%%%%% (10.0%)

Ran '/tmp/diff-so-fancy-1.4.1 < /tmp/simple.diff' 50 times with average completion time of 28 ms

Version 1.4.0

:perl third_party/cli_bench/cli_bench.pl '/tmp/diff-so-fancy-1.4.0 < /tmp/simple.diff'
...................................................

71 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (22.5%)
72 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (40.0%)
73 ms: %%%%%%%%%%%%%%%%%%%%%%%%%% (12.5%)
74 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (25.0%)

Ran '/tmp/diff-so-fancy-1.4.0 < /tmp/simple.diff' 50 times with average completion time of 72 ms

v1.4.0

3 years ago

Version 1.4.0 aka the --patch release

  • Diff-so-fancy now supports --patch mode thanks to @wren. This was our most popular issue and it is now behind us!
  • A new --debug option was added to aid in troubleshooting
  • Minor ANSI bug fixes
  • Documentation updates

v1.3.0

3 years ago
  • Add some error handling to the tput calculations because we get a lot of bugs about that
  • Properly highlight added/removed lines in vanilla diffs (#366)
  • Add some usage text to address d-s-f modes for non-git usage (#354)
  • Reset the horizontal line color on vanilla diff mode (#360)
  • Fix output for filenames with spaces in them (#360)
  • Fix file name output (#341)

v1.2.6

4 years ago

Minor version release to fix a bug.

  • Handle git log better (addresses #199)

v1.2.5

5 years ago
  • Update TravisCI tests so we test more platforms
  • Initial support for colorizing stand-alone diffs
    • diff -u file1.txt file2.txt | diff-so-fancy
    • cat file.patch | diff-so-fancy
  • Add an option for rulerWidth in the config
  • Initial support for RGB ANSI color values
  • Better support for Windows and /dev/null
  • Various other code clean-ups

v1.2.0

6 years ago
  • Colorize when a file is added/removed to match code highlighting (#253)
  • Fix usage (#254)
  • Fix a bug on a file renames with content changes (#258)
  • Fix the build-deps.sh to use new paths (#260)
  • Fix d-s-f when used as a symlink and still work on Windows 10 (#265)
  • Work a little better with light backgrounds (#249)

And by overwhelming request...

  • Perform line by line coloring to make d-s-f work with LARGE inputs (#251)

v1.1.1

6 years ago
  • Fix gitconfig parsing (#243/#245)
  • Clarify the first use message (#244)
  • Other various warning message cleanups