From d4d2cc00b6558fee62e63ca60325dd95f0914a70ac39937ce2da766dd57cbfcc Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Tue, 5 May 2020 07:15:01 +0000 Subject: [PATCH] Accepting request 800149 from home:mrey:branches:utilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 0.15.0 * Features - This release adds a new --diff/-d option that can be used to only show lines surrounding Git changes, i.e. added, removed or modified lines. The amount of additional context can be controlled with --diff-context=N. See #23 and #940 * Bugfixes - Error message printed in the middle of the output for another file, see #946 Performance improvements when using custom caches (via bat cache --build): the bat startup time should now be twice as fast. * Themes - Updated version of the Solarized dark/light themes, see #941 * bat as a library - There are a few changes in the "low level" API (the Config struct has changed andthe error handler needs a new &mut dyn Write argument). The high-level API is not affected. - Changes from version 0.14.0 * Features - Added a new --file-name … option to overwrite the displayed filename(s) in the header. This is useful when piping input into bat. See #654 and #892. - Added a new --generate-config-file option to create an initial configuration file at the right place. See #870. * Bugfixes - Performance problems with C# source code have been fixed, see #677 - Performance problems with Makefiles have been fixed, see #750 - Fix bug when highlighting Ruby files with unindented heredocs OBS-URL: https://build.opensuse.org/request/show/800149 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=19 --- bat-0.13.0.tar.gz | 3 --- bat-0.15.0.tar.gz | 3 +++ bat.changes | 62 +++++++++++++++++++++++++++++++++++++++++++++++ bat.spec | 2 +- vendor.tar.xz | 4 +-- 5 files changed, 68 insertions(+), 6 deletions(-) delete mode 100644 bat-0.13.0.tar.gz create mode 100644 bat-0.15.0.tar.gz diff --git a/bat-0.13.0.tar.gz b/bat-0.13.0.tar.gz deleted file mode 100644 index 56d8557..0000000 --- a/bat-0.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4aee370013e2a3bc84c405738ed0ab6e334d3a9f22c18031a7ea008cd5abd2a -size 970577 diff --git a/bat-0.15.0.tar.gz b/bat-0.15.0.tar.gz new file mode 100644 index 0000000..9a2f177 --- /dev/null +++ b/bat-0.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:702b330d2938426679b3b0d50334b1518b4fb1d779220f2e32e68dfa1bb9fc0f +size 1003691 diff --git a/bat.changes b/bat.changes index 7d05e9c..158e787 100644 --- a/bat.changes +++ b/bat.changes @@ -1,3 +1,65 @@ +------------------------------------------------------------------- +Mon May 4 14:55:12 UTC 2020 - Martin Rey + +- Update to version 0.15.0 + * Features + - This release adds a new --diff/-d option that can be used to + only show lines surrounding Git changes, i.e. added, removed + or modified lines. The amount of additional context can be + controlled with --diff-context=N. See #23 and #940 + * Bugfixes + - Error message printed in the middle of the output for another + file, see #946 + Performance improvements when using custom caches (via bat + cache --build): the bat startup time should now be twice as + fast. + * Themes + - Updated version of the Solarized dark/light themes, see #941 + * bat as a library + - There are a few changes in the "low level" API (the Config + struct has changed andthe error handler needs a new &mut dyn + Write argument). The high-level API is not affected. + +- Changes from version 0.14.0 + * Features + - Added a new --file-name … option to overwrite the + displayed filename(s) in the header. This is useful when + piping input into bat. See #654 and #892. + - Added a new --generate-config-file option to create an + initial configuration file at the right place. See #870. + * Bugfixes + - Performance problems with C# source code have been fixed, see + #677 + - Performance problems with Makefiles have been fixed, see #750 + - Fix bug when highlighting Ruby files with unindented heredocs + , see #914 + - A highlighting problem with Rust source code has been fixed, + see #924 + - --highlight-line did not work correctly in combination with + --tabs=0 and --wrap=never, see #937 + * Other + - When saving/reading user-provided syntaxes or themes, bat + will now maintain a metadata.yaml file which includes + information about the bat version which was used to create + the cached files. When loading cached files, we now print an + error if they have been created with an incompatible version. + See #882 + - Updated liquid dependency to 0.20, see #880 + * bat as a library + - A completely new "high level" API has been added that is much + more convenient to use. See the examples folder for the + updated code. It is recommended to only use the new + "high level" API, if possible. Note that this should still + be considered a "beta" release of bat-as-a-library. + For more details and some screenshots of the example + programs, see #936. + - Stripped out a lot of binary-only dependencies, see #895 and + #899 + - Allow using the library with older syntect, see #896 and #898 + * New syntaxes + - Rego, see #872 + - Stylo, see #917 + ------------------------------------------------------------------- Thu Apr 9 09:09:04 UTC 2020 - Dany Marcoux diff --git a/bat.spec b/bat.spec index 79e2446..9d935b6 100644 --- a/bat.spec +++ b/bat.spec @@ -17,7 +17,7 @@ Name: bat -Version: 0.13.0 +Version: 0.15.0 Release: 0 Summary: A cat(1) clone with syntax highlighting and Git integration License: MIT OR Apache-2.0 diff --git a/vendor.tar.xz b/vendor.tar.xz index 6a0a603..cbc4878 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:445a1809b0386264a4b797a463482ed2bf9f9f1d39ce5de088887abd3f3360c2 -size 12442424 +oid sha256:2ac0fbb3aabce2b1f4a3bb0df5e3a2a7f30e0b7459dc2cb69cc397df2164c37b +size 12044556