Skip to content

ripgrep 12.1.0

ripgrep 12.1.0 is a small minor version release that mostly includes bug fixes and documentation improvements. This release also contains some important notices for downstream packagers.

In case you haven't heard of it before, ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern. By default, ripgrep will respect your .gitignore and automatically skip hidden files/directories and binary files.

Notices for downstream ripgrep package maintainers:

  • Fish shell completions will be removed in the ripgrep 13 release. See #1577 for more details.
  • ripgrep has switched from a2x to asciidoctor to generate the man page. If asciidoctor is not present, then ripgrep will currently fall back to a2x. Support for a2x will be dropped in the ripgrep 13 release. See #1544 for more details.

Feature enhancements:

Bug fixes:

  • BUG #1252: Add a section on the --pre flag to the GUIDE.
  • BUG #1339: Improve error message when a pattern with invalid UTF-8 is provided.
  • BUG #1524: Note how to escape a $ when using --replace.
  • BUG #1537: Fix match bug caused by inner literal optimization.
  • BUG #1544: ripgrep now uses asciidoctor instead of a2x to generate its man page.
  • BUG #1550: Substantially reduce peak memory usage when searching wide directories.
  • BUG #1571: Add note about configuration files in --type-{add,clear} docs.
  • BUG #1573: Fix incorrect --count-matches output when using look-around.