bat/bat.changes

426 lines
18 KiB
Plaintext

-------------------------------------------------------------------
Thu Sep 30 03:53:34 UTC 2021 - william.brown@suse.com
- Replace rust-packaging with cargo-packaging
-------------------------------------------------------------------
Wed Aug 18 09:03:43 UTC 2021 - mvetter@suse.com
- Update to f3d53b to fix build on Tumbleweed because of Rust 1.54
See https://github.com/sharkdp/bat/issues/1796
* Update git2 dependency to fix incompatibility with Rust 1.54
* Reduce startup time in loop-through mode with 80%-90%
* HighlightingAssets: Move out fn get_integrated_*set() to module scope
* Support a hidden arg --no-custom-assets that skips loading assets from the cache
* HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable
* HighlightingAssets::get_extension_syntax(): Split up into smaller methods
* Make loading of cached assets closer in performance to integrated assets
* Add Enselic in FUNDING.yml
* Update battest.py
* Add `rs` identifier for Rust code blocks in Markdown
* Update CHANGELOG
* Add groff syntax
* Add custom FUNDING.yml
* HighlightingAssets: Introduce private fn new() helper
* HighlightingAssets: Encapsulate syntax_set behind a getter
* De-duplicate some themes.bin and syntaxes.bin related code
* Fix typo in README
-------------------------------------------------------------------
Wed Aug 18 07:31:12 UTC 2021 - mvetter@suse.com
- Update to version 0.18.2:
* Add note on vulnerability reporting, closes #1473
* Upgrade CHANGELOG with security vulnerability notice
* Update Julia syntax test
* Update Julia syntax, closes #1692
* Update assets
* Run cargo fmt
* Bump version to v0.18.2
* Use resolved path for --diagnostic as well
* Fix for Windows: do not run binaries from CWD
* Bump assets/syntaxes/02_Extra/CMake from `7d6231c` to `ab6ef4e`
* Bump ansi_colours from 1.0.2 to 1.0.4
* Bump globset from 0.4.6 to 0.4.8
* Add CHANGELOG entry for #1687
* Abort ignored filename suffix stripping early on unworkable filenames
* Simplify ignored filename suffix stripping
* Add syntax tests for ignored filename suffixes
* Find syntax ignoring known backup/template filename suffixes
* CICD: sync with pastel, minor changes
* Add some more options to bash completion
* Bump assert_cmd from 1.0.4 to 1.0.5
* Fix missing config/cache arguments in Zsh completion
* Document --generate-config-file in manual
* Add change log entry for bash completion
* Depend on scop/bash-completion
* Add missing comment about --theme arg escaping
* Add bash completion
* pretty_printer.rs: Don't use a URL as an example Input title
* Update README.md
* Update README.md
* Modify Linguist overrides
* Spelling fixes
* Highlight mtab files with fstab highlighting
* README.md: List compatibility as another advantage to 3-bit themes
* README.md: Mention that PAGER is ignored if set to more or most
* Bump nix from 0.20.0 to 0.21.0
* Bump assert_cmd from 1.0.3 to 1.0.4
* Update `CHANGELOG.md` for #1668
* Add Verilog syntax test file
* Add varlink syntax test file
* Add TypeScriptReact syntax test file
* Add Stylus syntax test file
* Add Strace syntax test file
* Add Robot Framework syntax test file
* Add Rego syntax test file
* Add Puppet syntax test file
* Add NAnt Build File syntax test file
* Add Literate Haskell syntax test file
* Add jsonnet syntax test file
* Add Java Server Page (JSP) syntax test file
* Add 'NOTICE' to list of file names to skip
* Add Fortran Namelist syntax test file
* Add Fortran (Fixed Form) syntax test file
* Add Fortran (Modern) syntax test file
* Add F# syntax test file
* Add CoffeeScript syntax test file
* Add Cabal syntax test file
* CHANGELOG.md: Apply DotENV syntax also for .env.default and .env.defaults
* DotENV.sublime-syntax: Re-exported after .tmLanguage update
* Bump assets/syntaxes/02_Extra/DotENV from `a1c9176` to `58201ba`
* Refactor "Use `matches` macro"
* Update `CHANGELOG.md` for #1661
* Use the functional update syntax
* Implement `From<..>` instead of `Into<..>`
* Use the functional update syntax
* Use `matches` macro
* Use `!theme.is_empty()`
* ja: add section about integration with fzf
* ja: fix typo
* Update CHANGELOG for #1655
* Add XAML test file
* Add dash test file
* Update CHANGELOG for #1654
* Add support for XAML files
* Add support for dash shebang
* Fix broken img link
* Update and polish Korean translation
-------------------------------------------------------------------
Sun Jun 13 19:33:37 UTC 2021 - idesmi@protonmail.com
- Update to version 0.18.1:
* Update binary assets
* Bump version, update dependencies
* Updated CHANGELOG
* Bump assets/syntaxes/02_Extra/Lean from `824213d` to `29a03a8`
* Bump serde from 1.0.124 to 1.0.125
* Bump bugreport from 0.3.0 to 0.4.0
* Bump assets/syntaxes/02_Extra/FSharp from `c18616d` to `9e4645c`
* add warning highlighting to log file syntax definition
* add word boundaries to log syntax highlighting
* Add independent log syntax
* improve syslog syntax
* replace Syslog dependency with a custom syntax
* add example syslog file for highlighting tests
* Revert "Update of themes.bin that adds Dark+"
* Update of themes.bin that adds Dark+
* Add "Visual Studio Dark+" theme to vec of themes
* Add Dark+ theme
-------------------------------------------------------------------
Thu Mar 25 12:02:19 UTC 2021 - Ismail Dönmez <idonmez@suse.com>
- Update to version 0.18.0
* Features
- Use a pager when bat --list-languages is called, see #1394 (@stku1985)
* Bugfixes
- If the last line doesn't end with a newline character,
don't add it if --style=plain, see #1438 (@Enselic)
- Only print themes hint in interactive mode (bat --list-themes),
see #1439 (@rsteube)
- VimL syntax highlighting fix, see #1450 (@esensar)
- Print an 'Invalid syntax theme settings' error message if a custom
theme is broken, see #614 (@Enselic)
- If plain mode is set and wrap is not explicitly opted in,
long lines will no be truncated, see #1426
- If PAGER (but not BAT_PAGER or --pager) is more or most,
silently use less instead to ensure support for colors, see #1063 (@Enselic)
- If PAGER is bat, silently use less to prevent recursion.
For BAT_PAGER or --pager, exit with error, see #1413 (@Enselic)
- Manpage highlighting fix, see #1511 (@keith-hall)
- BAT_CONFIG_PATH ignored by bat if non-existent, see #1550 (@sharkdp)
* Other
- Performance improvements, see #1421 (@LovecraftianHorror)
- Added a new --diagnostic option to collect information for
bug reports, see #1459 (@sharkdp)
- Modified default theme colors to differentiate between a JSON key
and a string value, see #1400 (@keith-hall)
- Upped min required Rust version to 1.42
* Syntaxes
- Added Zig syntax, see #1470 (@paulsmith)
- Added Lean syntax, see #1446 (@Julian)
- Added .resource extension for Robot Framework files, see #1386
- Added gnuplot syntax, see #1431 (@sharkdp)
- Highlight *.pac (Proxy auto-config) files as JavaScript, see #1515 (@sharkdp)
* New themes
- ansi replaces ansi-dark and ansi-light, see #1104 and #1412 (@mk12).
Breaking change: users that were previously using one of the ansi-*
themes should switch to ansi.
- The Gruvbox theme has been updated, see #1291 (@j0hnmeow).
Breaking change: users that were previously using gruvbox or gruvbox-white
should update and use gruvbox-dark/gruvbox-light instead.
* bat as a library
- The following PrettyPrinter methods have been removed
(they were previously deprecated):
+ input_stdin_with_name
+ input_from_bytes_with_name
+ input_from_reader_with_name
+ vcs_modification_markers (if the git feature is not enabled)
Mon Dec 7 20:42:00 UTC 2020 - Gordon Schulz <gordon@gordonschulz.de>
- Update to 0.17.1
* Features
- Added a new --style value, rule, which adds a simple horizontal
ruled line between files, see #1276 (@tommilligan)
- Pass -S ("chop long lines") to less if --wrap=never is set in
bat, see #1255 (@gahag)
- Added support for the NO_COLOR environment variable, see #1021
and #1031 (@eth-p)
- Added -P short flag to disable paging, see #1075 and #1082
(@LordFlashmeow)
- Added --force-colorization/-f flag to provide an alias for
forced color and decoration output, see #1141
(@alexanderkarlis)
* Bugfixes
- Running bat without arguments fails ("output file is also
an input"), see #1396
- Detect infinite loop when input and output are the same, see
#1193 and #1197 (@niklasmohrin)
- Throw an error when bat is being used as pager, see #1343
(@adrian-rivera)
- Bash syntax highlighting not selected for *.ebuild and *.eclass
files, see #1292 (@sharkdp)
- Fix zsh completion when using -p, see #1320 (@xzfc)
- Fixed non-printable characters display for redirected output,
see #1061 (@gsomix)
- Handle file extension conflicts in --list-languages, see #1076
and #1135 (@Kienyew)
* Other
- Add note to refer to see detailed help with --help (and vice
versa with -h), see #1215 (@henil)
- Add a Contributors section to README, see #1348
(@adrian-rivera)
- Switched to "·" (U+00B7) Middle Dot from "•" (U+2022) Bullet
for non-printing spaces, see #1056 and #1100 (@LordFlashmeow)
- Added zsh shell completion script, see #1136 (@Kienyew)
- Improved --help text (@sharkdp)
- Added custom languages/themes sections to manpage (@eth-p)
* Syntaxes
- Manpage syntax highlighting has been improved, see #1315
(@keith-hall)
- Add Svelte file syntax, see #1285 (@kjmph)
- Update AsciiDoc syntax, see #1034 (@rxt1077)
- GLSL (@caioalonso)
- Add Nginx and Apache config file syntax, see #1137 (@kjmph,
@niklasmohrin)
- Use fstab syntax for crypttab files, see #1073 (@sharkdp)
- Support syntax highlighting for files in $XDG_CONFIG_HOME/git/,
see #1191 (@ahmedelgabri)
* New themes
- Coldark, see #1329 (@ArmandPhilippot)
- Gruvbox, see #1069 (@KyleOndy)
- base16-256 for base16-shell users, see #1111 (@mk12)
* bat as a library
- Add APIs to provide Input descriptions with InputDescription (@eth-p)
- Add function to directly provide Inputs to PrettyPrinter (@eth-p)
- Breaking: Input::theme_preview_file is no longer available. (@eth-p)
* Packaging
- Package maintainers: note that we now include zsh shell completion files
- Removed build dependency on liquid (@sharkdp).
-------------------------------------------------------------------
Mon Jun 1 14:01:29 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Update to 0.15.4
* Added missing Solarized themes
* Fixed highlighting bug in Haskell source files
* Cannot run bat with relative paths
* bat mishighlights Users that start with digits in SSH config
* --map-syntax doesn't work with names provided through --file-name
* Fix syntax detection for files called 'rails'
* Fix potential errors with syntax detection for symlinked files
* Fix highlighting of Markdown files
-------------------------------------------------------------------
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>
- Update to version 0.13.0
* Beginning with this release, bat can be used as a library
* (Breaking change) Glob-based syntax mapping
* Many bugfixes and new syntaxes
* And more... see upstream
- Pass "no-track" option to "cargo install" to avoid generating
".crates2.json"
-------------------------------------------------------------------
Tue Oct 15 12:59:38 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
- Instruct packager to install cargo directly from the cargo package
-------------------------------------------------------------------
Tue Oct 1 19:06:41 UTC 2019 - Luke Jones <luke@ljones.dev>
- Use `pwd`/.cargo for vendor config so that CARGO_HOME export is
not required.
-------------------------------------------------------------------
Tue Sep 24 14:49:11 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
- Update to version 0.12.1
* Features
Binary file content can now be viewed with bat -A
bat can now be used as a man pager
Add new style component to separate multiple '--line-range'
Added '-L' as an alias for '--list-languages'
* Bugfixes
Output looks unbalanced when using '--style=grid,numbers' without 'header'
Issues with filenames starting with "cache"
'--terminal-width -10' is parsed incorrectly
* New syntaxes
Emacs Org mode
requirements.txt
DotENV '.env'
SSH config
And more... see upstream
- Set directory for 'git clone' in README.packager
- Add 'clang' to build dependencies
-------------------------------------------------------------------
Wed May 15 21:22:44 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
- Update to version 0.11.0
* Features
New color themes: ansi-light, ansi-dark and base16
The -p/--plain option can be used twice (typically -pp). First -p switches --style to "plain", second disables pager.
* Bugfixes
Do not replace arguments to less when using --pager
Empty files are (once again) printed with a single header line
--terminal-width=0 is now disallowed
* New syntaxes
Fish
Update for F#
-------------------------------------------------------------------
Tue Apr 30 13:08:18 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
- Run spec-cleaner
- Remove double %setup macro
- Simplify tar command in README.packager
-------------------------------------------------------------------
Mon Feb 11 22:15:10 UTC 2019 - Dany Marcoux <dmarcoux@posteo.de>
- Add README.packager for instructions on how to generate vendor.tar.xz
- Update to version 0.10.0
* Features
New option --highlight-line <N>
New option -A/--show-all to show and highlight non-printable characters (in analogy to GNU cats option)
New option --pager to configure the pager
Support for a configuration file (https://github.com/sharkdp/bat#format)
Support for custom config file path via --config-file option or BAT_CONFIG_PATH environment variable
Support for custom syntax mappings via the -m/--max-syntax option
Support pager command-line arguments in PAGER and BAT_PAGER
The --terminal-width option can now also accept offsets
Support for multiple --line-range arguments
Encoding support for UTF-16LE and UTF-16BE
* Changes
Completely disabled the generation of shell completion files
Report the name of missing files
Don't start pager if file doesn't exist
Rename bat cache --init to bat cache --build
Move the --config-dir and --cache-dir options from bat cache to bat and hide them from the help text
The default tab-width has been set to 4
* New syntaxes supported
Robot framework, Twig, .desktop files, AsciiDoc, Assembly, Jsonnet,
Log files, Protobuf and ProtobufText, Terraform and Varlink
-------------------------------------------------------------------
Tue Oct 2 09:40:07 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Fix the description's grammar.
-------------------------------------------------------------------
Mon Sep 24 22:33:10 UTC 2018 - dmarcoux@posteo.de
- Update to version 0.7.1
-------------------------------------------------------------------
Sat Aug 25 22:00:00 UTC 2018 - viktor.saevars@gmail.com
- Inital packaging @ 0.5.0