Accepting request 800149 from home:mrey:branches:utilities

- 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 <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
This commit is contained in:
Dany Marcoux 2020-05-05 07:15:01 +00:00 committed by Git OBS Bridge
parent 9894b56712
commit d4d2cc00b6
5 changed files with 68 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4aee370013e2a3bc84c405738ed0ab6e334d3a9f22c18031a7ea008cd5abd2a
size 970577

3
bat-0.15.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:702b330d2938426679b3b0d50334b1518b4fb1d779220f2e32e68dfa1bb9fc0f
size 1003691

View File

@ -1,3 +1,65 @@
-------------------------------------------------------------------
Mon May 4 14:55:12 UTC 2020 - Martin Rey <mrey@suse.com>
- 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 <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 <dmarcoux@suse.com> Thu Apr 9 09:09:04 UTC 2020 - Dany Marcoux <dmarcoux@suse.com>

View File

@ -17,7 +17,7 @@
Name: bat Name: bat
Version: 0.13.0 Version: 0.15.0
Release: 0 Release: 0
Summary: A cat(1) clone with syntax highlighting and Git integration Summary: A cat(1) clone with syntax highlighting and Git integration
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:445a1809b0386264a4b797a463482ed2bf9f9f1d39ce5de088887abd3f3360c2 oid sha256:2ac0fbb3aabce2b1f4a3bb0df5e3a2a7f30e0b7459dc2cb69cc397df2164c37b
size 12442424 size 12044556