Skip to content

Commit d4d1cf6

Browse files
committed
textproc/ripgrep: update to 15.0.0
15.0.0 (2025-10-15) =================== ripgrep 15 is a new major version release of ripgrep that mostly has bug fixes, some minor performance improvements and minor new features. Here are some highlights: * Several bugs around gitignore matching have been fixed. This includes a commonly reported bug related to applying gitignore rules from parent directories. * A memory usage regression when handling very large gitignore files has been fixed. * `rg -vf file`, where `file` is empty, now matches everything. * The `-r/--replace` flag now works with `--json`. * A subset of Jujutsu (`jj`) repositories are now treated as if they were git repositories. That is, ripgrep will respect `jj`'s gitignores. * Globs can now use nested curly braces. Platform support: * `aarch64` for Windows now has release artifacts. * `powerpc64` no longer has release artifacts generated for it. The CI release workflow stopped working, and I didn't deem it worth my time to debug it. If someone wants this and can test it, I'd be happy to add it back. * ripgrep binaries are now compiled with full LTO enabled. You may notice small performance improvements from this and a modest decrease in binary size. Performance improvements: * [PERF #2111](BurntSushi/ripgrep#2111): Don't resolve helper binaries on Windows when `-z/--search-zip` isn't used. * [PERF #2865](BurntSushi/ripgrep#2865): Avoid using path canonicalization on Windows when emitting hyperlinks. * [PERF #3184](BurntSushi/ripgrep#3184): Improve performance of large values with `-A/--after-context`. Bug fixes: * [BUG #829](BurntSushi/ripgrep#829), [BUG #2731](BurntSushi/ripgrep#2731), [BUG #2747](BurntSushi/ripgrep#2747), [BUG #2770](BurntSushi/ripgrep#2770), [BUG #2778](BurntSushi/ripgrep#2778), [BUG #2836](BurntSushi/ripgrep#2836), [BUG #2933](BurntSushi/ripgrep#2933), [BUG #3067](BurntSushi/ripgrep#3067): Fix bug related to gitignores from parent directories. * [BUG #1332](BurntSushi/ripgrep#1332), [BUG #3001](BurntSushi/ripgrep#3001): Make `rg -vf file` where `file` is empty match everything. * [BUG #2177](BurntSushi/ripgrep#2177): Ignore a UTF-8 BOM marker at the start of `.gitignore` (and similar files). * [BUG #2750](BurntSushi/ripgrep#2750): Fix memory usage regression for some truly large gitignore files. * [BUG #2944](BurntSushi/ripgrep#2944): Fix a bug where the "bytes searched" in `--stats` output could be incorrect. * [BUG #2990](BurntSushi/ripgrep#2990): Fix a bug where ripgrep would mishandle globs that ended with a `.`. * [BUG #2094](BurntSushi/ripgrep#2094), [BUG #3076](BurntSushi/ripgrep#3076): Fix bug with `-m/--max-count` and `-U/--multiline` showing too many matches. * [BUG #3100](BurntSushi/ripgrep#3100): Preserve line terminators when using `-r/--replace` flag. * [BUG #3108](BurntSushi/ripgrep#3108): Fix a bug where `-q --files-without-match` inverted the exit code. * [BUG #3131](BurntSushi/ripgrep#3131): Document inconsistency between `-c/--count` and `--files-with-matches`. * [BUG #3135](BurntSushi/ripgrep#3135): Fix rare panic for some classes of large regexes on large haystacks. * [BUG #3140](BurntSushi/ripgrep#3140): Ensure hyphens in flag names are escaped in the roff text for the man page. * [BUG #3155](BurntSushi/ripgrep#3155): Statically compile PCRE2 into macOS release artifacts on `aarch64`. * [BUG #3173](BurntSushi/ripgrep#3173): Fix ancestor ignore filter bug when searching whitelisted hidden files. * [BUG #3178](BurntSushi/ripgrep#3178): Fix bug causing incorrect summary statistics with `--json` flag. * [BUG #3179](BurntSushi/ripgrep#3179): Fix gitignore bug when searching absolute paths with global gitignores. * [BUG #3180](BurntSushi/ripgrep#3180): Fix a panicking bug when using `-U/--multiline` and `-r/--replace`. Feature enhancements: * Many enhancements to the default set of file types available for filtering. * [FEATURE #1872](BurntSushi/ripgrep#1872): Make `-r/--replace` work with `--json`. * [FEATURE #2708](BurntSushi/ripgrep#2708): Completions for the fish shell take ripgrep's config file into account. * [FEATURE #2841](BurntSushi/ripgrep#2841): Add `italic` to the list of available style attributes in `--color`. * [FEATURE #2842](BurntSushi/ripgrep#2842): Directories containing `.jj` are now treated as git repositories. * [FEATURE #2849](BurntSushi/ripgrep#2849): When using multithreading, schedule files to search in order given on CLI. * [FEATURE #2943](BurntSushi/ripgrep#2943): Add `aarch64` release artifacts for Windows. * [FEATURE #3024](BurntSushi/ripgrep#3024): Add `highlight` color type, for styling non-matching text in a matching line. * [FEATURE #3048](BurntSushi/ripgrep#3048): Globs in ripgrep (and the `globset` crate) now support nested alternates. * [FEATURE #3096](BurntSushi/ripgrep#3096): Improve completions for `--hyperlink-format` in bash and fish. * [FEATURE #3102](BurntSushi/ripgrep#3102): Improve completions for `--hyperlink-format` in zsh.
1 parent 2b4e281 commit d4d1cf6

3 files changed

Lines changed: 184 additions & 184 deletions

File tree

‎textproc/ripgrep/Makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# $NetBSD: Makefile,v 1.25 2025/04/04 20:06:25 pin Exp $
1+
# $NetBSD: Makefile,v 1.26 2025/10/16 10:49:03 pin Exp $
22

3-
DISTNAME= ripgrep-14.1.1
4-
PKGREVISION= 1
3+
DISTNAME= ripgrep-15.0.0
54
CATEGORIES= textproc
65
MASTER_SITES= ${MASTER_SITE_GITHUB:=BurntSushi/}
76

@@ -12,6 +11,7 @@ LICENSE= unlicense
1211

1312
.include "cargo-depends.mk"
1413

14+
RUST_REQ= 1.85.0
1515
USE_TOOLS+= pkg-config
1616

1717
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pcre2}/lib

