Bat Versions Save

A cat(1) clone with wings.

v0.6.0

5 years ago

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

  • Extended and cleaned-up --help text.
  • Added initial version of a man page, see #52
  • New README sections: Development and Troubleshooting, see #220

v0.5.0

5 years ago

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 and BAT_PAGER environment variables can be used to control the pager that bat 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

6 years ago

(this is just a small bugfix release, see 0.4.0 for all features and changes)

Bugfixes

  • Fix problem with cargo test when bat is not checked out in a Git repository, see #161

v0.4.0

6 years ago

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 to syntaxes, 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

v0.3.0

6 years ago

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. See bat 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!

v0.2.3

6 years ago
  • Added a new statically linked version of bat (..-musl-..)

v0.2.2

6 years ago
  • Remove openssl dependency completely, see #30.

v0.2.1

6 years ago
  • Added Elixir syntax, see #25.
  • Use libcurl-openssl instead of libcurl-gnutls, see #30.

v0.2.0

6 years ago

v0.1.0

6 years ago

Initial release