Features
- Added support for the
NO_COLOR
environment variable, see #1021 and #1031 (@eth-p) - Added
-P
short flag to disable paging, see #1075 and #1082 (@LordFlashmeow) - Added
--force-colorization
/-f
flag to provide an alias for forced color and decoration output, see #1141 (@alexanderkarlis)
Bugfixes
- Fixed non-printable characters display for redirected output, see #1061 (@gsomix)
- Handle file extension conflicts in
--list-languages
, see #1076 and #1135 (@Kienyew)
Other
- Switched to "·" (U+00B7) Middle Dot from "•" (U+2022) Bullet for non-printing spaces, see #1056 and #1100 (@LordFlashmeow)
- Added zsh shell completion script, see #1136 (@Kienyew)
- Improved
--help
text (@sharkdp) - Added custom languages/themes sections to manpage (@eth-p)
Syntaxes
- Update AsciiDoc syntax, see #1034 (@rxt1077)
- GLSL (@caioalonso)
- Add Nginx and Apache config file syntax, see #1137 (@kjmph, @niklasmohrin)
- Use
fstab
syntax forcrypttab
files, see #1073 (@sharkdp) - Support syntax highlighting for files in
$XDG_CONFIG_HOME/git/
, see #1191 (@ahmedelgabri)
New themes
- Gruvbox, see #1069 (@KyleOndy)
- base16-256 for base16-shell users, see #1111 (@mk12)
bat
as a library
- Add APIs to provide
Input
descriptions withInputDescription
(@eth-p) - Add function to directly provide
Input
s toPrettyPrinter
(@eth-p) - Breaking:
Input::theme_preview_file
is no longer available. (@eth-p)
Packaging
- Package maintainers: note that we now include zsh shell completion files
- Removed build dependency on
liquid
(@sharkdp).
Thanks
Special thanks to @rivy for porting our CI/CD workflows to Github Actions. Also, many thanks to @Kienyew and @eth-p for major contributions!