osfeed.dev
Projects/bat/v0.19.0
Release /

bat v0.19.0

Show a window around a line with relative ranges such as `20:+10`.

Before you upgrade to v0.19.0

1 to fix

What changed in v0.19.0

Line ranges accept `x:+delta` and `x:-delta`; `--ignored-suffix` ignores backup suffixes for syntax detection; `$BAT_CONFIG_DIR` sets the config directory. Startup is faster in loop-through mode.

Also: `--acknowledgements` credits theme and syntax authors; the requirements.txt syntax was removed for licensing reasons.

v0.19.0; building from source needs Rust 1.51.

Fixed and improved

`$BAT_CONFIG_DIR` sets where bat looks for its configuration and takes precedence over `$XDG_CONFIG_HOME`.

ImprovedSet default options in a configuration file instead of on every command line.
Read the evidence

`--ignored-suffix` makes bat ignore suffixes such as `.bak` when detecting the language.

ImprovedPrint files in the terminal with syntax highlighting for a large number of languages.
Read the evidence

Seeded by @iluxav with Claude Code (canido), from the release's public sources. Each change links to its evidence.