0.18.2
This patch release fixes various panics reported by users that were due to v0.1.13 of the unicode-width crate. See https://github.com/dandavison/delta/pull/1858 and https://github.com/unicode-rs/unicode-width/issues/66.
- Move AmbiguousDiffMinusCounter to hunk_header by @dandavison in https://github.com/dandavison/delta/pull/1825
- Fix
Catppuccin Lattename inLIGHT_SYNTAX_THEMESlist by @injust in https://github.com/dandavison/delta/pull/1823 - Handle quoted file paths in hunk headers by @th1000s in https://github.com/dandavison/delta/pull/1840
- Fix clippy warnings by @bash in https://github.com/dandavison/delta/pull/1851
- Allow
--darkto override dark/light detected from syntax theme by @bash in https://github.com/dandavison/delta/pull/1843 - Upgrade and pin unicode-width to v0.1.12 by @th1000s in https://github.com/dandavison/delta/pull/1858
Full Changelog: https://github.com/dandavison/delta/compare/0.18.1...0.18.2
0.18.1
This patch release fixes an issue with delta --version that was causing problems downstream (https://github.com/dandavison/delta/issues/1818).
- Add hyperlinks section to manual by @dandavison in https://github.com/dandavison/delta/pull/1816
- Added
platypustheme by @sarpuser in https://github.com/dandavison/delta/pull/1819 - Don't use pager for --version by @dandavison in https://github.com/dandavison/delta/pull/1824
- @sarpuser made their first contribution in https://github.com/dandavison/delta/pull/1819
Full Changelog: https://github.com/dandavison/delta/compare/0.18.0...0.18.1
0.18.0
As usual, tons of excellent contributions, and one contribution by me! @th1000s has made a huge number of important and difficult improvements to delta and helped with many issues over the few years since the project started, and so I'm happy to say that he's co-maintaining the project with me nowadays. Thanks to all contributors for the improvements below!
- Link to Repository from Manual by @bash in https://github.com/dandavison/delta/pull/1657
- Stop highlighting unchanged whitespace by @phillipwood in https://github.com/dandavison/delta/pull/1659
- Add .gitattributes rules for rust files by @phillipwood in https://github.com/dandavison/delta/pull/1245
- Repair --default-language, and highlight using full filename by @th1000s in https://github.com/dandavison/delta/pull/1549
- tests: prevent parallel env var access by @th1000s in https://github.com/dandavison/delta/pull/1681
- CI: fix macOS build by @th1000s in https://github.com/dandavison/delta/pull/1696
- Only use
nosortin bash <4.4 by @martinml in https://github.com/dandavison/delta/pull/1683 - Don't read git files when --no-gitconfig is given + unused variables by @th1000s in https://github.com/dandavison/delta/pull/1728
- tests: add insta for snapshot testing by @th1000s in https://github.com/dandavison/delta/pull/1739
- tests: set terminal width to 43 by @th1000s in https://github.com/dandavison/delta/pull/1741
- Fix panic when blame-palette is empty by @thorio in https://github.com/dandavison/delta/pull/1737
- Make relative-paths work with binary files by @th1000s in https://github.com/dandavison/delta/pull/1740
- Fix github links from master to main by @madeddie in https://github.com/dandavison/delta/pull/1709
- Update
terminal-colorsaurusby @bash in https://github.com/dandavison/delta/pull/1699 - Make less version >= 633 behave like previous versions wrt. Nerd Fonts by @th1000s in https://github.com/dandavison/delta/pull/1762
- Update
catppuccin-lattecasing inLIGHT_SYNTAX_THEMESlist by @injust in https://github.com/dandavison/delta/pull/1745 - deps: bump libc from 0.2.153 to 0.2.155 by @wxpppp in https://github.com/dandavison/delta/pull/1715
- Add missing
--file-*-labeloption to--navigatedocs by @injust in https://github.com/dandavison/delta/pull/1744 - Fix copy-paste typo by @injust in https://github.com/dandavison/delta/pull/1767
- Update syntect to 5.2.0 by @timhillgit in https://github.com/dandavison/delta/pull/1672
- Disable light mode detection in tests by @bash in https://github.com/dandavison/delta/pull/1765
- Add --max-syntax-highlighting-length, set to 400 by @th1000s in https://github.com/dandavison/delta/pull/1746
- chore: cleanup brew formula file in favor of core tap by @chenrui333 in https://github.com/dandavison/delta/pull/1773
- wrap --help output, fix rust 1.80 build by @th1000s in https://github.com/dandavison/delta/pull/1440
- Fix delta-toggle shell script by @dandavison in https://github.com/dandavison/delta/pull/1794
- Do not wrap short help (-h) output by @th1000s in https://github.com/dandavison/delta/pull/1800
- Implement --diff-args by @dandavison in https://github.com/dandavison/delta/pull/1697
- Handle ambiguous diff header, '--- ' can also be present in a minus hunk by @th1000s in https://github.com/dandavison/delta/pull/1787
- cd: build binaries targeting GNU libc on ubuntu-20.04, not latest by @th1000s in https://github.com/dandavison/delta/pull/1805
- @martinml made their first contribution in https://github.com/dandavison/delta/pull/1683
- @thorio made their first contribution in https://github.com/dandavison/delta/pull/1737
- @madeddie made their first contribution in https://github.com/dandavison/delta/pull/1709
- @injust made their first contribution in https://github.com/dandavison/delta/pull/1745
- @wxpppp made their first contribution in https://github.com/dandavison/delta/pull/1715
- @timhillgit made their first contribution in https://github.com/dandavison/delta/pull/1672
- @chenrui333 made their first contribution in https://github.com/dandavison/delta/pull/1773
Full Changelog: https://github.com/dandavison/delta/compare/0.17.0...0.18.0
0.17.0
Thanks to the many contributors! Particular highlights are
Thanks to @bash's work, delta now automatically detects whether your terminal has a light/dark background (unless you specify with --light or --dark):
- Detect Dark/Light Mode from Terminal by @bash in https://github.com/dandavison/delta/pull/1615
@joshtriplett solved the long-standing problem of correctly parsing traditional grep output, e.g. git grep, grep, etc. Until now there had been annoying parse ambiguities related to separator characters in file paths. This is particularly valuable for git grep since it has interesting features such as git grep -W (see https://github.com/dandavison/delta/issues/769)
- Parse filename unambiguously using color escape sequences by @joshtriplett in https://github.com/dandavison/delta/pull/1634
@imbrish fixed two important bugs and added the ability to set a default language (e.g. for executable shell scripts with no file name suffix)
- Honor default-language option by @imbrish in https://github.com/dandavison/delta/pull/1655
- Preserve "Binary files" line in color_only mode by @imbrish in https://github.com/dandavison/delta/pull/1649
- Fix headers of modified binary files by @imbrish in https://github.com/dandavison/delta/pull/1629
- Add mellow-barbet theme by @kvrohit in https://github.com/dandavison/delta/pull/1452
- Fix alignment in blame mode when author name contains unicode accent modifiers by @hpwxf in https://github.com/dandavison/delta/pull/1456
- Replace usage of the
attycrate withstd::io::IsTerminaltrait by @nickelc in https://github.com/dandavison/delta/pull/1465 - Refactor subcommand handling by @dandavison in https://github.com/dandavison/delta/pull/1467
- Bump clap to v4.3.14 and regenerate Cargo.lock by @th1000s in https://github.com/dandavison/delta/pull/1472
- Fix issue where pager would be set to
moreormostby @ippsav in https://github.com/dandavison/delta/pull/1494 - Improve binary file added output by @Sondeyy in https://github.com/dandavison/delta/pull/1502
- Remove the navigation setting from themes. by @Qwerty-133 in https://github.com/dandavison/delta/pull/1503
- Add assertion failure message by @dandavison in https://github.com/dandavison/delta/pull/1508
- Fix handling of tabs in grep output by @dandavison in https://github.com/dandavison/delta/pull/1507
- Support users other than git in github SSH URLs by @dandavison in https://github.com/dandavison/delta/pull/1509
- Update installation instructions for openSUSE by @sorairolake in https://github.com/dandavison/delta/pull/1550
- feat: generate completion subcommand by @plustik in https://github.com/dandavison/delta/pull/1561
- Make hunk header code fragment display optional by @zmc in https://github.com/dandavison/delta/pull/1568
- Adding new theme in themes.gitconfig by @pablospe in https://github.com/dandavison/delta/pull/1544
- feat(theme): add arctic-fox custom theme by @anthony-halim in https://github.com/dandavison/delta/pull/1539
- --show-themes exit with error when no themes by @dandavison in https://github.com/dandavison/delta/pull/1611
- Bug fix: reset syntax highlighter across grep sections by @dandavison in https://github.com/dandavison/delta/pull/1613
- Switch from vte to anstyle-parse (already used in dependencies) by @joshtriplett in https://github.com/dandavison/delta/pull/1638
- Parse filename unambiguously using color escape sequences by @joshtriplett in https://github.com/dandavison/delta/pull/1634
- Fix headers of modified binary files by @imbrish in https://github.com/dandavison/delta/pull/1629
- Upgrade bytelines to latest, without default features by @whitfin in https://github.com/dandavison/delta/pull/1597
- Add Catppuccin latte to light syntax themes by @dvic in https://github.com/dandavison/delta/pull/1573
- Update Arch Linux package URL in installation.md by @felixonmars in https://github.com/dandavison/delta/pull/1569
- Change Winget Releaser job to
ubuntu-latestby @sitiom in https://github.com/dandavison/delta/pull/1512 - use wildcard in suggested true color fix for tmux by @jcaplan in https://github.com/dandavison/delta/pull/1560
- Update git2 by @dandavison in https://github.com/dandavison/delta/pull/1647
- Add
corvustheme by @evilwaveforms in https://github.com/dandavison/delta/pull/1652 - Preserve "Binary files" line in color_only mode by @imbrish in https://github.com/dandavison/delta/pull/1649
- Detect Dark/Light Mode from Terminal by @bash in https://github.com/dandavison/delta/pull/1615
- Honor default-language option by @imbrish in https://github.com/dandavison/delta/pull/1655
- @kvrohit made their first contribution in https://github.com/dandavison/delta/pull/1452
- @hpwxf made their first contribution in https://github.com/dandavison/delta/pull/1456
- @ippsav made their first contribution in https://github.com/dandavison/delta/pull/1494
- @Sondeyy made their first contribution in https://github.com/dandavison/delta/pull/1502
- @Qwerty-133 made their first contribution in https://github.com/dandavison/delta/pull/1503
- @fritzrehde made their first contribution in https://github.com/dandavison/delta/pull/1553
- @sorairolake made their first contribution in https://github.com/dandavison/delta/pull/1550
- @plustik made their first contribution in https://github.com/dandavison/delta/pull/1561
- @zmc made their first contribution in https://github.com/dandavison/delta/pull/1568
- @pablospe made their first contribution in https://github.com/dandavison/delta/pull/1544
- @anthony-halim made their first contribution in https://github.com/dandavison/delta/pull/1539
- @joshtriplett made their first contribution in https://github.com/dandavison/delta/pull/1638
- @imbrish made their first contribution in https://github.com/dandavison/delta/pull/1629
- @whitfin made their first contribution in https://github.com/dandavison/delta/pull/1597
- @dvic made their first contribution in https://github.com/dandavison/delta/pull/1573
- @felixonmars made their first contribution in https://github.com/dandavison/delta/pull/1569
- @jcaplan made their first contribution in https://github.com/dandavison/delta/pull/1560
- @evilwaveforms made their first contribution in https://github.com/dandavison/delta/pull/1652
- @bash made their first contribution in https://github.com/dandavison/delta/pull/1615
Full Changelog: https://github.com/dandavison/delta/compare/0.16.5...0.17.0
0.16.5
This is a follow-up release providing the various binaries that were not released with 0.16.4. It also makes some adjustments to delta's (rip)grep support.
- Increase number of characters shown in submodule hashes by @dandavison in https://github.com/dandavison/delta/pull/1421
- Fix typo in publishing build job & restore cross-compilation by @nickelc in https://github.com/dandavison/delta/pull/1430
- 3819e94 Drop grep-header-style option by @dandavison
- a28231a Honor grep-header-decoration-style for ripgrep output by @dandavison
Full Changelog: https://github.com/dandavison/delta/compare/0.16.4...0.16.5
0.16.4
It's 6 months since the last release so this one brings quite a few changes. Thanks very much to all contributors, especially @nickelc for a huge number of contributions, and @wescande for his work on improving whitespace highlighting. With this release delta can now display grep output in (hopefully) exactly the same layout that ripgrep does, but adding syntax highlighting, hyperlinks, and navigation. Use ripgrep --json ... | delta for that, or set grep-output-type = ripgrep to get that output style from git grep etc.
This release does not contain binaries for x86_64-unknown-linux-musl, i686-unknown-linux-gnu, arm-unknown-linux-gnueabihf, or aarch64-unknown-linux-gnu because the cross-compilation GitHub Actions jobs were broken at the time of release. I'll issue a follow-up release including them when that's fixed.
- Address deprecated clap features by @tjquillan in https://github.com/dandavison/delta/pull/1251
- Fix clippy warnings by @nickelc in https://github.com/dandavison/delta/pull/1298
- Replace unmaintained/outdated GitHub Actions by @nickelc in https://github.com/dandavison/delta/pull/1317
- Reduce allocations during
--show-colorsby @nickelc in https://github.com/dandavison/delta/pull/1315 - Fix the
--show-themescommand by @nickelc in https://github.com/dandavison/delta/pull/1320 - Fixed broken link to README by @zonuexe in https://github.com/dandavison/delta/pull/1185
- Update
git2to 0.16.1 by @nickelc in https://github.com/dandavison/delta/pull/1323 - Fix warning from bat for an unknown syntax theme by @nickelc in https://github.com/dandavison/delta/pull/1319
- Add
gruvmax-fangtheme by @MaxFangX in https://github.com/dandavison/delta/pull/1291 - Spelling by @jsoref in https://github.com/dandavison/delta/pull/1257
- Update
clapto 4.1 by @nickelc in https://github.com/dandavison/delta/pull/1322 - Encapsulate
git2types by @nickelc in https://github.com/dandavison/delta/pull/1326 - Update dependencies & switch back to the
dirscrate by @nickelc in https://github.com/dandavison/delta/pull/1325 - Return the
GitRemoteRepotype directly by @nickelc in https://github.com/dandavison/delta/pull/1328 - Added config option. by @ShogunPanda in https://github.com/dandavison/delta/pull/1324
- Add Winget Releaser workflow by @sitiom in https://github.com/dandavison/delta/pull/1331
- Get git's minus/plus style from config instead of copying it around by @nickelc in https://github.com/dandavison/delta/pull/1329
- Add methods for getting
GitConfigas reference by @nickelc in https://github.com/dandavison/delta/pull/1336 - Rename
git_config_entrymodule toremoteby @nickelc in https://github.com/dandavison/delta/pull/1337 - Tips and tricks manual section by @dandavison in https://github.com/dandavison/delta/pull/1339
- Set language specifiers for code blocks and fix links in manual by @nickelc in https://github.com/dandavison/delta/pull/1340
- Derive the default for enums with
#[derive(Default)]/#[default]by @nickelc in https://github.com/dandavison/delta/pull/1341 - Add discord-dark theme by @ILikePlayingGames in https://github.com/dandavison/delta/pull/1334
- Merge the different
GitConfigconstructors for a config file by @nickelc in https://github.com/dandavison/delta/pull/1342 - Remove manual line-wrapping by @dandavison in https://github.com/dandavison/delta/pull/1350
- Add link to similar project walles/riff by @walles in https://github.com/dandavison/delta/pull/1362
- add: installation instructions for conda/mamba by @YYYasin19 in https://github.com/dandavison/delta/pull/1371
- Clarify how to use delta with
tmuxby @isak102 in https://github.com/dandavison/delta/pull/1402 - Update
bitflagsto 2.2 by @nickelc in https://github.com/dandavison/delta/pull/1361 - Fix some typos by @goggle in https://github.com/dandavison/delta/pull/1379
- Remove unneeded
extern cratestatements by @nickelc in https://github.com/dandavison/delta/pull/1345 - Downgrade and pin the
bytelinescrate by @nickelc in https://github.com/dandavison/delta/pull/1378 - Improve manual build job by @nickelc in https://github.com/dandavison/delta/pull/1404
- Replace deprecated
error_chaincrate withanyhowby @nickelc in https://github.com/dandavison/delta/pull/1405 - Fix submodule diff parsing by @th1000s in https://github.com/dandavison/delta/pull/1413
- Fix warning highlight for trailing whitespace by @wescande in https://github.com/dandavison/delta/pull/1037
- Misc tab refactoring by @th1000s in https://github.com/dandavison/delta/pull/1424
- manual: fix link to using
deltaon Windows by @mataha in https://github.com/dandavison/delta/pull/1428 - Introduce
grep-output-typeoption: ripgrep or classic by @dandavison in https://github.com/dandavison/delta/pull/1410
- @tjquillan made their first contribution in https://github.com/dandavison/delta/pull/1251
- @nickelc made their first contribution in https://github.com/dandavison/delta/pull/1298
- @zonuexe made their first contribution in https://github.com/dandavison/delta/pull/1185
- @MaxFangX made their first contribution in https://github.com/dandavison/delta/pull/1291
- @jsoref made their first contribution in https://github.com/dandavison/delta/pull/1257
- @ShogunPanda made their first contribution in https://github.com/dandavison/delta/pull/1324
- @sitiom made their first contribution in https://github.com/dandavison/delta/pull/1331
- @ILikePlayingGames made their first contribution in https://github.com/dandavison/delta/pull/1334
- @walles made their first contribution in https://github.com/dandavison/delta/pull/1362
- @YYYasin19 made their first contribution in https://github.com/dandavison/delta/pull/1371
- @isak102 made their first contribution in https://github.com/dandavison/delta/pull/1402
- @goggle made their first contribution in https://github.com/dandavison/delta/pull/1379
- @mataha made their first contribution in https://github.com/dandavison/delta/pull/1428
Full Changelog: https://github.com/dandavison/delta/compare/0.15.1...0.16.4
0.15.1
- Explicitly request xz compression by @dandavison in https://github.com/dandavison/delta/pull/1249
Full Changelog: https://github.com/dandavison/delta/compare/0.15.0...0.15.1
0.15.0
Thanks to all contributors for the changes in this release! One particularly exciting contribution is the tweaks to the highlighting algorithm made by @phillipwood in #1244. This is something that has remained more or less the same since delta was first created, but #1244 brings several improvements in the details of exactly which characters are highlighted.
- Change Rust toolchain in 'Deploy Manual' CI task by @dandavison in https://github.com/dandavison/delta/pull/1183
- Switch bat to library mode by @tranzystorek-io in https://github.com/dandavison/delta/pull/1187
- Add sourcehut link parsing by @p00f in https://github.com/dandavison/delta/pull/1190
- Refactoring ansi/iterator by @zhiburt in https://github.com/dandavison/delta/pull/1191
- Add codeberg link parsing by @p00f in https://github.com/dandavison/delta/pull/1194
- Add terminal width fallback via stty if on windows/MSYS2 by @th1000s in https://github.com/dandavison/delta/pull/1030
- measure_text_width() without constructing a temporary string by @th1000s in https://github.com/dandavison/delta/pull/1216
- Remove Git 2.37 workaround from install docs by @adamchainz in https://github.com/dandavison/delta/pull/1228
- Fix clippy warnings by @clnoll in https://github.com/dandavison/delta/pull/1236
- Remove Provides in Debian package by @baryluk in https://github.com/dandavison/delta/pull/1217
- Handle quoted filenames in diff header by @th1000s in https://github.com/dandavison/delta/pull/1222
- ci: improve formatting by @MarcoIeni in https://github.com/dandavison/delta/pull/1238
- Highlighting improvements by @phillipwood in https://github.com/dandavison/delta/pull/1244
- ci: release apple arm binary by @MarcoIeni in https://github.com/dandavison/delta/pull/1239
- try fix bad alignment in unicode (#1144) by @SheldonNico in https://github.com/dandavison/delta/pull/1145
- @tranzystorek-io made their first contribution in https://github.com/dandavison/delta/pull/1187
- @p00f made their first contribution in https://github.com/dandavison/delta/pull/1190
- @zhiburt made their first contribution in https://github.com/dandavison/delta/pull/1191
- @adamchainz made their first contribution in https://github.com/dandavison/delta/pull/1228
- @baryluk made their first contribution in https://github.com/dandavison/delta/pull/1217
- @phillipwood made their first contribution in https://github.com/dandavison/delta/pull/1244
- @SheldonNico made their first contribution in https://github.com/dandavison/delta/pull/1145
Full Changelog: https://github.com/dandavison/delta/compare/0.14.0...0.15.0
0.14.0
- Update color-moved-support.md by @hangtwenty in https://github.com/dandavison/delta/pull/1082
- Tweak some words improved representation by @ydah in https://github.com/dandavison/delta/pull/1078
- Only trigger
git showhandler if a file extension was parsed by @dandavison in https://github.com/dandavison/delta/pull/1106 - Fix commit hyperlink formatting by @dandavison in https://github.com/dandavison/delta/pull/1110
- Avoid lockup when running without arguments and stdin is connected to a tty by @dotdash in https://github.com/dandavison/delta/pull/1112
- Fix whole-file changes being attributed to the wrong commit in "git log" output by @dotdash in https://github.com/dandavison/delta/pull/1111
- Update README.md to include git 2.37.0 workaround by @cwlbraa in https://github.com/dandavison/delta/pull/1116
- Don't attempt to process ANSI sequences in non-UTF8 input by @dandavison in https://github.com/dandavison/delta/pull/1117
- Update clap by @dandavison in https://github.com/dandavison/delta/pull/1119
- Recreate highlighter on each line of
git show $commit:$pathoutput by @dandavison in https://github.com/dandavison/delta/pull/1127 - Fix git-grep match-highlighting at line-start by @jdpopkin in https://github.com/dandavison/delta/pull/1057
- Update to chameleon theme by @AirOnSkin in https://github.com/dandavison/delta/pull/1138
- Fix typos by @kianmeng in https://github.com/dandavison/delta/pull/1151
- Support configurable timestamps in git blame output (#1157) by @mliszcz in https://github.com/dandavison/delta/pull/1158
- Added auto completions for fish shell by @exploide in https://github.com/dandavison/delta/pull/1165
- @hangtwenty made their first contribution in https://github.com/dandavison/delta/pull/1082
- @ydah made their first contribution in https://github.com/dandavison/delta/pull/1078
- @dotdash made their first contribution in https://github.com/dandavison/delta/pull/1112
- @cwlbraa made their first contribution in https://github.com/dandavison/delta/pull/1116
- @kianmeng made their first contribution in https://github.com/dandavison/delta/pull/1151
- @mliszcz made their first contribution in https://github.com/dandavison/delta/pull/1158
- @exploide made their first contribution in https://github.com/dandavison/delta/pull/1165
Full Changelog: https://github.com/dandavison/delta/compare/0.13.0...0.14.0
0.13.0
- Update bat dependency so that delta is compatible with latest bat release (#1075)
- Flush line buffers in additional locations by @dandavison in https://github.com/dandavison/delta/pull/1003
- Reorganize wrapping utilities by @dandavison in https://github.com/dandavison/delta/pull/1008
- Bump regex to fix CVE-2022-24713 by @msirringhaus in https://github.com/dandavison/delta/pull/1015
- Apply file-transformation to diff header in addition to hunk header by @dandavison in https://github.com/dandavison/delta/pull/1012
- Add support for irreversible-delete by @wescande in https://github.com/dandavison/delta/pull/945
- Add custom env struct to store env at init by @wescande in https://github.com/dandavison/delta/pull/1025
- Apply hyperlinks to diff stat file paths by @dandavison in https://github.com/dandavison/delta/pull/1035
- Add link to
baton README by @eloyesp in https://github.com/dandavison/delta/pull/1052 - Add chameleon theme to themes.gitconfig by @AirOnSkin in https://github.com/dandavison/delta/pull/1062
- Add 'light = false' w/ comment in gitconfig by @toolness in https://github.com/dandavison/delta/pull/1073
- @wescande made their first contribution in https://github.com/dandavison/delta/pull/945
- @eloyesp made their first contribution in https://github.com/dandavison/delta/pull/1052
- @AirOnSkin made their first contribution in https://github.com/dandavison/delta/pull/1062
- @toolness made their first contribution in https://github.com/dandavison/delta/pull/1073
Full Changelog: https://github.com/dandavison/delta/compare/0.12.1...0.13.0