Skip to content

Releases: so-fancy/diff-so-fancy

v1.4.4

09 Jun 20:05
Compare
Choose a tag to compare

  • 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

  • Fix fg/bg extraction with l.t. 2 colors by @gramosg in #414
  • use fatpack build for npm by @paulirish in #417
  • fix: starts_with_ansi always returned 1 and had inverted logic by @rwe in #422
  • fix: over-permissive regex for added/deleted file meta header by @rwe in #421
  • test: use isolated, temporary GIT_CONFIG by @rwe in #420
  • (maint) update pro-tips.md by @vladdoster in #426
  • Added Fedora COPR repository to the installation section of the README by @KopfKrieg in #431
  • Move comparison image into the repository, fix white borders by @KopfKrieg in #430
  • Support vanilla diff recursive flag by @brewsfab in #436
  • Generate bright colors by @utix in #444
  • Add dim and underline as Select Graphic Rendition by @utix in #442
  • Add a reset to remove bold when not asked by @utix in #441
  • Test bright color and function part by @utix in #445
  • bump required perl version by @morbeo in #447
  • fix and maint: match most git supported color settings by @webstech in #453

New Contributors

Full Changelog: v1.4.3...v1.4.4

v1.4.3

07 Apr 14:06
Compare
Choose a tag to compare

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

14 Jun 19:49
Compare
Choose a tag to compare

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

26 May 16:23
Compare
Choose a tag to compare

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

10 Feb 17:12
Compare
Choose a tag to compare

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

24 Apr 18:32
Compare
Choose a tag to compare
  • 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

28 Jun 22:02
Compare
Choose a tag to compare

Minor version release to fix a bug.

  • Handle git log better (addresses #199)

v1.2.5

17 Jan 21:38
Compare
Choose a tag to compare
  • 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

28 Dec 17:20
Compare
Choose a tag to compare
  • 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

19 Jul 16:12
Compare
Choose a tag to compare
  • Fix gitconfig parsing (#243/#245)
  • Clarify the first use message (#244)
  • Other various warning message cleanups