Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bat for openSUSE:Factory checked in 
at 2026-11-30 14:27:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bat (Old)
 and      /work/SRC/openSUSE:Factory/.bat.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bat"

Mon Nov 30 14:27:53 2026 rev:27 rq:1401550 version:0.27.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bat/bat.changes  2026-07-31 16:06:04.585859071 
+0200
+++ /work/SRC/openSUSE:Factory/.bat.new.1340718/bat.changes     2026-11-30 
14:31:12.912105473 +0100
@@ -1,0 +2,166 @@
+Sun Nov 29 08:18:38 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 0.27.0
+  Features
+  * Map .yamllint, .prettierrc and .eslintrc to YAML syntax
+    highlighting, see #4156.
+  * Map .clang-tidy to YAML syntax highlighting, see #4150.
+  * Automatically build the syntax/theme cache on first run when
+    custom themes or syntaxes are present but no cache exists yet,
+    so newly installed dotfiles work without a manual bat cache
+    --build. Use --no-custom-assets to opt out. Closes #4017.
+  * Add -b / --number-nonblank flag to only number non-blank
+    lines, for cat -b compatibility. Closes #3856
+  * Add a --sanitize=<auto|always|never> flag for safe display of
+    untrusted input. It substitutes terminal-active control bytes
+    (escape, cursor moves, charset switches, beep, etc.) and
+    Unicode bidi / zero-width formatting characters with the
+    Unicode replacement character (U+FFFD). Mitigates
+    Trojan-Source-style spoofing (CVE-2021-42574). See #3729.
+  * Map justfile, Justfile, .justfile, and *.justfile to Makefile
+    syntax highlighting, see #3623.
+  * Map .kube/config to YAML syntax highlighting, see #3911.
+  * Preserve --diff change markers and snip separators when --plain
+    is set. Closes #3630.
+  * Added support for hidden_file_extensions from .sublime-syntax
+    files, see #3613.
+  * Add word wrapping mode via --wrap=word, see #3597.
+  * Support configuring --terminal-width via BAT_WIDTH, see #3679.
+  * Implement --unbuffered mode for streaming input, allowing
+    partial lines to display immediately (e.g. tail -f | bat -u).
+  * Add --quiet-empty (-E) flag to suppress output when input is
+    empty. Closes #1936.
+  * Improve native man pages and command help syntax highlighting
+    by stripping overstriking, see #3517.
+  * Add --fallback-syntax/--fallback-language to apply syntax
+    highlighting only when auto-detection fails, see #1341.
+  * Map BUILD case sensitively to Python (Starlark) for Bazel,
+    see #3576.
+  * Syntax highlighting for Python files using uv as script runner
+    in shebang #3689.
+  Bugfixes
+  * Track reverse video (SGR 7 / 27) in the ANSI style tracker so
+    it is re-emitted like bold, dim, italic, and underline, and is
+    no longer dropped after the first wrapped line when displaying
+    ANSI input, see #4144.
+  * Preserve buffered stdin when $LESSOPEN temporary-file mode
+    falls back to the original input, and handle CRLF line endings
+    on returned temp paths, see #4158.
+  * Skip cache metadata validation when --no-custom-assets is set
+    so outdated or malformed caches do not block fallback to
+    integrated assets, see #4157.
+  * Only show style decorations with --decorations=auto when stdout
+    is interactive, so piped --color=always output no longer
+    includes the header, grid, or line numbers, see #4151.
+  * Break --wrap=word lines at whitespace in earlier highlighted
+    tokens or before ANSI escape sequences instead of in the middle
+    of a word, closes #4139.
+  * Fix bat cache --help returning exit code 1 instead of 0. Remove
+    .arg_required_else_help(true) from the cache subcommand and
+    show help when no arguments are provided. See #3798, #3831 and
+    #3837.
+  * Fix builtin pager (minus) not responding to search (/, ?, n, N)
+    and navigation (PgUp, PgDown, arrows, g, G) keys.
+    HashedEventRegister was overriding all default minus bindings
+    instead of extending them. Add generate_default_bindings()
+    before custom bindings. See #3831, #3798 and #3837.
+  * Build the cache automatically on first run when custom themes
+    or syntaxes are in subdirectories, see #4131.
+  * Do not run filter commands from the configuration of the Git
+    repository that contains the displayed file, see #4127.
+  * Ignore empty --ignored-suffix values to avoid a stack overflow,
+    see #4122.
+  * Fix --number-nonblank counting empty UTF-16 lines, see #4118.
+  * Fix automatic cache build progress polluting stdout, see #4130.
+  * Don't emit --highlight-line escape sequences (background color
+    or ansi theme underline) when colors are disabled with
+    --color=never. Closes #4099).
+  * Keep configuration and BAT_OPTS active for option-like
+    filenames after --, and report invalid configuration for
+    help-like filenames, see #4112.
+  * Keep emoji sequences together within text chunks when wrapping
+    content, and measure their combined display width, see #4108.
+  * Preserve full-path syntax mappings when removing ignored
+    filename suffixes, see #4111.
+  * Fix UTF-16 line splitting at unaligned newline bytes corrupting
+    text and shifting line ranges, see #4110.
+  * Respect NO_COLOR for the [bat error] and [bat warning]
+    prefixes, see #4048.
+  * Report BAT_CONFIG_DIR in bat --diagnostic, so bug reports show
+    a config directory that overrides $XDG_CONFIG_HOME. See #4068.
+  * Ignore a UTF-8 byte order mark at the start of the config file
+    instead of treating it as part of the first argument, see
+    #4103.
+  * Fix bat hanging forever on JavaScript (and Svelte) code where
+    an expression is followed by a block comment, e.g. a /* x */.
+    Closes #4080, see #4091.
+  * Fix the first line of UTF-16BE input swallowing the second
+    line, which broke line numbers, --line-range and highlighting,
+    see #4102.
+  * Exit quietly with status 0 instead of panicking when stdout is
+    closed early (broken pipe) on auxiliary output paths such as
+    --completion, --config-file, --diagnostic,
+    --generate-config-file, --set-terminal-title and cache
+    --build/--clear, matching the main output path since #232,
+    closes #4034, see #4035.
+  * Fix escape sequence handling in --strip-ansi and --sanitize.
+    --sanitize no longer removes escape sequences, which could hide
+    text, see #4024.
+  * Report unknown languages in plain piped output, see #4001.
+  * Track strikethrough (SGR 9 / 29) in the ANSI style tracker so
+    it is re-emitted like bold, dim, italic, and underline, and is
+    no longer dropped after the first highlighted token when
+    displaying ANSI input with syntax highlighting, see #4015.
+  * Allow boolean flags to be given more than once, so that a flag
+    set in the config file can also be passed on the command line
+    without erroring, see #3912.
+  * Allow options that take a value (--binary, --italic-text,
+    --nonprintable-notation, --fallback-syntax, --squeeze-limit) to
+    be given more than once, so that a value from the config file
+    can be overridden on the command line, see #4102.
+  * Use parsed CLI arguments to detect number flags, see #3908.
+  * Detect binary content beyond the first line, preventing
+    encrypted files with early line breaks from being treated as
+    text. Closes #3554, see #3877.
+  * Use the last occurrence of numbering and plain flags in
+    combined short arguments, see #3897.
+  * Avoid a spurious Cargo manifest error during installation from
+    Git, see #3899.
+  * Avoid repeated scans of long lines in Log syntax highlighting,x
+    see #3876.
+  * Fix --list-languages respecting --paging=never, see #3828.
+  * Fix --sanitize passing through the bidi control characters
+    U+200E, U+200F and U+061C, see #3862.
+  * --strip-ansi: also strip 8-bit C1 introducers (U+0090, U+0098,
+    U+009B, U+009D, U+009E, U+009F) and DCS/SOS/PM/APC sequence
+    bodies, which previously passed through. See #3729.
+  * Fix --ignored-suffix not falling back to first-line/shebang
+    detection when the ignored suffix is also a registered
+    extension (e.g. --ignored-suffix .txt on a shebang script),
+    see #2745 and #3816.
+  * Fix capacity overflow panic when printing a snip separator at
+    --terminal-width=1 with multiple line ranges. Closes #3803,
+    see #3804.
+  * Pass --no-paging to bat invocations inside the bash / zsh /
+    fish / PowerShell shell completion scripts so that shell-level
+    pager wiring (e.g. LESSOPEN='|-bat -f -pp %s') cannot inject
+    ANSI escape sequences into the completion candidates. Closes
+    #3760.
+  * Quote filenames before substituting them into $LESSOPEN /
+    $LESSCLOSE templates, preventing shell injection when a
+    filename contains shell metacharacters, see #3726.
+  * Fix --list-themes unconditionally probing the terminal via
+    OSC 10/11 even when --theme was set to an explicit value, see
+    #3700 (regression introduced in bc42149).
+  * Fix inverted $LESSCLOSE warning so bat warns on nonzero exit,
+    not on success. See #3654.
+  * Sanitize control characters in filenames before displaying them
+    in the file header, error messages, and the terminal title,
+    preventing ANSI escape injection via crafted filenames.
+    Closes #3054, see #3691.
+  * Report initial input read errors instead of treating them as
+    empty input. Closes #3002, see #3706.
+* Update patch:
+  * RPMSpec_support.patch
+
+-------------------------------------------------------------------

