Skip to content

Releases: sharkdp/bat

v0.6.0

28 Aug 21:48
Compare
Choose a tag to compare

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

19 Aug 10:56
Compare
Choose a tag to compare

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

v0.4.1

31 May 22:50
Compare
Choose a tag to compare

(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

31 May 21:12
Compare
Choose a tag to compare

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

Other

v0.3.0

08 May 22:16
Compare
Choose a tag to compare

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

03 May 07:09
Compare
Choose a tag to compare
  • Added a new statically linked version of bat (..-musl-..)

v0.2.2

02 May 20:04
Compare
Choose a tag to compare
  • Remove openssl dependency completely, see #30.

v0.2.1

01 May 10:51
Compare
Choose a tag to compare
  • Added Elixir syntax, see #25.
  • Use libcurl-openssl instead of libcurl-gnutls, see #30.

v0.2.0

30 Apr 14:12
7f070c9
Compare
Choose a tag to compare
Update README.md

v0.1.0

22 Apr 14:27
Compare
Choose a tag to compare

Initial release