From fc9546854f5a7b38823f4990453c6cde386bfd3b Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Tue, 10 Oct 2023 16:54:34 +0200 Subject: [PATCH] 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::error::Result +pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>) -> bat::error::Result -pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result +pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec>, 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 Added items to the public API ============================= [...] --- CHANGELOG.md | 4 +--- Cargo.lock | 2 +- Cargo.toml | 2 +- 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) diff --git a/Cargo.lock b/Cargo.lock index 7b2766c0..d51c98a4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -118,7 +118,7 @@ checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" [[package]] name = "bat" -version = "0.23.0" +version = "0.24.0" dependencies = [ "ansi_colours", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 3b38734a..e31fbc31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 index 9e0d02d3c36097de6785ddda05879bfc302cd84a..7a5cd310ec8a50bfc1d5453a56b7eda0c40b7266 100644 GIT binary patch delta 9785 zcma)=cRW`88^<%U&rL>kBW_y~p+t#PJSwHE%!bD(E31v$Ohy^W@kB#Io@5i1L_{UK zQ1$=YUI9_95Y->OWQwVbiO9*So$`G~?_7IK` z&JeB;?hu}QBr}+9$hiXhJO5=sIMTgM-#D&so9A`eQ$xi~s{RjB9k`~q9O;fyW337o zk$R?|-Pr4q;_~Ee!Jb5`T;Epn>iK~A3~!w$dD5s=W)c60hWt%_1A~#;+S*HwP8nu# z4F9>KJ1ZpS*Hz`HNZ#yYOW3`+g|fJqWwhZZqd8G#_cyw;gwGm*VarMmpA4QU;o#c} zEQ?#&{MP$*z15u&)uE+Dhix`|G+O8F@$^qxo5!5ro(~eke_TJI=Iqosb4%1!e5JmT zny8&syv@N{w7Se`HY+~3u3yEPvLwQ`?5Q~`$FtdsY;Q6lBW83Zei1|$m zYrT|x*sN(xONS(Fq?PNU)h3UPjXQ+eL#b8f)-Albzfic zvDSUvQq`omRe45v<>L!kPMac1x12VN4mmGyi7hF4P4Z?>k=tD>%k1>3>^vfaMr1u^ zSw*b6MSCT><7lPH43)c8LF^n&$2j$Swq-V#v0n=-uFIRAHQ|c| zJBM4xWDXx#$c}Rx9BEAWoafqm@$~B*Y`OCMPE#>qJZUk)ty^R0kq=kxeJ+vCj3zDn zJ{Wqe&C9fB<_JwqakDv1%|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