Old:
----
  bat-0.26.1.tar.gz

New:
----
  bat-0.27.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bat.spec ++++++
--- /var/tmp/diff_new_pack.s5jegh/_old  2026-11-30 14:31:21.896484615 +0100
+++ /var/tmp/diff_new_pack.s5jegh/_new  2026-11-30 14:31:21.897484657 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           bat
-Version:        0.26.1
+Version:        0.27.0
 Release:        0
 Summary:        A cat(1) clone with syntax highlighting and Git integration
 License:        Apache-2.0 OR MIT

++++++ RPMSpec_support.patch ++++++
--- /var/tmp/diff_new_pack.s5jegh/_old  2026-11-30 14:31:21.927485923 +0100
+++ /var/tmp/diff_new_pack.s5jegh/_new  2026-11-30 14:31:21.931486092 +0100
@@ -1,33 +1,8 @@
-From ebdaa5b51987fbef9f28e75b07e30520288c11da Mon Sep 17 00:00:00 2001
-From: DarkMatter-999 <[email protected]>
-Date: Thu, 9 Oct 2025 12:24:41 +0530
-Subject: [PATCH 1/3] feat: add RPMSpec syntax
-
----
- CHANGELOG.md                                    |    5 +
- assets/syntaxes/02_Extra/RPMSpec.sublime-syntax |   66 +++++++++++++++
- tests/syntax-tests/highlighted/RPMSpec/bat.spec |  104 
++++++++++++++++++++++++
- tests/syntax-tests/source/RPMSpec/bat.spec      |  104 
++++++++++++++++++++++++
- 4 files changed, 279 insertions(+)
- create mode 100644 assets/syntaxes/02_Extra/RPMSpec.sublime-syntax
-
-Index: bat-0.26.1/CHANGELOG.md
-===================================================================
---- bat-0.26.1.orig/CHANGELOG.md       2025-12-02 21:44:14.000000000 +0100
-+++ bat-0.26.1/CHANGELOG.md    2026-07-07 22:48:56.861558656 +0200
-@@ -1,3 +1,8 @@
-+# Devel
-+
-+## Features
-+- Add syntax definition and test file for RPM Spec(`*.spec`) highlighting, 
see #3431 (@DarkMatter-999)
-+
- # v0.26.1
- 
- ## Features
-Index: bat-0.26.1/assets/syntaxes/02_Extra/RPMSpec.sublime-syntax
-===================================================================
---- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ bat-0.26.1/assets/syntaxes/02_Extra/RPMSpec.sublime-syntax 2026-07-07 
22:48:11.523296154 +0200
+diff --git a/assets/syntaxes/02_Extra/RPMSpec.sublime-syntax 
b/assets/syntaxes/02_Extra/RPMSpec.sublime-syntax
+new file mode 100644
+index 0000000..7e97f4f
+--- /dev/null
++++ b/assets/syntaxes/02_Extra/RPMSpec.sublime-syntax
 @@ -0,0 +1,66 @@
 +%YAML 1.2
 +---
