@@ -1,6 +1,5 @@
11# unreleased
22
3−
43## Features
54
65- Use a pager when `bat --list-languages` is called, see #1394 (@stku1985)
@@ -12,6 +11,7 @@
1211- Make ./tests/syntax-tests/regression_test.sh work on recent versions of macOS, see #1443 (@Enselic)
1312- VimL syntax highlighting fix, see #1450 (@esensar)
1413- Print an 'Invalid syntax theme settings' error message if a custom theme is broken, see #614 (@Enselic)
14+- If plain mode is set and wrap is not explicitly opted in, long lines will no be truncated, see #1426
1515
1616## Other
1717
@@ -35,14 +35,12 @@
3535
3636- `bat` is now available on snapstore with package name called `batcat`, see #1401 (@purveshpatel511)
3737
38−
3938# v0.17.1
4039
4140## Bugfixes
4241
4342- Running `bat` without arguments fails ("output file is also an input"), see #1396
4443
45−
4644# v0.17.0
4745
4846## Features
@@ -71,7 +69,6 @@
7169
7270- Coldark, see #1329 (@armandphilippot)
7371
74−
7572# v0.16.0
7673
7774## Features
@@ -236,11 +233,14 @@
236233 This introduces a `features = ["application"]` which is enabled by default and pulls in
237234 everything required by `bat` the application. When depending on bat as a library, downstream
238235 `Cargo.toml` should disable this feature to cut out inapplicable heavy dependencies:
239− ``` toml
236+
237+ ```toml
240238 [dependencies]
241239 bat = { version = "0.14", default-features = false }
242240 ```
241+
243242 Other optional functionality has also been put behind features: `paging` and `git` support.
243+
244244- Allow using the library with older syntect, see #896 and #898 (@dtolnay)
245245
246246## New syntaxes
@@ -248,7 +248,6 @@
248248- Rego, see #872 (@patrick-east)
249249- Stylo, see #917
250250
251−
252251# v0.13.0
253252
254253## `bat` as a library
@@ -274,6 +273,7 @@ You can see the API documentation here: https://docs.rs/bat/
274273 present.
275274
276275 The option now works like this:
276+
277277 ```bash
278278 --map-syntax <glob-pattern>:<syntax-name>
279279 ```
@@ -281,8 +281,9 @@ You can see the API documentation here: https://docs.rs/bat/
281281 For more information, see the `--help` text, the man page or the README.
282282
283283 This new feature allows us to properly highlight files like:
284− * `/etc/profile`
285− * `~/.ssh/config`
284+
285+ - `/etc/profile`
286+ - `~/.ssh/config`
286287
287288- `--highlight-line` now accepts line ranges, see #809 (@lkalir)
288289- Proper wrapping support for output with wide Unicode characters, see #811 #787 and #815 (@Kogia-sima)
@@ -350,7 +351,7 @@ You can see the API documentation here: https://docs.rs/bat/
350351
351352## Bugfixes
352353
353−- Fixes a bug for older Windows versions (*"The procedure entry point `CreateFile2` could not be located"*), see #643 (@rivy)
354+- Fixes a bug for older Windows versions (_"The procedure entry point `CreateFile2` could not be located"_), see #643 (@rivy)
354355
355356# v0.12.0
356357
@@ -487,14 +488,14 @@ You can see the API documentation here: https://docs.rs/bat/
487488
488489## Changes
489490
490−- Use of italics is now *disabled by default* (see #389 for details). They can be
491+- Use of italics is now _disabled by default_ (see #389 for details). They can be
491492 re-enabled by adding `--italic-text=always` to your configuration file.
492493
493494- The default tab-width has been set to 4.
494495
495496- Added new "Sublime Snazzy" theme.
496497
497−- Shell completions are currently *not* shipped anymore, see #372 for details.
498+- Shell completions are currently _not_ shipped anymore, see #372 for details.
498499
499500## Bugfixes
500501
@@ -543,7 +544,7 @@ You can see the API documentation here: https://docs.rs/bat/
543544
544545 This allows users to (re)map certain file extensions or file names to an existing syntax:
545546
546− ``` bash
547+ ```bash
547548 bat --map-syntax .config:json ...
548549 ```
549550
@@ -672,19 +673,19 @@ You can see the API documentation here: https://docs.rs/bat/
672673
673674## Changes
674675
675−- New themes in `$BAT_CONFIG_DIR/themes` are now loaded *in addition* to
676+- New themes in `$BAT_CONFIG_DIR/themes` are now loaded _in addition_ to
676677 the default themes (they may also override), see #172
677678- The `Default.tmTheme` symlink is not necessary anymore.
678679
679680## Bugfixes
680681
681−* Using `bat cache --init` leads to duplicated syntaxes, see #206
682+- Using `bat cache --init` leads to duplicated syntaxes, see #206
682683
683684## Other
684685
685−* Extended and cleaned-up `--help` text.
686−* Added initial version of a man page, see #52
687−* New README sections: *Development* and *Troubleshooting*, see #220
686+- Extended and cleaned-up `--help` text.
687+- Added initial version of a man page, see #52
688+- New README sections: _Development_ and _Troubleshooting_, see #220
688689
689690# v0.5.0
690691
@@ -698,7 +699,7 @@ You can see the API documentation here: https://docs.rs/bat/
698699
699700## Changes
700701
701−- 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](https://github.com/sharkdp/bat#adding-new-syntaxes--language-definitions), [Adding new themes](https://github.com/sharkdp/bat#adding-new-themes), also see #172
702+- 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](https://github.com/sharkdp/bat#adding-new-syntaxes--language-definitions), [Adding new themes](https://github.com/sharkdp/bat#adding-new-themes), also see #172
702703- 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.
703704
704705## Bugfixes
@@ -725,23 +726,23 @@ You can see the API documentation here: https://docs.rs/bat/
725726
726727## Features
727728
728−* Support for line-wrapping, see #54 and #102 (@eth-p)
729−* New and updated `--style` parameter, see #74 and README (@pitkley)
730−* Added `--theme` and `--list-themes` options, see #89 (@rleungx)
731−* Added syntax highlighting for: Julia (@iamed2), Dockerfiles, VimL, CMake, INI, Less
732−* Added a few popular Sublime Text highlighting themes, see #133
733−* Support for bold, italic and underline font styles, see #96
734−* Support for 32bit systems is now available, see #84
735−* Added `-u` and `-n` options, see #134
736−* ANSI color support on Windows 10
729+- Support for line-wrapping, see #54 and #102 (@eth-p)
730+- New and updated `--style` parameter, see #74 and README (@pitkley)
731+- Added `--theme` and `--list-themes` options, see #89 (@rleungx)
732+- Added syntax highlighting for: Julia (@iamed2), Dockerfiles, VimL, CMake, INI, Less
733+- Added a few popular Sublime Text highlighting themes, see #133
734+- Support for bold, italic and underline font styles, see #96
735+- Support for 32bit systems is now available, see #84
736+- Added `-u` and `-n` options, see #134
737+- ANSI color support on Windows 10
737738
738739## Changes
739740
740−* The customization folder for own syntaxes has been renamed from `syntax` to `syntaxes`, see README.
741−* Changed Markdown syntax to the default Sublime Text syntax, see #157
742−* Sorted language listing (@rleungx)
743−* Command line arguments like `--theme` or `--color` can now override themselves.
744−* Improved `--help` text.
741+- The customization folder for own syntaxes has been renamed from `syntax` to `syntaxes`, see README.
742+- Changed Markdown syntax to the default Sublime Text syntax, see #157
743+- Sorted language listing (@rleungx)
744+- Command line arguments like `--theme` or `--color` can now override themselves.
745+- Improved `--help` text.
745746
746747## Bugfixes
747748
@@ -763,24 +764,24 @@ You can see the API documentation here: https://docs.rs/bat/
763764
764765## Features
765766
766−* Automatic paging by integrating with `less`, see #29 (@BrainMaestro)
767−* Added support for reading from standard input, see #2
768−* Added support for writing to non-interactive terminals (pipes, files, ..); new
767+- Automatic paging by integrating with `less`, see #29 (@BrainMaestro)
768+- Added support for reading from standard input, see #2
769+- Added support for writing to non-interactive terminals (pipes, files, ..); new
769770 `--color=auto/always/never` option, see #26 (@BrainMaestro)
770−* Added `--list-languages` option to print all available syntaxes, see #69 (@connorkuehl)
771−* New option to specify the syntax via `-l`/`--language`, see #19 (@BrainMaestro)
772−* New option to control the output style (`--style`), see #5 (@nakulcg)
773−* Added syntax highlighting support for TOML files, see #37
771+- Added `--list-languages` option to print all available syntaxes, see #69 (@connorkuehl)
772+- New option to specify the syntax via `-l`/`--language`, see #19 (@BrainMaestro)
773+- New option to control the output style (`--style`), see #5 (@nakulcg)
774+- Added syntax highlighting support for TOML files, see #37
774775
775776## Changes
776777
777−* The `init-cache` sub-command has been removed. The cache can now be controlled via
778+- The `init-cache` sub-command has been removed. The cache can now be controlled via
778779 `bat cache`. See `bat cache -h` for all available commands.
779780
780781## Bug fixes
781782
782−* Get git repository from file path instead of current directory, see #22 (@nakulcg)
783−* Process substitution can now be used with bat (`bat <(echo a) <(echo b)`), see #80
783+- Get git repository from file path instead of current directory, see #22 (@nakulcg)
784+- Process substitution can now be used with bat (`bat <(echo a) <(echo b)`), see #80
784785
785786## Thanks
786787