Features:
* Implemented -S and --chop-long-lines flags as aliases for
--wrap=never. See #2309
* Breaking change: Environment variables can now override config
file settings (but command-line arguments still have the highest
precedence), see #1152, #1281, and #2381
* Implemented --nonprintable-notation=caret to support showing
non-printable characters using caret notation. See #2429
Bugfixes:
* Fix bat cache --clear not clearing the --target dir if specified. See #2393
Other:
* Various bash completion improvements, see #2310
* Disable completion of cache subcommand, see #2399
* Signifigantly improve startup performance on macOS, see #2442
* Bump MSRV to 1.62, see #2496
Syntaxes:
* Added support for Ada, see #1300 and #2316
* Added todo.txt syntax, see #2375
* Improve Manpage.sublime-syntax. See #2364 and #2461
* Added a new requirements.txt syntax, see #2361
* Added a new VimHelp syntax, see #2366
* Associate pdm.lock with TOML syntax, see #2410
* Todo.txt: Fix highlighting of contexts and projects at beginning
of done.txt, see #2411
* cmd-help: overhaul scope names (colors) to improve theme
support; misc syntax improvements. See #2419
* Added support for Crontab, see #2509
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=41
- Update to version 0.22.1:
- v0.22.1
* Bugfixes
- Bring back pre-processing of ANSI escape characters to so that some
common bat use cases starts working again. See #2308 (@Enselic)
- v0.22.0
* Features
- Make the default macOS theme depend on Dark Mode.
See #2197, #1746 (@Enselic)
- Support for separate system and user config files.
See #668 (@patrickpichler)
* Bugfixes
- Prevent fork nightmare with PAGER=batcat. See #2235 (@johnmatthiggins)
- Make --no-paging/-P override --paging=... if passed as a later arg,
see #2201 (@themkat)
- --map-syntax and --ignored-suffix now works together, see #2093 (@czzrr)
- Strips byte order mark from output when in non-loop-through mode.
See #1922 (@dag-h)
* Other
- Relaxed glibc requirements on amd64, see #2106 and #2194 (@sharkdp)
- Improved fish completions. See #2275 (@zgracem)
- Stop pre-processing ANSI escape characters. Syntax highlighting on ANSI
escaped input is not supported. See #2185 and #2189 (@Enselic)
* Syntaxes
- NSE (Nmap Scripting Engine) is mapped to Lua, see #2151 (@Cre3per)
- Correctly color fstab dump and pass fields, see #2246 (@yuvalmo)
- Update Command Help syntax, see #2255
- Julia: Fix syntax highlighting for function name starting with struct,
see #2230
- Minor update to LiveScript, see #2291
OBS-URL: https://build.opensuse.org/request/show/1003476
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=35
- Update to version 0.20.0
* New style component header-filesize to show size of the displayed
file in the header.
* Use underline for line highlighting on ANSI
* Fix bash completion on bash 3.x and bash-completion 1.x.
- Update to version 0.19.0
* Reduce startup time in loop-through mode by 90%.
* Load themes lazily to make bat start 25% faster when disregarding
syntax load time.
* Python syntax highlighting no longer suffers from abysmal performance
in specific scenarios.
* Fix for poor performance when ANSI escape sequences are piped to bat
* Fix for incorrect handling of ANSI escape sequences when
using --wrap=never
* Load custom assets as fast as integrated assets
* Support for x:-delta (minus) syntax in line ranges
* Support for --ignored-suffix argument.
* $BAT_CONFIG_DIR is now a recognized environment variable. It has
precedence over $XDG_CONFIG_HOME
* Support for x:+delta syntax in line ranges (e.g. 20:+10)
* Add new --acknowledgements option that gives credit to theme and
syntax definition authors
* Fix: First line not shown in diff context.
* Fix: Do not ignore syntaxes that handle file names with
a *.conf extension.
OBS-URL: https://build.opensuse.org/request/show/970606
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=31
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/912887
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=29
- 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)
OBS-URL: https://build.opensuse.org/request/show/881305
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=25
- 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
OBS-URL: https://build.opensuse.org/request/show/810631
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=21
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/732986
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=12
- 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#
OBS-URL: https://build.opensuse.org/request/show/703433
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=10
- 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
OBS-URL: https://build.opensuse.org/request/show/674133
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=5