v0.24.0
Added 11
- Add environment variable BAT_PAGING
- Add opt-in support for LESSOPEN and LESSCLOSE via --features lessopen
- Associate os-release with bash syntax
- Associate Containerfile with Dockerfile syntax
- Associate ksh files with bash syntax
- Associate sarif files with JSON syntax
- Associate ron files with rust syntax
- Add support for WebGPU Shader Language
- Add .dpkg-new and .dpkg-tmp to ignored suffixes
- Add syntax mapping *.jsonl => json
- Add NSIS support
Changed 5
- Switch default behavior of --map-syntax to be case insensitive
- Update version of serde_yaml to 0.9
- Output directory for generated assets can be customized
- Use the is-terminal crate instead of atty
- Bump MSRV to 1.70
Fixed 4
- Fix more not being found on Windows when provided via BAT_PAGER
- Fix arithmetic overflow in LineRange::from and LineRange::parse_range
- Fix paging not happening when stdout is interactive but stdin is not
- Make -pp override --paging and vice versa when passed as a later argument
v0.24.0
Features
- Add environment variable
BAT_PAGING, see #2629 (@einfachIrgendwer0815) - Add opt-in (
--features lessopen) support forLESSOPENandLESSCLOSE. See #1597, #1739, #2444, #2602, and #2662 (@Anomalocaridid)
Bugfixes
- Fix
morenot being found on Windows when provided viaBAT_PAGER, see #2570, #2580, and #2651 (@mataha) - Switched default behavior of
--map-syntaxto be case insensitive #2520 - Updated version of
serde_yamlto0.9. See #2627 (@Raghav-Bell) - Fix arithmetic overflow in
LineRange::fromandLineRange::parse_range, see #2674, #2698 (@skoriop) - Fix paging not happening when stdout is interactive but stdin is not, see #2574 (@Nigecat)
- Make
-ppoverride--pagingand vice versa when passed as a later argument, see #2660 (@J-Kappes)
Other
- Output directory for generated assets (completion, manual) can be customized, see #2515 (@tranzystorek-io)
- Use the
is-terminalcrate instead ofatty, see #2530 (@nickelc) - Add Winget Releaser workflow, see #2519 (@sitiom)
- Bump MSRV to 1.70, see #2651 (@mataha)
Syntaxes
- Associate
os-releasewithbashsyntax, see #2587 (@cyqsimon) - Associate
ContainerfilewithDockerfilesyntax, see #2606 (@einfachIrgendwer0815) - Replaced quotes with double quotes so fzf integration example script works on windows and linux. see #2095 (@johnmatthiggins)
- Associate
kshfiles withbashsyntax, see #2633 (@johnmatthiggins) - Associate
sariffiles withJSONsyntax, see #2695 (@rhysd) - Associate
ronfiles withrustsyntax, see #2427 (@YeungOnion) - Add support for WebGPU Shader Language, see #2692 (@rhysd)
- Add
.dpkg-newand.dpkg-tmpto ignored suffixe, see #2595 (@scop) - fix: Add syntax mapping
*.jsonl=>json, see #2539 (@WinterCore) - Update
Juliasyntax, see #2553 (@dependabot) - add
NSISsupport, see #2577 (@idleberg) - Update
ssh-config, see #2697 (@mrmeszaros)
bat as a library
- Add optional output_buffer arg to
Controller::run()andController::run_with_error_handler(), see #2618 (@Piturnah)