- Update to 0.24.0:
Features:
* Add environment variable BAT_PAGING, see #2629
* Add opt-in (--features lessopen) support for LESSOPEN and
LESSCLOSE. See #1597, #1739, #2444, #2602, and #2662
Bugfixes:
* Fix more not being found on Windows when provided via
BAT_PAGER, see #2570, #2580, and #2651
* Switched default behavior of --map-syntax to be case
insensitive #2520
* Updated version of serde_yaml to 0.9. See #2627
* Fix arithmetic overflow in LineRange::from and
LineRange::parse_range, see #2674, #2698
* Fix paging not happening when stdout is interactive but stdin
is not, see #2574
* Make -pp override --paging and vice versa when passed as a
later argument, see #2660
Other:
* Output directory for generated assets (completion, manual) can
be customized, see #2515
* Use the is-terminal crate instead of atty, see #2530
* Add Winget Releaser workflow, see #2519
* Bump MSRV to 1.70, see #2651
Syntaxes:
* Associate os-release with bash syntax, see #2587
* Associate Containerfile with Dockerfile syntax, see #2606
* Replaced quotes with double quotes so fzf integration example
script works on windows and linux. see #2095
* Associate ksh files with bash syntax, see #2633
* Associate sarif files with JSON syntax, see #2695
* Associate ron files with rust syntax, see #2427
* Add support for WebGPU Shader Language, see #2692
* Add .dpkg-new and .dpkg-tmp to ignored suffixe, see #2595
* fix: Add syntax mapping *.jsonl => json, see #2539
* Update Julia syntax, see #2553
* add NSIS support, see #2577
* Update ssh-config, see #2697
OBS-URL: https://build.opensuse.org/request/show/1123182
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=43
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