Releases: sharkdp/bat
Releases · sharkdp/bat
v0.6.0
Features
- The
--list-themes
option now shows a preview for each highlighting theme (@ms2300) - Added
-p
/--plain
as an alias for--style=plain
, see #212 (@ms2300) - Major refactorings, enabling some progress on #150. In non-interactive mode,
bat
will now copy input bytes 1:1. - New languages: Elm, Kotlin, Puppet, TypeScript, see #215 #216 #217 #218
- New syntax highlighting theme: zenburn (@colindean)
Changes
- New themes in
$BAT_CONFIG_DIR/themes
are now loaded in addition to
the default themes (they may also override), see #172 - The
Default.tmTheme
symlink is not necessary anymore.
Bugfixes
- Using
bat cache --init
leads to duplicated syntaxes, see #206
Other
v0.5.0
Features
- Added
--line-range n:m
option to print a range of lines, see #159 (@tskinn) - The syntax highlighting theme can now be controlled by the
BAT_THEME
environment variable, see README and #177 (@mandx) - The
PAGER
andBAT_PAGER
environment variables can be used to control the pager thatbat
uses, see #158 and the new README section - Added syntax highlighting for Nix, see #180
- Added syntax highlighting for AWK (Gert Hulselmans)
Changes
- The customization of syntax sets and theme sets is now separated. Syntax definitions are now loaded in addition to the ones that are stored in the
bat
binary by default. Please refer to these new sections in the README: Adding new syntaxes, Adding new themes, also see #172 - The color for the filename is now the default foreground color. The colors for the grid and the line numbers is now determined from the syntax highlighting theme, which now also works for light backgrounds, see #178.
Bugfixes
- Escape Sequences get partially stripped, see #182 (@eth-p)
- Use separate Git repository for snapshot testing, see #165 and #161
- Markdown breaking on JavaScript, see #183
Other
- Binaries for armv7 are now provided, see #196
bat
is now in the official Arch package repositories.- Optimizations in the RGB => 8-bit conversion (@mina86)
v0.4.1
v0.4.0
Features
- Support for line-wrapping, see #54 and #102 (@eth-p)
- New and updated
--style
parameter, see #74 and README (@pitkley) - Added
--theme
and--list-themes
options, see #89 (@rleungx) - Added syntax highlighting for: Julia (@iamed2), Dockerfiles, VimL, CMake, INI, Less
- Added a few popular Sublime Text highlighting themes, see #133
- Support for bold, italic and underline font styles, see #96
- Support for 32bit systems is now available, see #84
- Added
-u
and-n
options, see #134 - ANSI color support on Windows 10
Changes
- The customization folder for own syntaxes has been renamed from
syntax
tosyntaxes
, see README. - Changed Markdown syntax to the default Sublime Text syntax, see #157
- Sorted language listing (@rleungx)
- Command line arguments like
--theme
or--color
can now override themselves. - Improved
--help
text.
Bugfixes
- Fixed crash for (really) small terminal sizes, see #117 (@eth-p)
- Syntax detection for
.bashrc
,CMakeLists.txt
etc., see #100 - Properly handle lines with invalid UTF-8, see #7 (@BrainMaestro)
- Better error handling, see #17 (@rleungx and @sharkdp)
- Proper handling of UTF-8 characters in
less
, see #98 (@ghuls) - Build fix on nightly, see #148 (@tathanhdinh)
Other
- Comparison with alternative projects.
- New "bat" logo in the README, see #119 (@jraulhernandezi)
- Output test cases (@BrainMaestro)
- Lots of great refactoring work (@BrainMaestro)
v0.3.0
Features
- Automatic paging by integrating with
less
, see #29 (@BrainMaestro) - Added support for reading from standard input, see #2
- Added support for writing to non-interactive terminals (pipes, files, ..); new
--color=auto/always/never
option, see #26 (@BrainMaestro) - Added
--list-languages
option to print all available syntaxes, see #69 (@connorkuehl) - New option to specify the syntax via
-l
/--language
, see #19 (@BrainMaestro) - New option to control the output style (
--style
), see #5 (@nakulcg) - Added syntax highlighting support for TOML files, see #37
Changes
- The
init-cache
sub-command has been removed. The cache can now be controlled via
bat cache
. Seebat cache -h
for all available commands.
Bug fixes
- Get git repository from file path instead of current directory, see #22 (@nakulcg)
- Process substitution can now be used with bat (
bat <(echo a) <(echo b)
), see #80
Thanks
I'd like to say a big THANK YOU to all contributors and everyone that has given us
some form of feedback.
Special thanks go to @BrainMaestro for his huge support with new features, bug reports
and code reviews!