bat v0.24.0

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
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 for LESSOPEN and LESSCLOSE. See #1597, #1739, #2444, #2602, and #2662 (@Anomalocaridid)
Bugfixes
  • Fix more not being found on Windows when provided via BAT_PAGER, see #2570, #2580, and #2651 (@mataha)
  • Switched default behavior of --map-syntax to be case insensitive #2520
  • Updated version of serde_yaml to 0.9. See #2627 (@Raghav-Bell)
  • Fix arithmetic overflow in LineRange::from and LineRange::parse_range, see #2674, #2698 (@skoriop)
  • Fix paging not happening when stdout is interactive but stdin is not, see #2574 (@Nigecat)
  • Make -pp override --paging and 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-terminal crate instead of atty, see #2530 (@nickelc)
  • Add Winget Releaser workflow, see #2519 (@sitiom)
  • Bump MSRV to 1.70, see #2651 (@mataha)
Syntaxes
  • Associate os-release with bash syntax, see #2587 (@cyqsimon)
  • Associate Containerfile with Dockerfile syntax, see #2606 (@einfachIrgendwer0815)
  • Replaced quotes with double quotes so fzf integration example script works on windows and linux. see #2095 (@johnmatthiggins)
  • Associate ksh files with bash syntax, see #2633 (@johnmatthiggins)
  • Associate sarif files with JSON syntax, see #2695 (@rhysd)
  • Associate ron files with rust syntax, see #2427 (@YeungOnion)
  • Add support for WebGPU Shader Language, see #2692 (@rhysd)
  • Add .dpkg-new and .dpkg-tmp to ignored suffixe, see #2595 (@scop)
  • fix: Add syntax mapping *.jsonl => json, see #2539 (@WinterCore)
  • Update Julia syntax, see #2553 (@dependabot)
  • add NSIS support, see #2577 (@idleberg)
  • Update ssh-config, see #2697 (@mrmeszaros)
bat as a library
  • Add optional output_buffer arg to Controller::run() and Controller::run_with_error_handler(), see #2618 (@Piturnah)
View original

Upgraded? How did it go?

Discussion