ripgrep v12.1.1 Release Notes

Release Date: 2020-05-29 // 11 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.