@@ -95,10 +70,11 @@
 +  archs:
 +    - match: 
\b(i386|i486|i586|i686|athlon|ia64|alpha|alphaev5|alphaev56|alphapca56|alphaev6|alphaev67|sparc|sparcv9|sparc64armv3l|armv4b|armv4lm|ips|mipsel|ppc|ppc|iseries|ppcpseries|ppc64|m68k|m68kmint|Sgi|rs6000|i370|s390x|s390|noarch)\b
 +      scope: constant.other
-Index: bat-0.26.1/tests/syntax-tests/highlighted/RPMSpec/bat.spec
-===================================================================
---- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ bat-0.26.1/tests/syntax-tests/highlighted/RPMSpec/bat.spec 2026-07-07 
22:48:11.523727528 +0200
+diff --git a/tests/syntax-tests/highlighted/RPMSpec/bat.spec 
b/tests/syntax-tests/highlighted/RPMSpec/bat.spec
+new file mode 100644
+index 0000000..f6be66b
+--- /dev/null
++++ b/tests/syntax-tests/highlighted/RPMSpec/bat.spec
 @@ -0,0 +1,104 @@
 +#
 +# spec file for package bat
@@ -204,10 +180,11 @@
 
+%{_datadir}/zsh/site-functions/_%{name}
 +
 +%changelog
-Index: bat-0.26.1/tests/syntax-tests/source/RPMSpec/bat.spec
-===================================================================
---- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ bat-0.26.1/tests/syntax-tests/source/RPMSpec/bat.spec      2026-07-07 
22:48:11.524749125 +0200
+diff --git a/tests/syntax-tests/source/RPMSpec/bat.spec 
b/tests/syntax-tests/source/RPMSpec/bat.spec
+new file mode 100644
+index 0000000..a4e4e4a
+--- /dev/null
++++ b/tests/syntax-tests/source/RPMSpec/bat.spec
 @@ -0,0 +1,104 @@
 +#
 +# spec file for package bat

++++++ bat-0.26.1.tar.gz -> bat-0.27.0.tar.gz ++++++
++++ 17628 lines of diff (skipped)

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/bat/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.bat.new.1340718/vendor.tar.zst differ: char 7, line 
1

Reply via email to