0.16.4
版本发布时间: 2023-06-03 07:26:08
dandavison/delta最新发布版本:0.18.2(2024-09-11 20:37:21)
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-colors
by @nickelc in https://github.com/dandavison/delta/pull/1315 - Fix the
--show-themes
command 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
git2
to 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-fang
theme by @MaxFangX in https://github.com/dandavison/delta/pull/1291 - Spelling by @jsoref in https://github.com/dandavison/delta/pull/1257
- Update
clap
to 4.1 by @nickelc in https://github.com/dandavison/delta/pull/1322 - Encapsulate
git2
types by @nickelc in https://github.com/dandavison/delta/pull/1326 - Update dependencies & switch back to the
dirs
crate by @nickelc in https://github.com/dandavison/delta/pull/1325 - Return the
GitRemoteRepo
type 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
GitConfig
as reference by @nickelc in https://github.com/dandavison/delta/pull/1336 - Rename
git_config_entry
module toremote
by @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
GitConfig
constructors 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
tmux
by @isak102 in https://github.com/dandavison/delta/pull/1402 - Update
bitflags
to 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 crate
statements by @nickelc in https://github.com/dandavison/delta/pull/1345 - Downgrade and pin the
bytelines
crate 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_chain
crate withanyhow
by @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
delta
on Windows by @mataha in https://github.com/dandavison/delta/pull/1428 - Introduce
grep-output-type
option: 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
1、 delta-0.16.4-aarch64-apple-darwin.tar.gz 2.42MB
2、 delta-0.16.4-x86_64-apple-darwin.tar.gz 2.54MB
3、 delta-0.16.4-x86_64-pc-windows-msvc.zip 2.82MB
4、 delta-0.16.4-x86_64-unknown-linux-gnu.tar.gz 2.66MB
5、 git-delta_0.16.4_amd64.deb 2.11MB