What sharkdp/bat shipped
Written by FoxPlug from the repository's own releases; not affiliated with bat. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/sharkdp/bat; bat did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 2, 2026
What shipped
- Windows mintty, MSYS2 and Cygwin terminals are now detected as interactive output, restoring colors, pager and decorations there. Pull request #4115
- Highlight-line escape sequences are no longer emitted when color is never, so decorations like numbers no longer leak background or underline codes. Pull request #4100
- Value-taking options can now be given in both the config file and the command line instead of being rejected as duplicates. Pull request #4102
- A cache is now built automatically on first run when custom themes or syntaxes exist in the config directory. Pull request #4038
- Wrapping now preserves joined emoji, skin-tone sequences and flags instead of inserting a newline inside them. Pull request #4108
- Backslashes in the pager command are kept on Windows, so pager paths such as C:\tools\less.exe resolve correctly. Pull request #4104
- The bat error and bat warning prefixes on stderr now respect NO_COLOR. Pull request #4048
- CUE files (.cue) now get syntax highlighting. Pull request #4094
- The extensionless kube config file is now mapped to YAML. Pull request #3911
- Nonblank line numbering no longer advances on empty lines in UTF-16 input. Pull request #4118
Why it matters
This week brought several fixes for people running bat on Windows, covering terminal detection in mintty and Cygwin, pager paths with backslashes, and the PowerShell completion offering an invalid wrap value. Input handling also got steadier: UTF-16 line splitting and nonblank numbering were corrected, emoji are no longer split when wrapping, and a UTF-8 BOM at the start of the config file is ignored. Config behavior improved too, with options repeatable across the config file and command line, automatic cache building when custom sources exist, and path mappings preserved for backups.
Changelog entry
- Detect mintty, MSYS2 and Cygwin terminals as interactive output on Windows, restoring colors and decorations. Pull request #4115
- Do not emit highlight escape sequences when color is never. Pull request #4100
- Allow value-taking options to be repeated so command-line values override the config file. Pull request #4102
- Build the cache automatically on first run when custom themes or syntaxes are present. Pull request #4038
- Preserve emoji sequences when wrapping content. Pull request #4108
- Keep backslashes in the pager command on Windows. Pull request #4104
- Respect NO_COLOR for the bat error and bat warning prefixes. Pull request #4048
- Add syntax highlighting for CUE (.cue files). Pull request #4094
- Map the extensionless kube config file to YAML. Pull request #3911
- Skip empty UTF-16 lines in nonblank numbering. Pull request #4118
- Ignore a UTF-8 BOM at the start of the config file. Pull request #4103
- Preserve path mappings when ignoring backup suffixes. Pull request #4111
This week: mintty/MSYS2/Cygwin terminals detected again on Windows, no highlight escapes with color=never, emoji kept intact when wrapping, UTF-16 numbering fixed, config BOM ignored, and value options repeatable.
A week of fixes for bat: Windows terminals such as mintty, MSYS2 and Cygwin are detected as interactive again, backslashes in pager commands are preserved, and the PowerShell completion no longer suggests an invalid wrap value. Highlighting no longer writes escape sequences when color is disabled, and wrapping keeps emoji sequences intact. UTF-16 line splitting and nonblank numbering were corrected, a BOM at the start of the config file is ignored, and value-taking options can now be repeated across the config file and command line. Custom themes and syntaxes trigger a cache build on first run, and CUE files gained syntax highlighting.
Week of October 12, 2026
What shipped
- Fixed UTF-16BE input with a BOM where the first line swallowed the second, which had thrown off line numbers from line two onward, made line-range select the wrong lines and highlighted the first two lines together. Pull request #4076
- Added a syntax mapping so Podman.quadlets files are recognized, wherever they are located. Pull request #4069
- Documented StripAnsiMode and its variants. Pull request #4067
- Documented the RangeCheckResult variants with doc comments so their explanations reach the generated documentation. Pull request #4064
- Documented the bool payload of WrappingMode::NoWrapping. Pull request #4065
- Documented four public Config fields,
use_lessopen,set_terminal_title,strip_ansiand sanitize, with doc comments. Pull request #4063
Why it matters
This week fixes a real display bug for UTF-16BE files with a BOM: line numbers, line-range selection and highlighting were all off because the first two lines were merged. It also adds Podman.quadlets syntax support and fills in documentation gaps across several public library types, so people building on the library see variant and field explanations in the generated docs.
Changelog entry
- Fix UTF-16BE input with a BOM showing the first two lines as one, affecting line numbers, line-range and highlighting Pull request #4076
- Add syntax mapping for Podman.quadlets files Pull request #4069
- Document StripAnsiMode and its variants Pull request #4067
- Document RangeCheckResult variants with doc comments Pull request #4064
- Document WrappingMode::NoWrapping's bool payload with a doc comment Pull request #4065
- Document four public Config fields with doc comments Pull request #4063
This week in bat: UTF-16BE files with a BOM no longer merge the first two lines, so line numbers, --line-range and highlighting are correct. Podman.quadlets files now get syntax highlighting, and several public library types and fields are documented.
This week in bat: fixed a UTF-16BE issue where files with a BOM showed the first two lines as one, which threw off line numbers from line two on, made --line-range pick the wrong lines and highlighted the first two lines together. Also added a syntax mapping for Podman.quadlets files, and filled in documentation for public library items: StripAnsiMode and its variants, the RangeCheckResult variants, the bool payload of WrappingMode::NoWrapping, and four Config fields.
More from sharkdp/bat on GitHub
Merged pull requests
- Ignore empty values for --ignored-suffix (#4122, merged November 10, 2026 by spicysharkco) (source)
- test: cover automatic highlight colors on pipes and terminals (#4119, merged November 8, 2026 by FFspiky) (source)
- fix: skip empty UTF-16 lines in nonblank numbering (#4118, merged November 7, 2026 by pcbeingused333) (source)
- fix wrong merge result in CHANGELOG.md (#4117, merged November 6, 2026 by keith-hall) (source)
- Don't emit highlight escape sequences with --color=never (#4100, merged November 6, 2026 by DeviousCardi) (source)
- fix: detect mintty/MSYS2/Cygwin terminals as interactive output on Windows (#4115, merged November 6, 2026 by rezamuliawijaya) (source)
- Make full-path syntax mappings work on Windows (#4113, merged November 5, 2026 by b84330808) (source)
- Add syntax highlighting for CUE (#4094, merged November 5, 2026 by nikarh) (source)
- Keep configuration active for option-like filenames (#4112, merged November 4, 2026 by Marve10s) (source)
- Preserve emoji sequences when wrapping content (#4108, merged November 4, 2026 by Marve10s) (source)
- Preserve path mappings when ignoring backup suffixes (#4111, merged November 4, 2026 by Marve10s) (source)
- Keep UTF-16 line splitting aligned to code units (#4110, merged November 4, 2026 by Marve10s) (source)