Skip to content

Commit 0655ecf

Browse files
committed
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.
1 parent 671fc95 commit 0655ecf

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ homepage = "https://github.com/sharkdp/bat"
66
license = "MIT/Apache-2.0"
77
name = "bat"
88
repository = "https://github.com/sharkdp/bat"
9-
version = "0.19.0"
9+
version = "0.20.0"
1010
exclude = ["assets/syntaxes/*", "assets/themes/*"]
1111
build = "build.rs"
1212
edition = '2018'

assets/syntaxes.bin

2.25 KB
Binary file not shown.

0 commit comments

Comments
 (0)