ripgrep v12.1.1 Release Notes

Release Date: 2020-05-29 // 2 months ago
  • 🚀 ripgrep 12.1.1 is a patch release that fixes a couple small bugs. In
    🚀 particular, the ripgrep 12.1.0 release did not tag new releases for all of its
    in-tree dependencies. As a result, ripgrep built dependencies from crates.io
    🏗 would produce a different build than compiling ripgrep from source on the
    🚀 12.1.0 tag. Namely, some crates like grep-cli had unreleased changes.

    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.
    0️⃣ By default, ripgrep will respect your gitignore rules and automatically skip
    hidden files/directories and binary files.

    🐛 Bug fixes:

    • BUG #1581:
      Corrects some egregious markup output in --help.
    • BUG #1591:
      📄 Mention the special $0 capture group in docs for the -r/--replace flag.
    • BUG #1602:
      🛠 Fix failing test resulting from out-of-sync dependencies.

Previous changes from v12.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
    0️⃣ 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:

    • FEATURE #1547:
      👌 Support decompressing .Z files via uncompress.

    🐛 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.