Releases: sharkdp/bat
v0.7.0
Features
-
Tabs are now (optionally) expanded to spaces. This can be controlled with the new
--tabscommand-line option or theBAT_TABSenvironment variable. The
new feature also closes two bugs #166 and #184. For more information, see #302 (@eth-p). -
Added support for the
BAT_STYLEenvironment variable, see #208 (@ms2300) -
Added
OneHalftheme for terminals with a light-gray background, see #256 -
Added new syntaxes for CSV, JSX in JavaScript and TypeScript, Cabal, Dart,
F#, PureScript, Swift, Crystal, PowerShell (Many Thanks to @tobenna and @mimadrid)
Changes
Bugfixes
-
Detect
lessreliably and in a portable way, see #271 and #290 (@Aankhen) -
last decoration line is not formatted properly with
--wrap never, see #299 (@Rogach) -
Do not show file header for directories, see #292
Other
-
Enabled a new
aarch64build target, see #258 (@rachitchokshi) -
Provide Debian packages for
armhf, see #280 (@rachitchokshi) -
Added README section about "
baton Windows" (@Aankhen) -
Windows installation via scoop (@meltinglava)
v0.6.1
v0.6.0
Features
- The
--list-themesoption now shows a preview for each highlighting theme (@ms2300) - Added
-p/--plainas an alias for--style=plain, see #212 (@ms2300) - Major refactorings, enabling some progress on #150. In non-interactive mode,
batwill 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/themesare now loaded in addition to
the default themes (they may also override), see #172 - The
Default.tmThemesymlink is not necessary anymore.
Bugfixes
- Using
bat cache --initleads to duplicated syntaxes, see #206
Other
v0.5.0
Features
- Added
--line-range n:moption to print a range of lines, see #159 (@tskinn) - The syntax highlighting theme can now be controlled by the
BAT_THEMEenvironment variable, see README and #177 (@mandx) - The
PAGERandBAT_PAGERenvironment variables can be used to control the pager thatbatuses, 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
batbinary 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
batis 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
--styleparameter, see #74 and README (@pitkley) - Added
--themeand--list-themesoptions, 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
-uand-noptions, see #134 - ANSI color support on Windows 10
Changes
- The customization folder for own syntaxes has been renamed from
syntaxtosyntaxes, see README. - Changed Markdown syntax to the default Sublime Text syntax, see #157
- Sorted language listing (@rleungx)
- Command line arguments like
--themeor--colorcan now override themselves. - Improved
--helptext.
Bugfixes
- Fixed crash for (really) small terminal sizes, see #117 (@eth-p)
- Syntax detection for
.bashrc,CMakeLists.txtetc., 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/neveroption, see #26 (@BrainMaestro) - Added
--list-languagesoption 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-cachesub-command has been removed. The cache can now be controlled via
bat cache. Seebat cache -hfor 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!