- Add `grep-output-type` option to display grep output in ripgrep layout with syntax highlighting, hyperlinks, and navigation
- Add gruvmax-fang theme
- Add discord-dark theme
- Update clap to 4.1
- Update git2 to 0.16.1
- Update bitflags to 2.2
- Switch back to the dirs crate for dependency management
- Downgrade and pin the bytelines crate
- Replace deprecated error_chain crate with anyhow
- Reduce allocations during --show-colors
- Remove manual line-wrapping
- Fix the --show-themes command
- Fix warning from bat for an unknown syntax theme
- Fix submodule diff parsing
- Fix warning highlight for trailing whitespace
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 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
New Contributors
- @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