| CARVIEW |
Select Language
HTTP/2 200
date: Fri, 26 Dec 2025 22:14:12 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"2c33c729b2812e878ea9af74e65fd6f4"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=W6FIyTOAzvzsWxoDNMz9xNqIMthx6qBGHxdpDIYs0w8lxSFU8GRlOXk%2F0QKuGF9MgUbYM6ZFK0Z4NP7WN3qrDRcknQu1h5ltyYN2%2FCDmSaH7s8uxEB4wLdlcX6OBMDLSp7hzxFegZRXokFyhauN%2FoL2f7CTa8M7nUj1QoP1o2EbIBUp5k%2FKEDKlGFL%2B%2Bh4yuyHeRDZ1FT5MmqXirMkmt%2Bje4%2Bwg%2FVoAzmimQiKyB17b1A7hHeq6GLb%2F2pobHoNtzzalVtXY08JmKCijbSyYogg%3D%3D--o7rwGZG5FyO7nH6c--AMkvpFVdAbkRR%2Fh%2BOSAjSA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.657008693.1766787251; Path=/; Domain=github.com; Expires=Sat, 26 Dec 2026 22:14:11 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 26 Dec 2026 22:14:11 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 801A:2D8E00:3D0B03A:492D8F1:694F08B3
Releases Β· sharkdp/bat Β· GitHub
02 Dec 20:48
19 Oct 18:22
Loading
07 Jan 19:08
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Releases: sharkdp/bat
Releases Β· sharkdp/bat
v0.26.1
979ba22
This commit was created on GitHub.com and signed with GitHubβs verified signature.
v0.26.1
Features
- Add paging to '-h' and '--help' see PR #3478 (@MuntasirSZN)
Bugfixes
- Fix hang when using
--list-themeswith an explicit pager, see #3457 (@abhinavcool42) - Fix negative values of N not being parsed in <N:M> line ranges without
=flag value separator, see #3442 (@lmmx) - Fix broken Docker syntax preventing use of custom assets, see #3476 (@keith-hall)
- Fix decorations being applied unexpectedly when piping. Now only line numbers explicitly required on the command line should be applied in auto decorations mode for
catcompatibility. See #3496 (@keith-hall) - Fix diagnostics attempting to find the version of an executable named builtin when builtin pager is used. See #3498 (@keith-hall)
--helpnow correctly reads the config file for theme information etc. See #3507 (@keith-hall)
Other
- Improve README documentation on pager options passed to less, see #3443 (@injust)
- Make PowerShell completions compatible with PowerShell v5.1, see #3495 (@keith-hall)
- Use more robust approach to escaping in Bash completions, see #3448 (@akinomyoga)
Syntaxes
- Update quadlet syntax mapping to include *.{build,pod} files #3484 (@cyqsimon)
- Fix inconsistencies in Ada syntax, see #3481 (@AldanTanneo)
- Add syntax mapping for podman's
artifactquadlet files, see #3497 (@xduugu) - Highlight Korn Shell scripts (i.e. with a shebang of ...
ksh) using Bash syntax, see #3509 (@keith-hall)
Assets 23
- sha256:da2ca4c742dc55216daeb68b6b7ce6d26fac0aae34f3b657c3322c14df4d0cc82.78 MB
2025-12-02T20:54:18Z - sha256:e2b709e7330e5e0e2b18924ebdd741f4a1e82265a2336a153f8db82567135d942.93 MB
2025-12-02T20:59:40Z - sha256:e77baebf043900d93895ec059be7637b7f736bd514a3ee2b0e26316e84fb4e862.93 MB
2025-12-02T20:57:47Z - sha256:e30beff26779c9bf60bb541e1d79046250cb74378f2757f8eb250afddb19e1143.07 MB
2025-12-02T20:55:14Z - sha256:af07dd1939e99f7f5892d197fc5653cb8cb6c5999552731135ad156eca7e38a53.28 MB
2025-12-02T20:54:56Z - sha256:422eb73e11c854fddd99f5ca8461c2f1d6e6dce0a2a8c3d5daade5ffcb6564aa3.19 MB
2025-12-02T20:55:51Z - sha256:6369242c584065f195fb20cb36fbd7cb63ae690605bbe89868a7596b596c2c233.23 MB
2025-12-02T20:54:18Z - sha256:410350b51436461dbdb4b0056203dcf4d30fc303873659ad837678cdf52c42b73.22 MB
2025-12-02T20:53:47Z - sha256:ac08a619f5b1942c4745d2f686fba7145c7de47de990f0f14cc3ab2fa06c005e3.25 MB
2025-12-02T20:54:09Z - sha256:07fcab3b17e146878179553c115beb4878835a30b0e5d046457015a5b8f6e7ed3.21 MB
2025-12-02T20:57:38Z -
2025-12-02T20:44:14Z -
2025-12-02T20:44:14Z - Loading
30 people reacted
v0.26.0
c734087
This commit was created on GitHub.com and signed with GitHubβs verified signature.
v0.26.0
Features
- Add build for windows/ARM64 platform. #3190 (@alcroito)
- Add paging to
--list-themes, see PR #3239 (@einfachIrgendwer0815) - Support negative relative line ranges, e.g.
bat -r :-10/bat -r='-10:', see #3068 (@ajesipow) - Support context in line ranges, e.g.
bat -r 30::5/bat -r 30:40:5, see #3345 (@cavanaug) - Add built-in 'minus' pager, e.g.
bat --pager=builtinsee PR #3402 (@academician)
Bugfixes
- Fix UTF-8 BOM not being stripped for syntax detection, see #3314 (@krikera)
- Fix
BAT_THEME_DARKandBAT_THEME_LIGHTbeing ignored, see issue #3171 and PR #3168 (@bash) - Prevent
--list-themesfrom outputting default theme info to stdout when it is piped, see #3189 (@einfachIrgendwer0815) - Rename some submodules to fix Dependabot submodule updates, see issue #3198 and PR #3201 (@victor-gp)
- Make highlight tests fail when new syntaxes don't have fixtures PR #3255 (@dan-hipschman)
- Fix crash for multibyte characters in file path, see issue #3230 and PR #3245 (@HSM95)
- Add missing mappings for various bash/zsh files, see PR #3262 (@AdamGaskins)
- Send all bat errors to stderr by default, see #3336 (@JerryImMouse)
- Make --map-syntax target case insensitive to match --language, see #3206 (@keith-hall)
- Correctly determine the end of the line in UTF16LE/BE input #3369 (@keith-hall)
--style=changesno longer prints a two-space indent when the file is unmodified, see issue #2710 and PR #3406 (@jyn514)- Add missing shell completions, see #3411 (@keith-hall)
- Execute help/version/diagnostic commands even with invalid config/arguments present, see #3414 (@keith-hall)
- Fixed line numbers (
-n) and style components not printing when piping output, see issue #2935 and PR #3438 (@lmmx)
Other
- Update base16 README links to community driven base16 work #2871 (@JamyGolden)
- Work around build failures when building
batfrom vendored sources #3179 (@dtolnay) - CICD: Stop building for x86_64-pc-windows-gnu which fails #3261 (Enselic)
- CICD: CICD: replace windows-2019 runners with windows-2025 #3339 (@cyqsimon)
- Build script: replace string-based codegen with quote-based codegen #3340 (@cyqsimon)
- Improve code coverage of
--list-languagesparameter #2942 (@sblondon) - Only start offload worker thread when there's more than 1 core #2956 (@cyqsimon)
- Update terminal-colorsaurus (the library used for dark/light detection) to 1.0, see #3347 (@bash)
- Update console dependency to 0.16, see #3351 (@musicinmybrain)
- Fixed some typos #3244 (@ssbarnea)
- Update onig_sys dependency to 69.9.1 to fix a gcc build failure #3400 (@CosmicHorrorDev)
- Add a cargo feature (
vendored-libgit2) to build with vendored libgit2 version without depending on the system's one #3426 (@0x61nas) - Update syntect dependency to v5.3.0 to fix a few minor bugs, see #3410 (@keith-hall)
Syntaxes
- Add syntax mapping for
paruconfiguration files #3182 (@cyqsimon) - Add support for Idris 2 programming language #3150 (@buzden)
- Add syntax mapping for
nix's 'flake.locklockfiles #3196 (@odilf) - Improvements to CSV/TSV highlighting, with autodetection of delimiter and support for TSV files, see #3186 (@keith-
- Improve (Sys)log error highlighting, see #3205 (@keith-hall)
- Map
ndjsonextension to JSON syntax, see #3209 (@keith-hall) - Map files with
csproj,vbproj,propsandtargetsextensions to XML syntax, see #3213 (@keith-hall) - Add debsources syntax to highlight
/etc/apt/sources.listfiles, see #3215 (@keith-hall) - Add syntax definition and test file for GDScript highlighting, see #3236 (@chetanjangir0)
- Add syntax test file for Odin highlighting, see #3241 (@chetanjangir0)
- Update quadlet syntax mapping rules to cover quadlets in subdirectories #3299 (@cyqsimon)
- Add syntax Typst #3300 (@cskeeters)
- Map
.millfiles to Scala syntax for Mill build tool configuration files #3311 (@krikera) - Add syntax highlighting for VHDL, see #3337 (@JerryImMouse)
- Add syntax mapping for certbot certificate configuration #3338 (@cyqsimon)
- Update Lean syntax from Lean 3 to Lean 4 #3322 (@YDX-2147483647)
- Map
.flatpakrefand.flatpakrepofiles to INI syntax #3353 (@Ferenc-) - Update hosts syntax #3368 (@keith-hall)
- Map
.kshrcfiles to Bash syntax #3364 (@ritoban23) - Map
/var/log/dmesgfiles to Syslog syntax #3412 (@keith-hall) - Add syntax definition and test file for Go modules(
go.modandgo.sum) highlighting, see #3424 (@DarkMatter-999) - Syntax highlighting for typescript code blocks within Markdown files, see #3435 (@MuntasirSZN)
Themes
- Add Catppuccin, see #3317 (@SchweGELBin)
- Updated Catppuccin, see #3333 (@SchweGELBin)
- Updated gruvbox, see #3372 (@Nicholas42)
- Updated GitHub theme, see #3382 (@CosmicHorrorDev)
- Updated ANSI theme to highlight JSON object keys differently from values, see #3413 (@keith-hall)
Assets 23
65 people reacted
v0.25.0
25f4f96
This commit was created on GitHub.com and signed with GitHubβs verified signature.
v0.25.0
Features
- Set terminal title to file names when Paging is not Paging::Never #2807 (@Oliver-Looney)
bat --squeeze-blank/bat -swill now squeeze consecutive empty lines, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)bat --squeeze-limitto set the maximum number of empty consecutive when using--squeeze-blank, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)PrettyPrinter::squeeze_empty_linesto support line squeezing for bat as a library, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)- Syntax highlighting for JavaScript files that start with
#!/usr/bin/env bun#2913 (@sharunkumar) bat --strip-ansi={never,always,auto}to remove ANSI escape sequences from bat's input, see #2999 (@eth-p)- Add or remove individual style components without replacing all styles #2929 (@eth-p)
- Automatically choose theme based on the terminal's color scheme, see #2896 (@bash)
- Add option
--binary=as-textfor printing binary content, see issue #2974 and PR #2976 (@einfachIrgendwer0815) - Make shell completions available via
--completion <shell>, see issue #2057 and PR #3126 (@einfachIrgendwer0815) - Syntax highlighting for puppet code blocks within Markdown files, see #3152 (@liliwilson)
Bugfixes
- Fix long file name wrapping in header, see #2835 (@FilipRazek)
- Fix
NO_COLORsupport, see #2767 (@acuteenvy) - Fix handling of inputs with OSC ANSI escape sequences, see #2541 and #2544 (@eth-p)
- Fix handling of inputs with combined ANSI color and attribute sequences, see #2185 and #2856 (@eth-p)
- Fix panel width when line 10000 wraps, see #2854 (@eth-p)
- Fix compile issue of
timedependency caused by standard library regression #3045 (@cyqsimon) - Fix override behavior of --plain and --paging, see issue #2731 and PR #3108 (@einfachIrgendwer0815)
- Fix bugs in
$LESSOPENsupport, see #2805 (@Anomalocaridid)
Other
- Upgrade to Rust 2021 edition #2748 (@cyqsimon)
- Refactor and cleanup build script #2756 (@cyqsimon)
- Checks changelog has been written to for PRs in CI #2766 (@cyqsimon)
- Minor benchmark script improvements #2768 (@cyqsimon)
- Update Arch Linux package URL in README files #2779 (@brunobell)
- Update and improve
zshcompletion, see #2772 (@okapia) - More extensible syntax mapping mechanism #2755 (@cyqsimon)
- Use proper Architecture for Debian packages built for musl, see #2811 (@Enselic)
- Pull in fix for unsafe-libyaml security advisory, see #2812 (@dtolnay)
- Update git-version dependency to use Syn v2, see #2816 (@dtolnay)
- Update git2 dependency to v0.18.2, see #2852 (@eth-p)
- Improve performance when color output disabled, see #2397 and #2857 (@eth-p)
- Relax syntax mapping rule restrictions to allow brace expansion #2865 (@cyqsimon)
- Apply clippy fixes #2864 (@cyqsimon)
- Faster startup by offloading glob matcher building to a worker thread #2868 (@cyqsimon)
- Display which theme is the default one in basic output (no colors), see #2937 (@sblondon)
- Display which theme is the default one in colored output, see #2838 (@sblondon)
- Add aarch64-apple-darwin ("Apple Silicon") binary tarballs to releases, see #2967 (@someposer)
- Update the Lisp syntax, see #2970 (@ccqpein)
- Use bat's ANSI iterator during tab expansion, see #2998 (@eth-p)
- Support 'statically linked binary' for aarch64 in 'Release' page, see #2992 (@tzq0301)
- Update options in shell completions and the man page of
bat, see #2995 (@akinomyoga) - Update nix dev-dependency to v0.29.0, see #3112 (@decathorpe)
- Bump MSRV to 1.74, see #3154 (@keith-hall)
- Update clircle dependency to remove winapi transitive dependency, see #3113 (@niklasmohrin)
Syntaxes
cmd-help: scope subcommands followed by other terms, and other misc improvements, see #2819 (@victor-gp)- Upgrade JQ syntax, see #2820 (@dependabot[bot])
- Add syntax mapping for quadman quadlets #2866 (@cyqsimon)
- Map containers .conf files to TOML syntax #2867 (@cyqsimon)
- Associate
.xshfiles withxonshsyntax that is Python, see #2840 (@anki-code) - Associate JSON with Comments
.jsoncwithjsonsyntax, see #2795 (@mxaddict) - Associate JSON-LD
.jsonldfiles withjsonsyntax, see #3037 (@vorburger) - Associate
.textprotofiles withProtoBufsyntax, see #3038 (@vorburger) - Associate GeoJSON
.geojsonfiles withjsonsyntax, see #3084 (@mvaaltola) - Associate
.aws/{config,credentials}, see #2795 (@mxaddict) - Associate Wireguard config
/etc/wireguard/*.conf, see #2874 (@cyqsimon) - Add support for CFML, see #3031 (@brenton-at-pieces)
- Map
*.mkdfiles toMarkdownsyntax, see issue #3060 and PR #3061 (@einfachIrgendwer0815) - Add syntax mapping for CITATION.cff, see #3103 (@Ugzuzg)
- Add syntax mapping for kubernetes config files #3049 (@cyqsimon)
- Adds support for pipe delimiter for CSV #3115 (@pratik-m)
- Add syntax mapping for
/etc/pacman.conf#2961 (@cyqsimon) - Associate
uv.lockwithTOMLsyntax, see #3132 (@fepegar)
Themes
- Patched/improved themes for better Manpage syntax highlighting support, see #2994 (@keith-hall).
bat as a library
- Changes to
syntax_mapping::SyntaxMapping#2755 (@cyqsimon)SyntaxMapping::get_syntax_foris now correctly public- [BREAKING]
SyntaxMapping::{empty,builtin}are removed; useSyntaxMapping::newinstead - [BREAKING]
SyntaxMapping::mappingsis replaced bySyntaxMapping::{builtin,custom,all}_mappings
- Make
Controller::run_with_error_handler's error handlerFnMut, see #2831 (@rhysd) - Improve compile time by 20%, see #2815 (@dtolnay)
- Add
theme::themefor choosing an appropriate theme based on the
terminal's color scheme, see #2896 (@bash)- [BREAKING] Remove
HighlightingAssets::default_theme. Usetheme::default_themeinstead.
- [BREAKING] Remove
- Add
PrettyPrinter::print_with_writerfor custom output destinations, see #3070 (@kojix2)
Assets 23
85 people reacted
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
Assets 19
65 people reacted
v0.23.0
Features
- Implemented
-Sand--chop-long-linesflags as aliases for--wrap=never. See #2309 (@johnmatthiggins) - Breaking change: Environment variables can now override config file settings (but command-line arguments still have the highest precedence), see #1152, #1281, and #2381 (@aaronkollasch)
- Implemented
--nonprintable-notation=caretto support showing non-printable characters using caret notation. See #2429 (@einfachIrgendwer0815)
Bugfixes
Other
- Various bash completion improvements, see #2310 (@scop)
- Disable completion of
cachesubcommand, see #2399 (@cyqsimon) - Signifigantly improve startup performance on macOS, see #2442 (@BlackHoleFox)
- Bump MSRV to 1.62, see #2496 (@Enselic)
Syntaxes
- Added support for Ada, see #1300 and #2316 (@dkm)
- Added
todo.txtsyntax, see #2375 (@BANOnotIT) - Improve Manpage.sublime-syntax. See #2364 (@Freed-Wu) and #2461 (@keith-hall)
- Added a new
requirements.txtsyntax, see #2361 (@Freed-Wu) - Added a new VimHelp syntax, see #2366 (@Freed-Wu)
- Associate
pdm.lockwithTOMLsyntax, see #2410 Todo.txt: Fix highlighting of contexts and projects at beginning of done.txt, see #2411cmd-help: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 (@victor-gp)- Added support for Crontab, see #2509 (@keith-hall)
Assets 19
67 people reacted
v0.22.1
Assets 19
46 people reacted
v0.22.0
Features
- Make the default macOS theme depend on Dark Mode. See #2197, #1746 (@Enselic)
- Support for separate system and user config files. See #668 (@patrickpichler)
Bugfixes
- Prevent fork nightmare with
PAGER=batcat. See #2235 (@johnmatthiggins) - Make
--no-paging/-Poverride--paging=...if passed as a later arg, see #2201 (@themkat) --map-syntaxand--ignored-suffixnow works together, see #2093 (@czzrr)- Strips byte order mark from output when in non-loop-through mode. See #1922 (@dag-h)
Other
- Relaxed glibc requirements on amd64, see #2106 and #2194 (@sharkdp)
- Improved fish completions. See #2275 (@zgracem)
- Stop pre-processing ANSI escape characters. Syntax highlighting on ANSI escaped input is not supported. See #2185 and #2189 (@Enselic)
Syntaxes
- NSE (Nmap Scripting Engine) is mapped to Lua, see #2151 (@Cre3per)
- Correctly color
fstabdump and pass fields, see #2246 (@yuvalmo) - Update
Command Helpsyntax, see #2255 Julia: Fix syntax highlighting for function name starting withstruct, see #2230- Minor update to
LiveScript, see #2291 - Associate
.mtsand.ctsfiles with theTypeScriptsyntax. See #2236 (@kidonng) - Fish history is mapped to YAML. See #2237 (@kidonng)
bat as a library
Assets 19
31 people reacted
v0.21.0
Features
- Correctly render tab stops in
--show-all, see #2038 (@Synthetica9) - Add a
--style=defaultoption and make it the default. It is less verbose thanfull, see #2061 (@IsaacHorvath) - Enable BusyBox
lessas pager, see #2162 (@nfisher1226) - File extensions are now matched case-insensitively. See #1854, #2181 (@Enselic)
Bugfixes
- Bump
regexdependency from 1.5.4 to 1.5.5 to fix CVE-2022-24713, see #2145, #2139 (@Enselic) batno longer crashes when encountering files that references missing syntaxes. See #915, #2181 (@Enselic)
Performance
- Skip syntax highlighting on long lines (> 16384 chars) to help improve performance. See #2165 (@keith-hall)
- Vastly improve startup time by lazy-loading syntaxes via syntect 5.0.0. This makes bat display small files ~75% faster than before. See #951, #2181 (@Enselic)
Other
Syntaxes
- Mapped clang-format config file (.clang-format) to YAML syntax (@TruncatedDinosour)
- log syntax: improved handling of escape characters in double quoted strings. See #2123 (@keith-hall)
- Associate
/var/spool/mail/*and/var/mail/*with theEmailsyntax. See #2156 (@cyqsimon) - Added cmd-help syntax to scope --help messages. See #2148 (@victor-gp)
- Slightly adjust Zig syntax. See #2136 (@Enselic)
- Associate
.inffiles with theINIsyntax. See #2190 (@Enselic)
bat as a library
- Allow configuration of
show_nonprintablewithPrettyPrinter, see #2142 - The binary format of syntaxes.bin has been changed due to syntaxes now being lazy-loaded via syntect 5.0.0. See #2181 (@Enselic)
- Mark
bat::error::Errorenum as#[non_exhaustive]to allow adding new variants without future semver breakage. See #2181 (@Enselic) - Change
Error::SyntectError(syntect::LoadingError)toError::SyntectError(syntect::Error). See #2181 (@Enselic) - Add
Error::SyntectLoadingError(syntect::LoadingError)enum variant. See #2181 (@Enselic)
Assets 19
39 people reacted
v0.20.0
Features
- New style component
header-filesizeto show size of the displayed file in the header. See #1988 (@mdibaiee) - Use underline for line highlighting on ANSI, see #1730 (@mdibaiee)
Bugfixes
- Fix bash completion on bash 3.x and bash-completion 1.x. See #2066 (@joshpencheon)
Syntaxes
GraphQL: Add support for interfaces implementing interfaces and consider ampersand an operator. See #2000- Associate
_vimrcand_gvimrcfiles with theVimLsyntax. See #2002 - Associate
poetry.lockfiles with theTOMLsyntax. See #2049 - Associate
.mesh,.task,.rgen,.rint,.rahit,.rchit,.rmiss, and.rcallwith theGLSLsyntax. See #2050 - Added support for
JQsyntax, see #2072 (@clarfonthey) - Properly associate global git config files rooted in
$XDG_CONFIG_HOME/git/or$HOME/.config/git/. See #2067 (@cyqsimon)
bat as a library
- Exposed
get_syntax_setandget_thememethods onHighlightingAssets. See #2030 (@dandavison) - Added
HeaderFilenameandHeaderFilesizetoStyleComponentenum, and mark it#[non_exhaustive]. See #1988 (@mdibaiee)
Assets 19
27 people reacted
v0.19.0
Performance
- Reduce startup time in loop-through mode (e.g. when redirecting output) by 90%. See #1747 (@Enselic)
- Load themes lazily to make bat start 25% faster when disregarding syntax load time. See #1969 (@Enselic)
- Python syntax highlighting no longer suffers from abysmal performance in specific scenarios. See #1688 (@keith-hall)
- Fix for poor performance when ANSI escape sequences are piped to
bat, see #1596 (@eth-p) - Fix for incorrect handling of ANSI escape sequences when using
--wrap=never, see #1596 (@eth-p) - Load custom assets as fast as integrated assets, see #1753 (@Enselic)
Features
- Support for
x:-delta(minus) syntax in line ranges (e.g.20:-10). See #1901 (@bojan88) - Support for
--ignored-suffixargument. See #1892 (@bojan88) $BAT_CONFIG_DIRis now a recognized environment variable. It has precedence over$XDG_CONFIG_HOME, see #1727 (@billrisher)- Support for
x:+deltasyntax in line ranges (e.g.20:+10). See #1810 (@bojan88) - Add new
--acknowledgementsoption that gives credit to theme and syntax definition authors. See #1971 (@Enselic) - Include git hash in
bat -Vandbat --versionoutput if present. See #1921 (@Enselic)
Bugfixes
- First line not shown in diff context. See #1891 (@divagant-martian)
- Do not ignore syntaxes that handle file names with a
*.confextension. See #1703 (@cbolgiano)
Other
- Add PowerShell completion, see #1826 (@rashil2000)
- Minimum supported Rust version (MSRV) bumped to 1.51, see #1994 (@mdibaiee)
Syntaxes
- Groff, see #1685 (@scop)
- HTTP Requests and Responses, see #1748 (@keith-hall)
- LLVM, see #1777 (@ioncodes)
- Highlight for
vimrcandgvimrcfiles, see #1763 (@SuperSandro2000) - Syslog highlighting improvements, see #1793 (@scop)
- Added support for
slimsyntax, see #1693 (@mfinelli) - Racket, see #1884 (@jubnzv)
- LiveScript, see #1915 (@Enselic)
- MediaWiki, see #1925 (@sorairolake)
- The
requirements.txtsyntax has been removed due to incompatible license requirements. - Dart, new highlighter, see #1959 (@Ersikan)
- SCSS and Sass syntaxes updated, see #1766 (@Enselic)
- PowerShell syntax updated, see #1935 (@Enselic)
- TypeScript syntax updated, see #1834 (@Enselic)
bat as a library
- Deprecate
HighlightingAssets::syntaxes()andHighlightingAssets::syntax_for_file_name(). UseHighlightingAssets::get_syntaxes()andHighlightingAssets::get_syntax_for_path()instead. They return aResultwhich is needed for upcoming lazy-loading work to improve startup performance. They also return whichSyntaxSetthe returnedSyntaxReferencebelongs to. See #1747, #1755, #1776, #1862 (@Enselic) - Remove
HighlightingAssets::from_filesandHighlightingAssets::save_to_cache. Instead of calling the former and then the latter you now make a single call tobat::assets::build. See #1802, #1971 (@Enselic) - Replace the
error::Error(error::ErrorKind, _)struct and enum with anerror::Errorenum.Error(ErrorKind::UnknownSyntax, _)becomesError::UnknownSyntax, etc. Also remove theerror::ResultExttrait. These changes stem from replacingerror-chainwiththiserror. See #1820 (@Enselic) - Add new
MappingTargetenum variantMapExtensionToUnknown. Refer to its documentation for more information. Also markMappingTargetas#[non_exhaustive]since more enum variants might be added in the future. See #1703 (@cbolgiano), #2012 (@Enselic)
Assets 19
30 people reacted
Previous Next
You canβt perform that action at this time.