on master help sign in
Prepare for v0.20.0 release

Since we have added new enum variants to the `StyleComponent` which was not previously marked `#[non_exhaustive]`, we must bump left-most non-zero version number (see [specifying-dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio)). Otherwise client code that do exhaustive matches on `StyleComponent` will stop compiling.

commit0655ecf23d778f1455e2d79f37a805a7bcca98d2 authorMartin Nordholts <enselic@gmail.com> dateSat 26 Feb 2022, 17:27 (5 years ago) parent671fc95
4 files changed+5−7
CHANGELOG.md+3−5 Cargo.lock+1−1 Cargo.toml+1−1 assets/syntaxes.bin
CHANGELOG.md+3−5
@@ -1,4 +1,4 @@
1−# unreleased
1+# v0.20.0
22
33## Features
44
@@ -9,8 +9,6 @@
99
1010- Fix bash completion on bash 3.x and bash-completion 1.x. See #2066 (@joshpencheon)
1111
12−## Other
13−
1412## Syntaxes
1513
1614- `GraphQL`: Add support for interfaces implementing interfaces and consider ampersand an operator. See #2000
@@ -20,11 +18,11 @@
2018- Added support for `JQ` syntax, see #2072
2119- Properly associate global git config files rooted in `$XDG_CONFIG_HOME/git/` or `$HOME/.config/git/`. See #2067 (@cyqsimon)
2220
23−## Themes
24−
2521## `bat` as a library
2622
2723- Exposed `get_syntax_set` and `get_theme` methods on `HighlightingAssets`. See #2030 (@dandavison)
24+- Added `HeaderFilename` and `HeaderFilesize` to `StyleComponent` enum, and mark it `#[non_exhaustive]`. See #1988 (@mdibaiee)
25+
2826
2927# v0.19.0
3028
Cargo.lock+1−1
@@ -74,7 +74,7 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
7474
7575[[package]]
7676name = "bat"
77−version = "0.19.0"
77+version = "0.20.0"
7878dependencies = [
7979 "ansi_colours",
8080 "ansi_term",
Cargo.toml+1−1
@@ -6,7 +6,7 @@ homepage = "https://github.com/sharkdp/bat"
66license = "MIT/Apache-2.0"
77name = "bat"
88repository = "https://github.com/sharkdp/bat"
9−version = "0.19.0"
9+version = "0.20.0"
1010exclude = ["assets/syntaxes/*", "assets/themes/*"]
1111build = "build.rs"
1212edition = '2018'
assets/syntaxes.bin

Binary file not shown.