Cập nhật
Phiên bản mới nhất của các app trong kho, kèm ghi chú phát hành từ nhà phát triển.
Phiên bản 0.10.0
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern while respecting your gitignore rules. ripgrep has first class support on Windows, macOS and Linux, with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.
This is a new minor version release of ripgrep that contains some major new
features, a huge number of bug fixes, and is the first release based on
libripgrep. The entirety of ripgrep's core search and printing code has been
rewritten and generalized so that anyone can make use of it.
Major new features include PCRE2 support, multi-line search and a JSON output
format.
BREAKING CHANGES:
-w/--word-regexp have changed slightly. They used\b(?:<your pattern>)\b, but now it's(?:^|\W)(?:<your pattern>)(?:$|\W). This matches the behavior of GNU grepFeature enhancements:
grep.-U/--multiline flag that permits matching over multiple lines.-P/--pcre2 flag that gives support for look-around and backreferences.--json flag that prints results in a JSON Lines format.--one-file-system flag to skip directories on different file systems.--sort and --sortr flag for more sorting. Deprecate --sort-files.--crlf flag to permit $ to work with carriage returns on Windows.--trim flag strips prefix whitespace from all lines printed.--null-data flag, which makes ripgrep use NUL as a line terminator.--passthru flag now works with the --replace flag.--line-buffered and --block-buffered for forcing a buffer strategy.--pre-glob for filtering files through the --pre flag.Bug fixes:
-w/--word-regexp flag now works more intuitively.--passthru flag should not impact process exit status.ignore crate where first path was always treated as a symlink.--version output.-f in zsh.Phiên bản 0.9.0
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a new minor version release of ripgrep that contains some minor new
features and a panoply of bug fixes.
Releases provided on Github for x86_64 will now work on all target CPUs, and
will also automatically take advantage of features found on modern CPUs (such
as AVX2) for additional optimizations.
This release increases the minimum supported Rust version from 1.20.0 to
1.23.0.
It is anticipated that the next release of ripgrep (0.10.0) will provide
multi-line search support and a JSON output format.
BREAKING CHANGES:
--count and --only-matching are provided simultaneously, the--count-matches flag was given. That is,\1 as syntax for matching U+0001, but ripgrep will now report an--line-number-width flag has been removed. Its functionality was notFeature enhancements:
--stats flag, which emits aggregate statistics after search results.--no-ignore-messages flag, which suppresses parse errors from reading.ignore and .gitignore files.\u{..} Unicode escape sequences.-b/--byte-offset flag that shows the byte offset of each matching line.--count-matches flag, which is like --count, but for each match.--no-column flag, which disables column numbers in the output.lz4 when using the -z/--search-zip flag.termcolor has moved to its own repository:--no-ignore-global, that permits disabling global--maxdepth to --max-depth for consistency. Keep --maxdepth for--pre option to filter inputs with an arbitrary program.Bug fixes:
\s*{.--line-number-width by removing it.-f/--file flag.-S/--smart-case detection once and for all.ENOMEM errors returned by mmap.grep crate to regex-syntax 0.6.0.--quiet --files-z/--search-zip is used.--path separator / in some Windows--no-fixed-strings flag to disable -F/--fixed-strings.ignore crate that prevented the use of explicit ignore$XDG_CONFIG_DIR/git/config for detecting core.excludesFile.Phiên bản 0.8.1
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a patch release of ripgrep that primarily fixes regressions introduced
in 0.8.0 (#820 and #824) in directory traversal on Windows. These regressions
do not impact non-Windows users.
Feature enhancements:
underline support to termcolor and ripgrep. See documentation on the--colors flag for details.Bug fixes:
--ignore-file flag.(rev ) if the revision wasn't available during the build.termcolor.ignore crate for custom ignore files. This had no impactrg --hidden . behaved differently from rg --hidden ./.Phiên bản 0.8.0
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a new minor version releae of ripgrep that satisfies several popular
feature requests (config files, search compressed files, true colors), fixes
many bugs and improves the quality of life for ripgrep maintainers. This
release also includes greatly improved documentation in the form of a
User Guide and a FAQ.
This release increases the minimum supported Rust version from 1.17 to
1.20.
BREAKING CHANGES:
Note that these are all very minor and unlikely to impact most users.
rg foo -s -i will perform a case sensitive search-s/--case-sensitive flag was defined to always take precedence-i/--ignore-case flag, regardless of position. In ripgrep 0.8.0rg foo -s -i now performs a-M/--max-columns flag was tweaked so that specifying a value of 0[^...] is now equivalent to [!...] (indicating class^ had no special significance in a character class.doc which containscompleteFeature enhancements:
-z/--search-zip flag.--line-number-width flag..rgignore files. (A higher precedent, application specific.ignore.)-F/--fixed-strings flag on a regex syntax error.--passthru flag that causes ripgrep to print every line it reads.--no-text).Bug fixes:
!**/ in .gitignore.[^...] glob syntax (as identical to [!...]).--smart-case uppercase character detection.\x1B[0m instead of \x1B[m.yarn.lock from YAML file type./sys/devices/system/cpu/vulnerabilities/* files./.--max-columns=0 now disables the limit.--files-without-match.Maintenance fixes:
env_logger in favor of simpler logger to avoid many new dependencies.unsafe in globset. 🎉compile script.Friends of ripgrep:
I'd like to extend my gratitude to
@balajisivaraman
for their recent hard work in a number of areas, and in particular, for
implementing the "search compressed files" feature. Their work in sketching out
a specification for that and other work has been exemplary.
Thanks
@balajisivaraman!
Phiên bản 0.7.1
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a patch release of ripgrep that includes a fix to very bad regression
introduced in ripgrep 0.7.0.
Bug fixes:
Phiên bản 0.6.0
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a new minor version release of ripgrep that includes many bug fixes
and a few new features such as --iglob and -x/--line-regexp.
Note that this release increases the minimum supported Rust version from 1.12
to 1.17.
Feature enhancements:
--iglob flag that is like -g/--glob, but matches globs-x/--line-regexp flag, which requires a match to span an entire line.ignore: add new matched_path_or_any_parents method.Bug fixes:
strip'd by default. This decreases--quiet is passed, --files should be quiet.--vimgrep is passed, --with-filename should be enabled-o/--only-matchingwincolor: Re-fetch Windows console on all calls.--version now shows enabled compile-time features.encoding_rs when appropriate.-w/--word-regexp in the presence of capturing groups.Friends of ripgrep:
I'd like to give a big Thank You to @okdana for their recent hard work on
ripgrep. This includes new features like --line-regexp, heroic effort on
zsh auto-completion and thinking through some thorny argv issues with me.
I'd also like to thank @ericbn for their work on improving ripgrep's argv
parsing by allowing some flags to override others.
Thanks @okdana and @ericbn!
Phiên bản 0.5.2
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Feature enhancements:
--regex-size-limit and --dfa-size-limit flags.Bug fixes:
--help output.-o/--only-matching flag.Phiên bản 0.5.1
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Feature enhancements:
-o/--only-matching flag.-0 short flag option for --null.Bug fixes:
-h/--help output.Phiên bản 0.5.0
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a new minor version release of ripgrep that includes one minor breaking
change, bug fixes and several new features including support for text encodings
other than UTF-8.
A notable accomplishment with respect to Rust is that ripgrep proper now only
contains a single unsafe use (for accessing the contents of a memory map).
The breaking change is:
Feature enhancements:
-E/--encoding flag was also added for latin-1, GBK, EUC-JP-M/--max-columns flag that omits lines longer than the given--max-filesize, was added for limiting searches to files withBug fixes:
-u/--unrestricted flags are aliases.$HOME/.config/git/ignore and not$HOME/git/ignore.-g/--glob flag.{foo,bar,quux}) to regexes.-g/--glob flag.Phiên bản 0.4.0
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a new minor version release of ripgrep that includes a couple very
minor breaking changes, a few new features and lots of bug fixes.
This version of ripgrep upgrades its regex dependency from 0.1 to 0.2,
which includes a few minor syntax changes:
[:upper:] would parse as the upper POSIX character class. Now it parses:upper:. The fix to this[[:upper:]] instead. Note that variants like[[:upper:][:blank:]] continue to work.[ must always be escaped inside a character class.&, - and ~ must be escaped if any one of them are[&], [\&], [\&\&], [&-&] are all[&&] is illegal. (The motivation for this and the priorFeature enhancements:
--column flag now implies --line-number.--sort-files flag.--path-separator flag. Useful in cygwin.Bug fixes:
~ dependency on clap.globset crate docs.-q/--quiet was given.^C handling from ripgrep.-g/--glob clearer.memmap dependency in grep crate.-r/--replace.Phiên bản 0.3.2
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Feature enhancements:
Bug fixes:
rg foo and rg foo/ to have different behaviorfoo was a symlink.- couldn't be used with the-e/--regexp flag. (This resolves a regression that was introduced inPhiên bản 0.3.1
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Bug fixes:
--colors foo:none correctly. Now it does.Phiên bản 0.3.0
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
This is a new minor version release of ripgrep that includes two breaking
changes with lots of bug fixes and some new features and performance
improvements. Notably, if you had a problem with colors or piping on Windows
before, then that should now be fixed in this release.
BREAKING CHANGES:
-e/--regexp flag can no longer accept a pattern starting with a -.rg -- -foo and rg [-]foo or rg -e [-]foo-foo pattern. The cause of this was the movePerformance improvements:
Feature enhancements:
-f/--file flag that causes ripgrep to read patterns from a file.--colors flag that enables one to customize the colors used in--files-without-match flag that shows only file paths that containBug fixes:
TERM=screen.linux.--color=always willrg -h. The full help content can berg --help.--no-messages was used.Phiên bản 0.2.9
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Bản phát hành này không kèm ghi chú.
Phiên bản 0.2.8
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Bản phát hành này không kèm ghi chú.
Phiên bản 0.2.6
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Bản phát hành này không kèm ghi chú.
Phiên bản 0.2.5
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Bản phát hành này không kèm ghi chú.
Phiên bản 0.2.3
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Automatically deployed release
This is a new minor version release of ripgrep that includes mostly bug fixes.
ripgrep continues to require Rust 1.17, and there are no known breaking changes
introduced in this release.
Feature enhancements:
-o/--only-matching and -r/--replace does the right thing.Bug fixes:
-m/--max-count flag is used.-r/--replace and terminal colors.Phiên bản 0.1.18
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
Bản phát hành này không kèm ghi chú.