‎textproc/ripgrep/cargo-depends.mk‎

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
# $NetBSD: cargo-depends.mk,v 1.5 2024/09/11 07:00:54 pin Exp $
1+
# $NetBSD: cargo-depends.mk,v 1.6 2025/10/16 10:49:03 pin Exp $
22

33
CARGO_CRATE_DEPENDS+= aho-corasick-1.1.3
4-
CARGO_CRATE_DEPENDS+= anyhow-1.0.87
5-
CARGO_CRATE_DEPENDS+= bstr-1.10.0
6-
CARGO_CRATE_DEPENDS+= cc-1.1.18
7-
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
8-
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.13
9-
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.5
4+
CARGO_CRATE_DEPENDS+= anyhow-1.0.100
5+
CARGO_CRATE_DEPENDS+= arbitrary-1.4.2
6+
CARGO_CRATE_DEPENDS+= bstr-1.12.0
7+
CARGO_CRATE_DEPENDS+= cc-1.2.41
8+
CARGO_CRATE_DEPENDS+= cfg-if-1.0.4
9+
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.15
10+
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.6
1011
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.18
11-
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.20
12-
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.34
12+
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.21
13+
CARGO_CRATE_DEPENDS+= derive_arbitrary-1.4.2
14+
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.35
1315
CARGO_CRATE_DEPENDS+= encoding_rs_io-0.1.7
14-
CARGO_CRATE_DEPENDS+= glob-0.3.1
15-
CARGO_CRATE_DEPENDS+= itoa-1.0.11
16-
CARGO_CRATE_DEPENDS+= jemalloc-sys-0.5.4+5.3.0-patched
17-
CARGO_CRATE_DEPENDS+= jemallocator-0.5.4
18-
CARGO_CRATE_DEPENDS+= jobserver-0.1.32
19-
CARGO_CRATE_DEPENDS+= lexopt-0.3.0
20-
CARGO_CRATE_DEPENDS+= libc-0.2.158
21-
CARGO_CRATE_DEPENDS+= log-0.4.22
22-
CARGO_CRATE_DEPENDS+= memchr-2.7.4
23-
CARGO_CRATE_DEPENDS+= memmap2-0.9.4
24-
CARGO_CRATE_DEPENDS+= pcre2-0.2.9
25-
CARGO_CRATE_DEPENDS+= pcre2-sys-0.2.9
26-
CARGO_CRATE_DEPENDS+= pkg-config-0.3.30
27-
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.86
28-
CARGO_CRATE_DEPENDS+= quote-1.0.37
29-
CARGO_CRATE_DEPENDS+= regex-1.10.6
30-
CARGO_CRATE_DEPENDS+= regex-automata-0.4.7
31-
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.4
32-
CARGO_CRATE_DEPENDS+= ryu-1.0.18
16+
CARGO_CRATE_DEPENDS+= find-msvc-tools-0.1.4
17+
CARGO_CRATE_DEPENDS+= getrandom-0.3.4
18+
CARGO_CRATE_DEPENDS+= glob-0.3.3
19+
CARGO_CRATE_DEPENDS+= itoa-1.0.15
20+
CARGO_CRATE_DEPENDS+= jobserver-0.1.34
21+
CARGO_CRATE_DEPENDS+= lexopt-0.3.1
22+
CARGO_CRATE_DEPENDS+= libc-0.2.177
23+
CARGO_CRATE_DEPENDS+= log-0.4.28
24+
CARGO_CRATE_DEPENDS+= memchr-2.7.6
25+
CARGO_CRATE_DEPENDS+= memmap2-0.9.8
26+
CARGO_CRATE_DEPENDS+= pcre2-0.2.11
27+
CARGO_CRATE_DEPENDS+= pcre2-sys-0.2.10
28+
CARGO_CRATE_DEPENDS+= pkg-config-0.3.32
29+
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.101
30+
CARGO_CRATE_DEPENDS+= quote-1.0.41
31+
CARGO_CRATE_DEPENDS+= r-efi-5.3.0
32+
CARGO_CRATE_DEPENDS+= regex-1.12.2
33+
CARGO_CRATE_DEPENDS+= regex-automata-0.4.13
34+
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.8
35+
CARGO_CRATE_DEPENDS+= ryu-1.0.20
3336
CARGO_CRATE_DEPENDS+= same-file-1.0.6
34-
CARGO_CRATE_DEPENDS+= serde-1.0.210
35-
CARGO_CRATE_DEPENDS+= serde_derive-1.0.210
36-
CARGO_CRATE_DEPENDS+= serde_json-1.0.128
37+
CARGO_CRATE_DEPENDS+= serde-1.0.228
38+
CARGO_CRATE_DEPENDS+= serde_core-1.0.228
39+
CARGO_CRATE_DEPENDS+= serde_derive-1.0.228
40+
CARGO_CRATE_DEPENDS+= serde_json-1.0.145
3741
CARGO_CRATE_DEPENDS+= shlex-1.3.0
38-
CARGO_CRATE_DEPENDS+= syn-2.0.77
42+
CARGO_CRATE_DEPENDS+= syn-2.0.106
3943
CARGO_CRATE_DEPENDS+= termcolor-1.4.1
40-
CARGO_CRATE_DEPENDS+= textwrap-0.16.1
41-
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.12
44+
CARGO_CRATE_DEPENDS+= textwrap-0.16.2
45+
CARGO_CRATE_DEPENDS+= tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
46+
CARGO_CRATE_DEPENDS+= tikv-jemallocator-0.6.0
47+
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.19
4248
CARGO_CRATE_DEPENDS+= walkdir-2.5.0
43-
CARGO_CRATE_DEPENDS+= winapi-util-0.1.9
44-
CARGO_CRATE_DEPENDS+= windows-sys-0.59.0
45-
CARGO_CRATE_DEPENDS+= windows-targets-0.52.6
46-
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.52.6
47-
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.52.6
48-
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.52.6
49-
CARGO_CRATE_DEPENDS+= windows_i686_gnullvm-0.52.6
50-
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.52.6
51-
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.52.6
52-
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.52.6
53-
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.52.6
49+
CARGO_CRATE_DEPENDS+= wasip2-1.0.1+wasi-0.2.4
50+
CARGO_CRATE_DEPENDS+= winapi-util-0.1.11
51+
CARGO_CRATE_DEPENDS+= windows-link-0.2.1
52+
CARGO_CRATE_DEPENDS+= windows-sys-0.61.2
53+
CARGO_CRATE_DEPENDS+= wit-bindgen-0.46.0

0 commit comments

Comments
 (0)