Skip to content

Commit fc95468

Browse files
committed
Bump version to v0.24.0
We need to bump 0.x.0 because the library API changed in incompatible ways: $ cargo public-api diff Resolved `diff` to `diff 0.23.0` Removed items from the public API ================================= (none) Changed items in the public API =============================== -pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>) -> bat::error::Result<bool> +pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>) -> bat::error::Result<bool> -pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool> +pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool> Added items to the public API ============================= [...]
1 parent 32da58e commit fc95468

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# unreleased
1+
# v0.24.0
22

33
## Features
44

@@ -36,8 +36,6 @@
3636
- add `NSIS` support, see #2577 (@idleberg)
3737
- Update `ssh-config`, see #2697 (@mrmeszaros)
3838

39-
## Themes
40-
4139
## `bat` as a library
4240

4341
- Add optional output_buffer arg to `Controller::run()` and `Controller::run_with_error_handler()`, see #2618 (@Piturnah)

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 OR Apache-2.0"
77
name = "bat"
88
repository = "https://github.com/sharkdp/bat"
9-
version = "0.23.0"
9+
version = "0.24.0"
1010
exclude = ["assets/syntaxes/*", "assets/themes/*"]
1111
build = "build.rs"
1212
edition = '2018'

assets/syntaxes.bin

-4.44 KB
Binary file not shown.

0 commit comments

Comments
 (0)