# Delta 0.17.0 - Product: Delta (https://whatsnew.fyi/product/git-delta) - Vendor: Dan Davison - Date: 2024-03-16 - Version: 0.17.0 - Original notes: https://github.com/dandavison/delta/releases/tag/0.17.0 - Permalink: https://whatsnew.fyi/product/git-delta/releases/0.17.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Automatically detect whether your terminal has a light/dark background unless you specify with `--light` or `--dark` - **added** — Parse filename unambiguously using color escape sequences to correctly parse traditional grep output - **added** — Honor default-language option to set a default language for files without file name suffix - **added** — Generate completion subcommand - **added** — Add mellow-barbet theme - **added** — Add arctic-fox custom theme - **added** — Add corvus theme - **added** — Add Catppuccin latte to light syntax themes - **changed** — Make hunk header code fragment display optional - **changed** — Replace usage of the `atty` crate with `std::io::IsTerminal` trait - **changed** — Switch from vte to anstyle-parse for ANSI escape sequence parsing - **changed** — Upgrade bytelines to latest, without default features - **changed** — Update git2 dependency - **changed** — Improve binary file added output - **fixed** — Fix alignment in blame mode when author name contains unicode accent modifiers - **fixed** — Fix issue where pager would be set to `more` or `most` - **fixed** — Fix handling of tabs in grep output - **fixed** — Fix headers of modified binary files - **fixed** — Preserve "Binary files" line in color_only mode - **fixed** — Reset syntax highlighter across grep sections 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 ##### What's Changed * 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 `atty` crate with `std::io::IsTerminal` trait 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 `more` or `most` by @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 _[Truncated at 4000 characters — full notes: https://github.com/dandavison/delta/releases/tag/0.17.0]_