New
v0.24.0
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)