diff options
author | Martin Nordholts <enselic@gmail.com> | 2022-02-26 17:27:34 +0100 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2022-02-27 07:39:22 +0100 |
commit | 0655ecf23d778f1455e2d79f37a805a7bcca98d2 (patch) | |
tree | 287b025053044acc04577c3d1bcdb9679ae09177 | |
parent | 671fc952bce06474c9ebe5f4f7f4e253a34508fa (diff) |
Prepare for v0.20.0 releasev0.20.0
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.
-rw-r--r-- | CHANGELOG.md | 8 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | assets/syntaxes.bin | bin | 724290 -> 726590 bytes |
4 files changed, 5 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1830ae03..ca73a61f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# unreleased +# v0.20.0 ## Features @@ -9,8 +9,6 @@ - Fix bash completion on bash 3.x and bash-completion 1.x. See #2066 (@joshpencheon) -## Other - ## Syntaxes - `GraphQL`: Add support for interfaces implementing interfaces and consider ampersand an operator. See #2000 @@ -20,11 +18,11 @@ - Added support for `JQ` syntax, see #2072 - Properly associate global git config files rooted in `$XDG_CONFIG_HOME/git/` or `$HOME/.config/git/`. See #2067 (@cyqsimon) -## Themes - ## `bat` as a library - Exposed `get_syntax_set` and `get_theme` methods on `HighlightingAssets`. See #2030 (@dandavison) +- Added `HeaderFilename` and `HeaderFilesize` to `StyleComponent` enum, and mark it `#[non_exhaustive]`. See #1988 (@mdibaiee) + # v0.19.0 @@ -74,7 +74,7 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" [[package]] name = "bat" -version = "0.19.0" +version = "0.20.0" dependencies = [ "ansi_colours", "ansi_term", @@ -6,7 +6,7 @@ homepage = "https://github.com/sharkdp/bat" license = "MIT/Apache-2.0" name = "bat" repository = "https://github.com/sharkdp/bat" -version = "0.19.0" +version = "0.20.0" exclude = ["assets/syntaxes/*", "assets/themes/*"] build = "build.rs" edition = '2018' diff --git a/assets/syntaxes.bin b/assets/syntaxes.bin Binary files differindex abdc7aeb..c5cb3bbb 100644 --- a/assets/syntaxes.bin +++ b/assets/syntaxes.bin |