# bat v0.24.0 - Product: bat (https://whatsnew.fyi/product/bat) - Vendor: David Peter - Date: 2023-10-11 - Version: v0.24.0 - Original notes: https://github.com/sharkdp/bat/releases/tag/v0.24.0 - Permalink: https://whatsnew.fyi/product/bat/releases/v0.24.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add environment variable BAT_PAGING - **added** — Add opt-in support for LESSOPEN and LESSCLOSE via --features lessopen - **fixed** — Fix more not being found on Windows when provided via BAT_PAGER - **changed** — Switch default behavior of --map-syntax to be case insensitive - **changed** — Update version of serde_yaml to 0.9 - **fixed** — Fix arithmetic overflow in LineRange::from and LineRange::parse_range - **fixed** — Fix paging not happening when stdout is interactive but stdin is not - **fixed** — Make -pp override --paging and vice versa when passed as a later argument - **changed** — Output directory for generated assets can be customized - **changed** — Use the is-terminal crate instead of atty - **changed** — Bump MSRV to 1.70 - **added** — Associate os-release with bash syntax - **added** — Associate Containerfile with Dockerfile syntax - **added** — Associate ksh files with bash syntax - **added** — Associate sarif files with JSON syntax - **added** — Associate ron files with rust syntax - **added** — Add support for WebGPU Shader Language - **added** — Add .dpkg-new and .dpkg-tmp to ignored suffixes - **added** — Add syntax mapping *.jsonl => json - **added** — Add NSIS support #### 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](https://www.w3.org/TR/WGSL/), 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)