Delta 0.17.0

0.17.0
Added 8
  • Automatically detect whether your terminal has a light/dark background unless you specify with `--light` or `--dark`
  • Parse filename unambiguously using color escape sequences to correctly parse traditional grep output
  • Honor default-language option to set a default language for files without file name suffix
  • Generate completion subcommand
  • Add mellow-barbet theme
  • Add arctic-fox custom theme
  • Add corvus theme
  • Add Catppuccin latte to light syntax themes
Changed 6
  • Make hunk header code fragment display optional
  • Replace usage of the `atty` crate with `std::io::IsTerminal` trait
  • Switch from vte to anstyle-parse for ANSI escape sequence parsing
  • Upgrade bytelines to latest, without default features
  • Update git2 dependency
  • Improve binary file added output
Fixed 6
  • Fix alignment in blame mode when author name contains unicode accent modifiers
  • Fix issue where pager would be set to `more` or `most`
  • Fix handling of tabs in grep output
  • Fix headers of modified binary files
  • Preserve "Binary files" line in color_only mode
  • 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):

@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)

@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)

What's Changed
New Contributors

Full Changelog: https://github.com/dandavison/delta/compare/0.16.5...0.17.0

View original

Upgraded? How did it go?

Discussion