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:
13.0.0
->14.0.0
Release Notes
BurntSushi/ripgrep (ripgrep)
v14.1.1
Compare 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-x
when it should. (Thisbug is a result of an inner literal optimization performed in the
grep-regex
crate and not in the
regex
crate.)Bug fixes:
Fix bug where ripgrep could miss some matches that it should report.
Miscellaneous:
Remove ripgrep's
simd-accel
feature because it was frequently broken.v14.1.0
Compare Source
===================
This is a minor release with a few small new features and bug fixes. This
release contains a bug fix for unbounded memory growth while walking a
directory tree. This release also includes improvements to the completions for
the
fish
shell, and release binaries for several additional ARM targets.Bug fixes:
Fix unbounded memory growth in the
ignore
crate.Feature enhancements:
Improve completions for the
fish
shell.Add release binaries for
armv7-unknown-linux-gnueabihf
,armv7-unknown-linux-musleabihf
andarmv7-unknown-linux-musleabi
.v14.0.3
Compare Source
===================
This is a patch release with a bug fix for the
--sortr
flag.Bug fixes:
Fix
--sortr=path
. I left atodo!()
in the source. Oof.v14.0.2
Compare Source
===================
This is a patch release with a few small bug fixes.
Bug fixes:
Fix
deb
release sha256 sum file.Fix partial regression in the behavior of
--null-data --line-regexp
.Fix Fish shell completions.
Fix typo in documentation for
-i/--ignore-case
.v14.0.1
Compare Source
===================
This a patch release meant to fix
cargo install ripgrep
on Windows.Bug fixes:
Include
pkg/windows/Manifest.xml
in crate package.v14.0.0
Compare Source
===================
ripgrep 14 is a new major version release of ripgrep that has some new
features, performance improvements and a lot of bug fixes.
The headlining feature in this release is hyperlink support. In this release,
they are an opt-in feature but may change to an opt-out feature in the future.
To enable them, try passing
--hyperlink-format default
. If you use VS Code,then try passing
--hyperlink-format vscode
. Please report your experiencewith hyperlinks, positive or negative.
Another headlining development in this release is that it contains a rewrite
of its regex engine. You generally shouldn't notice any changes, except for
some searches may get faster. You can read more about the regex engine rewrite
on my blog. Please report your performance improvements or
regressions that you notice.
Finally, ripgrep switched the library it uses for argument parsing. Users
should not notice a difference in most cases (error messages have changed
somewhat), but flag overrides should generally be more consistent. For example,
things like
--no-ignore --ignore-vcs
work as one would expect (disables allfiltering related to ignore rules except for rules found in version control
systems such as
git
).BREAKING CHANGES:
rg -C1 -A2
used to be equivalent torg -A2
, but now it is equivalent torg -B1 -A2
. That is,-A
and-B
no longer completely override-C
.Instead, they only partially override
-C
.Build process changes:
with a new
--generate
flag. For example,rg --generate man
will write aman page in
roff
format on stdout. The release archives have not changed.asciidoc
orasciidoctor
has beendropped. Previously, it was used to produce ripgrep's man page. ripgrep now
owns this process itself by writing
roff
directly.Performance improvements:
Make some cases with inner literals faster.
Make most searches with
\b
look-arounds (among others) much faster.Parallel directory traversal now uses work stealing for faster searches.
Parallel directory traversal has some contention reduced.
Feature enhancements:
Gradle, GraphQL, Markdown, Prolog, Raku, TypeScript, USD, V
Add a new
--hyperlink-format
flag that turns file paths into hyperlinks.Improve documentation of ripgrep's behavior when stdout is a tty.
Provide binaries for Apple silicon.
Add new
--stop-on-nonmatch
flag.Flags are now categorized in
-h/--help
output and ripgrep's man page.An error is shown when searching for NUL bytes with binary detection enabled.
When
extra-verbose
mode is enabled in zsh, show extra file type info.Add instructions for installing ripgrep using
cargo binstall
.Added installation instructions for
winget
.Shell completions (and man page) can be created via
rg --generate
.The
--debug
flag now indicates whether stdin or./
is being searched.Make
-d
a short flag for--max-depth
.The
--version
output will now also contain PCRE2 availability information.Bug fixes:
Don't error when
-v/--invert-match
is used multiple times.Fix bug with
\b
assertion in the regex engine.Using
--no-ignore --ignore-vcs
now works as one would expect.Add note about error messages to
-z/--search-zip
documentation.Fix bug where sometimes short flags with values, e.g.,
-M 900
, would fail.Fix bug where some flags could not be repeated.
Fix bug when searching a sub-directory didn't have ignores applied correctly.
Fix bug when using
-w
with a regex that can match the empty string.Disable mmap searching in all non-64-bit environments.
Fix bug where ripgrep can panic when printing to stderr.
Clarify that
--pre
can accept any kind of path in the documentation.Improve docs for
-r/--replace
syntax.Fix bug where
--no-ignore-dot
would not ignore.rgignore
.Improve docs for
-r/--replace
flag.-A
and-B
now only each partially override-C
.Fix gitignore parsing bug where a trailing
\/
resulted in an error.Fix
--sort
flag for values other thanpath
.Add note in
--debug
logs when binary files are ignored.Improve docs to mention that
--stats
is always implied by--json
.Make
-p/--pretty
override flags like--no-line-number
.Improve global git config parsing of the
excludesFile
field.Clarify sorting semantics of
--sort=path
.Make
--trim
run before-M/--max-columns
takes effect.Add documentation about
.ignore
/.rgignore
files in parent directories.Fix bug when using inline regex flags with
-e/--regexp
.Improve docs for
--vimgrep
by mentioning footguns and some work-arounds.Fix incorrect default value in documentation for
--field-match-separator
.Make executable searching take
.com
into account on Windows.Fix bug in
-w/--word-regexp
that would result in incorrect match offsets.Fix a number of bugs with the
-w/--word-regexp
flag.Strip release binaries for macOS.
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.