diff options
author | Martin Nordholts <enselic@gmail.com> | 2023-10-10 16:54:34 +0200 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2023-10-11 19:14:12 +0200 |
commit | fc9546854f5a7b38823f4990453c6cde386bfd3b (patch) | |
tree | 2162ed483d2ea45ac71513a9a02e646aac8bf5c0 | |
parent | 32da58e723791dc6bf75ededc11aa5bee6d56503 (diff) |
Bump version to v0.24.0v0.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
=============================
[...]
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | assets/syntaxes.bin | bin | 920106 -> 915557 bytes |
4 files changed, 3 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a84471c7..caafbe79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# unreleased +# v0.24.0 ## Features @@ -36,8 +36,6 @@ - add `NSIS` support, see #2577 (@idleberg) - Update `ssh-config`, see #2697 (@mrmeszaros) -## Themes - ## `bat` as a library - Add optional output_buffer arg to `Controller::run()` and `Controller::run_with_error_handler()`, see #2618 (@Piturnah) @@ -118,7 +118,7 @@ checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" [[package]] name = "bat" -version = "0.23.0" +version = "0.24.0" dependencies = [ "ansi_colours", "assert_cmd", @@ -6,7 +6,7 @@ homepage = "https://github.com/sharkdp/bat" license = "MIT OR Apache-2.0" name = "bat" repository = "https://github.com/sharkdp/bat" -version = "0.23.0" +version = "0.24.0" exclude = ["assets/syntaxes/*", "assets/themes/*"] build = "build.rs" edition = '2018' diff --git a/assets/syntaxes.bin b/assets/syntaxes.bin Binary files differindex 9e0d02d3..7a5cd310 100644 --- a/assets/syntaxes.bin +++ b/assets/syntaxes.bin |