Releases: dandavison/delta
0.19.2
This is a patch release providing rebuilt binaries compatible with Debian 12 (the 0.19.0 and 0.19.1 .deb packages required glibc 2.39, which is only available in Debian 13).
What's Changed
- CD: pin GNU Linux builds to ubuntu-22.04 for Debian 12 compat by @dandavison in #2135
0.19.1
This patch release fixes a release automation bug: release 0.19.0 did not include all release binaries.
What's Changed
- Fix CD: replace defunct ubuntu-20.04 runners by @dandavison in #2129
Full Changelog: 0.19.0...0.19.1
0.19.0
Tons of improvements; thanks very much to all delta contributors.
This release is missing several binaries due to a bug in the GitHub Actions release workflow. Please use https://github.com/dandavison/delta/releases/tag/0.19.1 instead.
What's Changed
- Do not double panic in FakeParentArgs::drop by @dvermd in #1856
- Improve blame file type detection (#1803) by @dvermd in #1829
- Use same example config in manual as README by @dandavison in #1879
- Clarify grep highlighter-related code by @dandavison in #1877
- Don't set colorMoved in introductory instructions by @dandavison in #1884
- Recommend zdiff3 merge.conflictStyle by @adamchainz in #1260
- Add themes
weeping-willow,mirthful-willowby @lvdh in #1864 - CI: switch to macos-13, as 12 will be unsupported soon by @th1000s in #1890
- Add optional capture-output writer to run_app() by @th1000s in #1889
- Center-align README content by @dandavison in #1893
- Redundant Option Checks, Unwrap Safety by @sharma-shray in #1892
- Add console commands for git configuration by @harmtemolder in #1896
- Honor pager path when checking less version by @dandavison in #1903
- Rename some variables by @dandavison in #1904
- Delete now-unused pricate homebrew formula step from Makefile (III) by @dvermd in #1830
- Support {host} in hyperlinks by @dandavison in #1901
- Allow multiple hyperlinks per line by @th1000s in #1909
- Clippy 1.83 by @th1000s in #1918
- Support external subcommands: rg, diff, git-show (etc.) by @th1000s in #1769
- Don't keep subcommand stdout around by @th1000s in #1920
- hyperlink commit hashes of length 7 as well by @th1000s in #1924
- clippy 1.84 fix by @th1000s in #1938
- chore(deps): update git2 to use libgit2 1.9 by @chenrui333 in #1930
- Suggest minimum bat version in manual by @ernstki in #1941
- Upgrade unicode-width to v0.1.14 (but still < 0.2.0) by @th1000s in #1937
- Update terminal-colorsaurus version to 0.4.8 by @rashil2000 in #1936
- Fix index out of bounds crash for '@@ @@' hunk header by @adamchainz in #1995
- Tune themes weeping-willow, mirthful-willow by @lvdh in #2011
- clippy 1.88 fixes by @injust in #2016
- Fix diff output when a diff ends with a mode change by @th1000s in #2023
- fix:
cargo install git-delta --lockedfails on systems with GCC 15 by @tquin in #2007 - Normalize
merge.conflictStylecasing by @injust in #2015 - Styled zero lines fix by @th1000s in #1916
- config: add setup instructions for Jujutsu (jj) vcs by @arjunmahishi in #2048
- all: fix clippy complaints by @charlievieth in #2038
- Cache the Git remote URL to speed up rendering hyperlinks by @charlievieth in #1940
- deps: update cc by @ognevny in #2053
- rg json handling: fix line comment highlighting by @th1000s in #2057
- Update dirs dependency to version 6 by @musicinmybrain in #2063
- default line number to 1 for hyperlinks by @schpet in #2061
- Fix line numbers showing filename when hyperlinks enabled by @tsvikas in #2058
- less hist file: look at xdg paths by @th1000s in #2065
- CI: remove x86 apple/macOS by @th1000s in #2074
- Update bat dependency from 0.24 to 0.26 by @dandavison in #2115
New Contributors
- @dvermd made their first contribution in #1856
- @lvdh made their first contribution in #1864
- @sharma-shray made their first contribution in #1892
- @harmtemolder made their first contribution in #1896
- @ernstki made their first contribution in #1941
- @tquin made their first contribution in #2007
- @arjunmahishi made their first contribution in #2048
- @charlievieth made their first contribution in #2038
- @ognevny made their first contribution in #2053
- @musicinmybrain made their first contribution in #2063
- @schpet made their first contribution in #2061
- @tsvikas made their first contribution in #2058
Full Changelog: 0.18.2...0.19.0
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 #1858 and unicode-rs/unicode-width#66.
What's Changed
- Move AmbiguousDiffMinusCounter to hunk_header by @dandavison in #1825
- Fix
Catppuccin Lattename inLIGHT_SYNTAX_THEMESlist by @injust in #1823 - Handle quoted file paths in hunk headers by @th1000s in #1840
- Fix clippy warnings by @bash in #1851
- Allow
--darkto override dark/light detected from syntax theme by @bash in #1843 - Upgrade and pin unicode-width to v0.1.12 by @th1000s in #1858
Full Changelog: 0.18.1...0.18.2
0.18.1
This patch release fixes an issue with delta --version that was causing problems downstream (#1818).
What's Changed
- Add hyperlinks section to manual by @dandavison in #1816
- Added
platypustheme by @sarpuser in #1819 - Don't use pager for --version by @dandavison in #1824
New Contributors
Full Changelog: 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!
What's Changed
- Link to Repository from Manual by @bash in #1657
- Stop highlighting unchanged whitespace by @phillipwood in #1659
- Add .gitattributes rules for rust files by @phillipwood in #1245
- Repair --default-language, and highlight using full filename by @th1000s in #1549
- tests: prevent parallel env var access by @th1000s in #1681
- CI: fix macOS build by @th1000s in #1696
- Only use
nosortin bash <4.4 by @martinml in #1683 - Don't read git files when --no-gitconfig is given + unused variables by @th1000s in #1728
- tests: add insta for snapshot testing by @th1000s in #1739
- tests: set terminal width to 43 by @th1000s in #1741
- Fix panic when blame-palette is empty by @thorio in #1737
- Make relative-paths work with binary files by @th1000s in #1740
- Fix github links from master to main by @madeddie in #1709
- Update
terminal-colorsaurusby @bash in #1699 - Make less version >= 633 behave like previous versions wrt. Nerd Fonts by @th1000s in #1762
- Update
catppuccin-lattecasing inLIGHT_SYNTAX_THEMESlist by @injust in #1745 - deps: bump libc from 0.2.153 to 0.2.155 by @wxpppp in #1715
- Add missing
--file-*-labeloption to--navigatedocs by @injust in #1744 - Fix copy-paste typo by @injust in #1767
- Update syntect to 5.2.0 by @timhillgit in #1672
- Disable light mode detection in tests by @bash in #1765
- Add --max-syntax-highlighting-length, set to 400 by @th1000s in #1746
- chore: cleanup brew formula file in favor of core tap by @chenrui333 in #1773
- wrap --help output, fix rust 1.80 build by @th1000s in #1440
- Fix delta-toggle shell script by @dandavison in #1794
- Do not wrap short help (-h) output by @th1000s in #1800
- Implement --diff-args by @dandavison in #1697
- Handle ambiguous diff header, '--- ' can also be present in a minus hunk by @th1000s in #1787
- cd: build binaries targeting GNU libc on ubuntu-20.04, not latest by @th1000s in #1805
New Contributors
- @martinml made their first contribution in #1683
- @thorio made their first contribution in #1737
- @madeddie made their first contribution in #1709
- @injust made their first contribution in #1745
- @wxpppp made their first contribution in #1715
- @timhillgit made their first contribution in #1672
- @chenrui333 made their first contribution in #1773
Full Changelog: 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):
@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 #769)
- Parse filename unambiguously using color escape sequences by @joshtriplett in #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 #1655
- Preserve "Binary files" line in color_only mode by @imbrish in #1649
- Fix headers of modified binary files by @imbrish in #1629
What's Changed
- Add mellow-barbet theme by @kvrohit in #1452
- Fix alignment in blame mode when author name contains unicode accent modifiers by @hpwxf in #1456
- Replace usage of the
attycrate withstd::io::IsTerminaltrait by @nickelc in #1465 - Refactor subcommand handling by @dandavison in #1467
- Bump clap to v4.3.14 and regenerate Cargo.lock by @th1000s in #1472
- Fix issue where pager would be set to
moreormostby @ippsav in #1494 - Improve binary file added output by @Sondeyy in #1502
- Remove the navigation setting from themes. by @Qwerty-133 in #1503
- Add assertion failure message by @dandavison in #1508
- Fix handling of tabs in grep output by @dandavison in #1507
- Support users other than git in github SSH URLs by @dandavison in #1509
- Update installation instructions for openSUSE by @sorairolake in #1550
- feat: generate completion subcommand by @plustik in #1561
- Make hunk header code fragment display optional by @zmc in #1568
- Adding new theme in themes.gitconfig by @pablospe in #1544
- feat(theme): add arctic-fox custom theme by @anthony-halim in #1539
- --show-themes exit with error when no themes by @dandavison in #1611
- Bug fix: reset syntax highlighter across grep sections by @dandavison in #1613
- Switch from vte to anstyle-parse (already used in dependencies) by @joshtriplett in #1638
- Parse filename unambiguously using color escape sequences by @joshtriplett in #1634
- Fix headers of modified binary files by @imbrish in #1629
- Upgrade bytelines to latest, without default features by @whitfin in #1597
- Add Catppuccin latte to light syntax themes by @dvic in #1573
- Update Arch Linux package URL in installation.md by @felixonmars in #1569
- Change Winget Releaser job to
ubuntu-latestby @sitiom in #1512 - use wildcard in suggested true color fix for tmux by @jcaplan in #1560
- Update git2 by @dandavison in #1647
- Add
corvustheme by @evilwaveforms in #1652 - Preserve "Binary files" line in color_only mode by @imbrish in #1649
- Detect Dark/Light Mode from Terminal by @bash in #1615
- Honor default-language option by @imbrish in #1655
New Contributors
- @kvrohit made their first contribution in #1452
- @hpwxf made their first contribution in #1456
- @ippsav made their first contribution in #1494
- @Sondeyy made their first contribution in #1502
- @Qwerty-133 made their first contribution in #1503
- @fritzrehde made their first contribution in #1553
- @sorairolake made their first contribution in #1550
- @plustik made their first contribution in #1561
- @zmc made their first contribution in #1568
- @pablospe made their first contribution in #1544
- @anthony-halim made their first contribution in #1539
- @joshtriplett made their first contribution in #1638
- @imbrish made their first contribution in #1629
- @whitfin made their first contribution in #1597
- @dvic made their first contribution in #1573
- @felixonmars made their first contribution in #1569
- @jcaplan made their first contribution in #1560
- @evilwaveforms made their first contribution in #1652
- @bash made their first contribution in #1615
Full Changelog: 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.
What's Changed
- Increase number of characters shown in submodule hashes by @dandavison in #1421
- Fix typo in publishing build job & restore cross-compilation by @nickelc in #1430
- 3819e94 Drop grep-header-style option by @dandavison
- a28231a Honor grep-header-decoration-style for ripgrep output by @dandavison
Full Changelog: 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.
What's Changed
- Address deprecated clap features by @tjquillan in #1251
- Fix clippy warnings by @nickelc in #1298
- Replace unmaintained/outdated GitHub Actions by @nickelc in #1317
- Reduce allocations during
--show-colorsby @nickelc in #1315 - Fix the
--show-themescommand by @nickelc in #1320 - Fixed broken link to README by @zonuexe in #1185
- Update
git2to 0.16.1 by @nickelc in #1323 - Fix warning from bat for an unknown syntax theme by @nickelc in #1319
- Add
gruvmax-fangtheme by @MaxFangX in #1291 - Spelling by @jsoref in #1257
- Update
clapto 4.1 by @nickelc in #1322 - Encapsulate
git2types by @nickelc in #1326 - Update dependencies & switch back to the
dirscrate by @nickelc in #1325 - Return the
GitRemoteRepotype directly by @nickelc in #1328 - Added config option. by @ShogunPanda in #1324
- Add Winget Releaser workflow by @sitiom in #1331
- Get git's minus/plus style from config instead of copying it around by @nickelc in #1329
- Add methods for getting
GitConfigas reference by @nickelc in #1336 - Rename
git_config_entrymodule toremoteby @nickelc in #1337 - Tips and tricks manual section by @dandavison in #1339
- Set language specifiers for code blocks and fix links in manual by @nickelc in #1340
- Derive the default for enums with
#[derive(Default)]/#[default]by @nickelc in #1341 - Add discord-dark theme by @ILikePlayingGames in #1334
- Merge the different
GitConfigconstructors for a config file by @nickelc in #1342 - Remove manual line-wrapping by @dandavison in #1350
- Add link to similar project walles/riff by @walles in #1362
- add: installation instructions for conda/mamba by @YYYasin19 in #1371
- Clarify how to use delta with
tmuxby @isak102 in #1402 - Update
bitflagsto 2.2 by @nickelc in #1361 - Fix some typos by @goggle in #1379
- Remove unneeded
extern cratestatements by @nickelc in #1345 - Downgrade and pin the
bytelinescrate by @nickelc in #1378 - Improve manual build job by @nickelc in #1404
- Replace deprecated
error_chaincrate withanyhowby @nickelc in #1405 - Fix submodule diff parsing by @th1000s in #1413
- Fix warning highlight for trailing whitespace by @wescande in #1037
- Misc tab refactoring by @th1000s in #1424
- manual: fix link to using
deltaon Windows by @mataha in #1428 - Introduce
grep-output-typeoption: ripgrep or classic by @dandavison in #1410
New Contributors
- @tjquillan made their first contribution in #1251
- @nickelc made their first contribution in #1298
- @zonuexe made their first contribution in #1185
- @MaxFangX made their first contribution in #1291
- @jsoref made their first contribution in #1257
- @ShogunPanda made their first contribution in #1324
- @sitiom made their first contribution in #1331
- @ILikePlayingGames made their first contribution in #1334
- @walles made their first contribution in #1362
- @YYYasin19 made their first contribution in #1371
- @isak102 made their first contribution in #1402
- @goggle made their first contribution in #1379
- @mataha made their first contribution in #1428
Full Changelog: 0.15.1...0.16.4
0.15.1
What's Changed
- Explicitly request xz compression by @dandavison in #1249
Full Changelog: 0.15.0...0.15.1