summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Nordholts <enselic@gmail.com>2022-02-26 17:27:34 +0100
committerMartin Nordholts <enselic@gmail.com>2022-02-27 07:39:22 +0100
commit0655ecf23d778f1455e2d79f37a805a7bcca98d2 (patch)
tree287b025053044acc04577c3d1bcdb9679ae09177
parent671fc952bce06474c9ebe5f4f7f4e253a34508fa (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.md8
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--assets/syntaxes.binbin724290 -> 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
diff --git a/Cargo.lock b/Cargo.lock
index 4c17fd90..ab9d1b72 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -74,7 +74,7 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]]
name = "bat"
-version = "0.19.0"
+version = "0.20.0"
dependencies = [
"ansi_colours",
"ansi_term",
diff --git a/Cargo.toml b/Cargo.toml
index 99a65642..3ffac8fa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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
index abdc7aeb..c5cb3bbb 100644
--- a/assets/syntaxes.bin
+++ b/assets/syntaxes.bin
Binary files differ