CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 19:00:42 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/"e12c9c6ea2b0e67ed237db238b10364e"
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 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 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 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; 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=J6JJYtJvi%2Ft2zLypb%2FjpITZle4ZaWv3jQHsl4xwvIXRyaQDwqO6Fx2%2BlA%2BypqcB7sQOB9Z1wZVIf4251BIoMx1SPxPxSHqrAcg8pBKMU5NJXI89W%2FKjTznZ2eQpIw%2F4TrOWYO9rkpqhgoA9A5XP3h0yk18LRKBwQnw2tXSyUMDCcROK307P3%2Boq4g%2F5wLGVQWv2zgBw4ncf4zdfZ%2BueBA7lH27yI4ok5QiIiZp0xyRZoS%2BSAWt7Yn%2F0dx0jWYJfiIzwZFEbvJolDGX5QP%2FRLBA%3D%3D--7RTNhF0%2FvVNh91rS--5lAEywBe82zb5UscaXkY6Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.859547609.1753383641; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 19:00:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 19:00:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AB38:43A2C:15FAE4:1A81CF:688282D9
Release v0.25.0 Β· sharkdp/bat Β· GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Compare
·
201 commits
to master
since this release
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 -s
will now squeeze consecutive empty lines, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)bat --squeeze-limit
to set the maximum number of empty consecutive when using--squeeze-blank
, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)PrettyPrinter::squeeze_empty_lines
to 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-text
for 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_COLOR
support, 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
time
dependency caused by standard library regression #3045 (@cyqsimon) - Fix override behavior of --plain and --paging, see issue #2731 and PR #3108 (@einfachIrgendwer0815)
- Fix bugs in
$LESSOPEN
support, 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
zsh
completion, 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
.xsh
files withxonsh
syntax that is Python, see #2840 (@anki-code) - Associate JSON with Comments
.jsonc
withjson
syntax, see #2795 (@mxaddict) - Associate JSON-LD
.jsonld
files withjson
syntax, see #3037 (@vorburger) - Associate
.textproto
files withProtoBuf
syntax, see #3038 (@vorburger) - Associate GeoJSON
.geojson
files withjson
syntax, 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
*.mkd
files toMarkdown
syntax, 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.lock
withTOML
syntax, 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_for
is now correctly public- [BREAKING]
SyntaxMapping::{empty,builtin}
are removed; useSyntaxMapping::new
instead - [BREAKING]
SyntaxMapping::mappings
is 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::theme
for choosing an appropriate theme based on the
terminal's color scheme, see #2896 (@bash)- [BREAKING] Remove
HighlightingAssets::default_theme
. Usetheme::default_theme
instead.
- [BREAKING] Remove
- Add
PrettyPrinter::print_with_writer
for custom output destinations, see #3070 (@kojix2)
Assets 23
77 people reacted
You canβt perform that action at this time.