182cdbdbf2
- Update to version 0.26.1 Features * Add paging to '-h' and '--help'. Bugfixes * Fix hang when using --list-themes with an explicit pager. * Fix negative values of N not being parsed in <N:M> line ranges without = flag value separator. * Fix broken Docker syntax preventing use of custom assets. * 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 cat compatibility. * Fix diagnostics attempting to find the version of an executable named builtin when builtin pager is used. * --help now correctly reads the config file for theme information etc. Other * Improve README documentation on pager options passed to less. * Make PowerShell completions compatible with PowerShell v5.1. * Use more robust approach to escaping in Bash completions. Syntaxes * Update quadlet syntax mapping to include *.{build,pod} files. * Fix inconsistencies in Ada syntax. * Add syntax mapping for podman's artifact quadlet files. * Highlight Korn Shell scripts (i.e. with a shebang of ...ksh) using Bash syntax.
Michael Vetter2025-12-08 09:33:21 +00:00
3341e8b89d
Accepting request 1312423 from utilities
Ana Guerrero2025-10-21 09:16:13 +00:00
aaff2fe57f
- update to 0.26.0 * Features * 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=builtin see PR #3402 (@academician) * Bugfixes * Fix UTF-8 BOM not being stripped for syntax detection, see #3314 (@krikera) * Fix BAT_THEME_DARK and BAT_THEME_LIGHT being ignored, see issue #3171 and PR #3168 (@bash) * Prevent --list-themes from 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=changes no 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 bat from 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-languages parameter #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)
Ondřej Súkup2025-10-20 13:28:42 +00:00
bd356a4a12
Accepting request 1235801 from utilities
Ana Guerrero2025-01-09 14:07:32 +00:00
4d0bdf1304
- Update to 0.25.0: Features: * Set terminal title to file names when Paging is not Paging::Never #2807 * bat --squeeze-blank/bat -s will now squeeze consecutive empty lines, see #1441 and #2665 * bat --squeeze-limit to set the maximum number of empty consecutive when using --squeeze-blank, see #1441#2665 * PrettyPrinter::squeeze_empty_lines to support line squeezing for bat as a library, see #1441#2665 * Syntax highlighting for JavaScript files that start with #!/usr/bin/env bun #2913 * bat --strip-ansi={never,always,auto} to remove ANSI escape sequences from bat's input, see #2999 * Add or remove individual style components without replacing all styles #2929 * Automatically choose theme based on the terminal's color scheme, see #2896 * Add option --binary=as-text for printing binary content, see issue #2974 and PR #2976 * Make shell completions available via --completion <shell>, see issue #2057 and PR #3126 * Syntax highlighting for puppet code blocks within Markdown files, see #3152 Bugfixes: * Fix long file name wrapping in header, see #2835 * Fix NO_COLOR support, see #2767 * Fix handling of inputs with OSC ANSI escape sequences, see #2541 and #2544 * Fix handling of inputs with combined ANSI color and attribute sequences, see #2185 and #2856 * Fix panel width when line 10000 wraps, see #2854 * Fix compile issue of time dependency caused by standard library regression #3045 * Fix override behavior of --plain and --paging, see issue #2731 and PR #3108 * Fix bugs in $LESSOPEN support, see #2805 Other: * Upgrade to Rust 2021 edition #2748 * Refactor and cleanup build script #2756 * Checks changelog has been written to for PRs in CI #2766 + Use GitHub API to get correct PR submitter #2791 * Minor benchmark script improvements #2768 * Update Arch Linux package URL in README files #2779 * Update and improve zsh completion, see #2772Michael Vetter2025-01-08 07:22:39 +00:00
d581699375
- Update vendored dependencies to fix build failures on newer rust versions - Remove cargo_config since it is now included in vendor.tar.xz by the obs service
Michael Vetter2024-11-25 08:22:08 +00:00
8a9933c614
Accepting request 1123215 from utilities
Ana Guerrero2023-11-03 21:21:01 +00:00
8e9bda43ca
Accepting request 1123182 from home:smolsheep:upgrades
Michael Vetter2023-11-03 11:04:22 +00:00
eef51771e3
- Update to 0.23.0: Features: * Implemented -S and --chop-long-lines flags as aliases for --wrap=never. See #2309 * Breaking change: Environment variables can now override config file settings (but command-line arguments still have the highest precedence), see #1152, #1281, and #2381 * Implemented --nonprintable-notation=caret to support showing non-printable characters using caret notation. See #2429 Bugfixes: * Fix bat cache --clear not clearing the --target dir if specified. See #2393 Other: * Various bash completion improvements, see #2310 * Disable completion of cache subcommand, see #2399 * Signifigantly improve startup performance on macOS, see #2442 * Bump MSRV to 1.62, see #2496 Syntaxes: * Added support for Ada, see #1300 and #2316 * Added todo.txt syntax, see #2375 * Improve Manpage.sublime-syntax. See #2364 and #2461 * Added a new requirements.txt syntax, see #2361 * Added a new VimHelp syntax, see #2366 * Associate pdm.lock with TOML syntax, see #2410 * Todo.txt: Fix highlighting of contexts and projects at beginning of done.txt, see #2411 * cmd-help: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 * Added support for Crontab, see #2509Michael Vetter2023-03-25 23:00:03 +00:00