Update dependency BurntSushi/ripgrep to v15 #1336
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
14.1.0→15.1.0Release Notes
BurntSushi/ripgrep (BurntSushi/ripgrep)
v15.1.0Compare Source
======
This is a small release that fixes a bug with how ripgrep handles line
buffering. This might manifest as ripgrep printing output later than you
expect or not working correctly with
tail -f(even if you're using the--line-bufferedflag).Bug fixes:
Fix a regression with
--line-bufferedintroduced in ripgrep 15.0.0.Feature enhancements:
Add hyperlink alias for Cursor.
v15.0.0Compare Source
===================
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:
a commonly reported bug related to applying gitignore rules from parent
directories.
fixed.
rg -vf file, wherefileis empty, now matches everything.-r/--replaceflag now works with--json.jj) repositories are now treated as if they were gitrepositories. That is, ripgrep will respect
jj's gitignores.Platform support:
aarch64for Windows now has release artifacts.powerpc64no longer has release artifacts generated for it. The CIrelease 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.
small performance improvements from this and a modest decrease in binary
size.
Performance improvements:
Don't resolve helper binaries on Windows when
-z/--search-zipisn't used.Avoid using path canonicalization on Windows when emitting hyperlinks.
Bug fixes:
BUG #2731,
BUG #2747,
BUG #2770,
BUG #2778,
BUG #2836,
BUG #2933,
BUG #3067:
Fix bug related to gitignores from parent directories.
BUG #3001:
Make
rg -vf filewherefileis empty match everything.Ignore a UTF-8 BOM marker at the start of
.gitignore(and similar files).Fix memory usage regression for some truly large gitignore files.
Fix a bug where the "bytes searched" in
--statsoutput could be incorrect.Fix a bug where ripgrep would mishandle globs that ended with a
..BUG #3076:
Fix bug with
-m/--max-countand-U/--multilineshowing too many matches.Preserve line terminators when using
-r/--replaceflag.Fix a bug where
-q --files-without-matchinverted the exit code.Document inconsistency between
-c/--countand--files-with-matches.Fix rare panic for some classes of large regexes on large haystacks.
Ensure hyphens in flag names are escaped in the roff text for the man page.
Statically compile PCRE2 into macOS release artifacts on
aarch64.Fix ancestor ignore filter bug when searching whitelisted hidden files.
Fix bug causing incorrect summary statistics with
--jsonflag.Fix gitignore bug when searching absolute paths with global gitignores.
Fix a panicking bug when using
-U/--multilineand-r/--replace.Feature enhancements:
Make
-r/--replacework with--json.Completions for the fish shell take ripgrep's config file into account.
Add
italicto the list of available style attributes in--color.Directories containing
.jjare now treated as git repositories.When using multithreading, schedule files to search in order given on CLI.
Add
aarch64release artifacts for Windows.Add
highlightcolor type, for styling non-matching text in a matching line.Globs in ripgrep (and the
globsetcrate) now support nested alternates.Improve completions for
--hyperlink-formatin bash and fish.Improve completions for
--hyperlink-formatin zsh.v14.1.1Compare Source
===================
This is a minor release with a bug fix for a matching bug. In particular, a bug
was found that could cause ripgrep to ignore lines that should match. That is,
false negatives. It is difficult to characterize the specific set of regexes
in which this occurs as it requires multiple different optimization strategies
to collide and produce an incorrect result. But as one reported example, in
ripgrep, the regex
(?i:e.x|ex)does not matche-xwhen it should. (Thisbug is a result of an inner literal optimization performed in the
grep-regexcrate and not in the
regexcrate.)Bug fixes:
Fix bug where ripgrep could miss some matches that it should report.
Miscellaneous:
Remove ripgrep's
simd-accelfeature because it was frequently broken.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.