Releases: so-fancy/diff-so-fancy
Releases · so-fancy/diff-so-fancy
v1.4.10
This is a bugfix release to address #521
What's Changed
- Load Time::HiRes() on demand to speed up start time
- BUGFIX for
uninitialized value $add_color
Full Changelog: v1.4.8...v1.4.10
v1.4.8
What's Changed
- add proper guide for publishing to npm by @paulirish in #510
- Link install instructions to releases page. by @falsifian in #513
- Fix a corner case with a one line diff breaking
--patchmode - Various README updates
- add
--shortHeadersas an option to use less screen real estate - BUGFIX: correct
Use of uninitialized value $ENV{"USER"} - BUGFIX: single line input was not making it through d-s-f
- Update unit tests to use
ansi-reveal.plto simplify color testing - Cleaner logic in
get_diff_chunks()to make chunking smarter - High commit headers in
git showmode
New Contributors
- @falsifian made their first contribution in #513
Full Changelog: v1.4.6...v1.4.8
v1.4.6
- d-s-f is much smarter and
--patchmode should work in more (all?) scenarios- Added support for enabling patch mode via
DSF_PATCH_MODEenvironment variable
- Added support for enabling patch mode via
- Added a new CLI option
--rulerWidth - Support ANSI reset without the 0.
\e[0mvs\e[m - Upstream
DiffHighlight.pmfixes. Allow "italic" in colors - Add some debug logging when started with
--debugto help troubleshooting - Support git file copies better if
diff.renames copiesis enabled in.gitconfig - Better support for recursive diff like:
diff -u -r /dir/a /dir/b
What's Changed
- Add Fedora to known packages by @principis in #452
- README: distros: add Gentoo by @vitaly-zdanevich in #456
- README: Gentoo package link: fix from commit to master by @vitaly-zdanevich in #457
- docs: fix url to Nix package by @mikaello in #459
- Add Fedora to known packages by @principis in #471
- Update less invocation as of version 530 by @JacksonBailey in #476
- Update Arch Linux package URL in README.md by @felixonmars in #479
- Fix broken Nix package URL by @alexandear in #481
- Make this loadable easily by ZSH frameworks by @unixorn in #482
- Add awesomebot link checker by @unixorn in #486
- Fix broken link in README.md by @unixorn in #484
- chore: fix some typos by @vitalmotif in #487
- fix: Incorrect incorrect title in pro-tips.md by @TakumiBC in #488
- Fix minor typo. by @johnjohndoe in #489
- Remove duplicate line in README by @Ben3eeE in #505
- Make first 16 color bars narrower to avoid wrapping by @Cougar in #502
- Update awesomebot and add dependabot by @unixorn in #509
New Contributors
- @principis made their first contribution in #452
- @vitaly-zdanevich made their first contribution in #456
- @mikaello made their first contribution in #459
- @JacksonBailey made their first contribution in #476
- @felixonmars made their first contribution in #479
- @alexandear made their first contribution in #481
- @unixorn made their first contribution in #482
- @vitalmotif made their first contribution in #487
- @TakumiBC made their first contribution in #488
- @johnjohndoe made their first contribution in #489
- @Ben3eeE made their first contribution in #505
- @Cougar made their first contribution in #502
Full Changelog: v1.4.4...v1.4.6
v1.4.4
- 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_ansialways 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_CONFIGby @rwe in #420 - (maint) update
pro-tips.mdby @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
- @gramosg made their first contribution in #414
- @rwe made their first contribution in #422
- @vladdoster made their first contribution in #426
- @KopfKrieg made their first contribution in #431
- @brewsfab made their first contribution in #436
- @utix made their first contribution in #444
- @morbeo made their first contribution in #447
Full Changelog: v1.4.3...v1.4.4
v1.4.3
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
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
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
v1.3.0
- Add some error handling to the
tputcalculations 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)