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 8.0.1
Tự định dạng code JavaScript, TypeScript, CSS, Markdown… mỗi khi lưu file trong VS Code.
See CHANGE LOG for details.
Phiên bản 8.0.0
Tự định dạng code JavaScript, TypeScript, CSS, Markdown… mỗi khi lưu file trong VS Code.
See CHANGE LOG for details.
Phiên bản 7.1.0
Tự định dạng code JavaScript, TypeScript, CSS, Markdown… mỗi khi lưu file trong VS Code.
See CHANGE LOG for details.
Phiên bản 7.0.0
Tự định dạng code JavaScript, TypeScript, CSS, Markdown… mỗi khi lưu file trong VS Code.
See CHANGE LOG for details.
Phiên bản 13.0.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 13 is a new major version release of ripgrep that primarily contains
bug fixes, some performance improvements and a few minor breaking changes.
There is also a fix for a security vulnerability on Windows
(CVE-2021-3013).
In case you haven't heard of it before, ripgrep is a line-oriented search
tool that recursively searches the current directory for a regex pattern. By
default, ripgrep will respect gitignore rules and automatically skip hidden
files/directories and binary files.
Some highlights:
A new short flag, -., has been added. It is an alias for the --hidden flag,
which instructs ripgrep to search hidden files and directories.
ripgrep is now using a new
vectorized implementation of memmem,
which accelerates many common searches. If you notice any performance
regressions (or major improvements), I'd love to hear about them through an
issue report!
Also, for Windows users targeting MSVC, Cargo will now build fully static
executables of ripgrep. The release binaries for ripgrep 13 have been compiled
using this configuration.
BREAKING CHANGES:
Binary detection output has changed slightly.
In this release, a small tweak has been made to the output format when a binary
file is detected. Previously, it looked like this:
Binary file FOO matches (found "\0" byte around offset XXX)
Now it looks like this:
FOO: binary file matches (found "\0" byte around offset XXX)
vimgrep output in multi-line now only prints the first line for each match.
See issue 1866 for more
discussion on this. Previously, every line in a match was duplicated, even
when it spanned multiple lines. There are no changes to vimgrep output when
multi-line mode is disabled.
In multi-line mode, --count is now equivalent to --count-matches.
This appears to match how pcre2grep implements --count. Previously, ripgrep
would produce outright incorrect counts. Another alternative would be to simply
count the number of lines---even if it's more than the number of matches---but
that seems highly unintuitive.
FULL LIST OF FIXES AND IMPROVEMENTS:
Security fixes:
-z/--search-zip or --pre flags can result in running arbitraryPerformance improvements:
memmem.Feature enhancements:
-. as a short flag alias for --hidden.--field-{context,match}-separator for customizing field delimiters.Bug fixes:
\n didn't work as expected.-o/--only-matching.-m and -A printed more matches than the limit.-u/--unrestricted.-S/--smart-case works.foo/** would match foo, but it shouldn't.--crlf is used in some cases.{a,b,..}.--hidden flag works.--vimgrep mode.--passthru and -A/-B/-C did not override each other.--files-with-matches and --files-without-match.\A could produce unanchored matches in multiline search.--vimgrep is used with -U/--multiline.Phiên bản 12.1.1
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
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.
By default, ripgrep will respect your gitignore rules and automatically skip
hidden files/directories and binary files.
Bug fixes:
--help.$0 capture group in docs for the -r/--replace flag.Phiên bản 12.1.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 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:
a2x to asciidoctor to generate the man page.asciidoctor is not present, then ripgrep will currently fall back toa2x. Support for a2x will be dropped in the ripgrep 13 release.Feature enhancements:
.Z files via uncompress.Bug fixes:
--pre flag to the GUIDE.$ when using --replace.asciidoctor instead of a2x to generate its man page.--type-{add,clear} docs.--count-matches output when using look-around.Phiên bản 12.0.1
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
ripgrep 12.0.1 is a small patch release that includes a minor bug fix relating
to superfluous error messages when searching git repositories with sub-modules.
This was a regression introduced in the 12.0.0 release.
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.
Bug fixes:
Phiên bản 12.0.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 12 is a new major version release of ripgrep that contains many bug
fixes, several important performance improvements and a few minor new features.
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.
In a near future release, I am hoping to add an
indexing feature
to ripgrep, which will dramatically speed up searching by building an index.
Feedback would very much be appreciated, especially on the user experience
which will be difficult to get right.
This release has no known breaking changes.
Deprecations:
--no-pcre2-unicode flag is deprecated. Instead, use the --no-unicode--no-pcre2-unicode and --pcre2-unicode are aliases to --no-unicode--unicode, respectively. The --[no-]pcre2-unicode flags may be--auto-hybrid-regex flag is deprecated. Instead, use the new --engineauto value.Performance improvements:
+Sherlock Holmes + now has Sherlock Holmes extracted instead .-w/--word-regexp flag is used.-w/--word-regexp flag.Feature enhancements:
--include-zero flag that shows files searched without matches.--no-context-separator flag that always hides context separators.--no-require-git flag to allow ripgrep to respect gitignores anywhere.--no-ignore-exclude to disregard rules in .git/info/exclude files.--no-ignore-files flag to disable all --ignore-file flags.--no-unicode flag. This works on all supported regex engines.Bug fixes:
--type all.-g/--glob flag./usr/share/fish/vendor_completions.d/rg.fish.Phiên bản 11.0.2
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
ripgrep 11.0.2 is a new patch release that fixes a few bugs, including a
performance regression and a matching bug when using the -F/--fixed-strings
flag.
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.
Feature enhancements:
--glob-case-insensitive flag that makes --glob behave as --iglob.Bug fixes:
-f file was stripped if it wasn't a \n.\n with -P/--pcre2..ignore and .rgignore more prominently in the README.--with-filename was sometimes enabled incorrectly.x86_64-linux binary release.-F flag when patterns contain meta characters.Phiên bản 11.0.1
Tìm chuỗi trong cả thư mục cực nhanh từ dòng lệnh, tự bỏ qua file trong .gitignore.
ripgrep 11.0.1 is a new patch release that fixes a search regression introduced
in the previous 11.0.0 release. In particular, ripgrep can enter an infinite
loop for some search patterns when searching invalid UTF-8.
Bug fixes:
Phiên bản 11.0.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 11 is a new major version release of ripgrep that contains many bug
fixes, some performance improvements and a few feature enhancements. Notably,
ripgrep's user experience for binary file filtering has been improved. See the
guide's new section on binary data for more details.
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.
This release also marks a change in ripgrep's versioning. Where as the previous
version was 0.10.0, this version is 11.0.0. Moving forward, ripgrep's
major version will be increased a few times per year. ripgrep will continue to
be conservative with respect to backwards compatibility, but may occasionally
introduce breaking changes, which will always be documented in this CHANGELOG.
See issue 1172 for a bit
more detail on why this versioning change was made.
This release increases the minimum supported Rust version from 1.28.0 to
1.34.0.
BREAKING CHANGES:
2 exit status code, regardless of whether a match is found or not.2 exit status code for a catastrophic-q/--quiet. In that case, if an error occurs and a match is found,0 exit status code.-u/--unrestricted flag three times is now equivalent to--no-ignore --hidden --binary. Previously, -uuu was equivalent--no-ignore --hidden --text. The difference is that --binary disablesrg -uuu foo should now be equivalent to grep -r foo.avx-accel feature of ripgrep has been removed since it is no longersimd-accel feature does remain availablePerformance improvements:
rg -F -f dictionary-of-literals much faster.Feature enhancements:
--binary flag for disabling binary file filtering.--max-columns-preview flag for showing a preview of long lines.-z/--search-zip flag.--no-ignore-dot flag for ignoring .ignore files.--auto-hybrid-regex flag for automatically falling back to PCRE2.--ignore-file-case-insensitive for case insensitive ignore globs.-I flag as a short option for the --no-filename flag.none value to -E/--encoding to forcefully disable all transcoding.--pcre2-version for querying showing PCRE2 version information.Bug fixes:
** is now accepted as valid syntax anywhere in a glob./proc with a zombie process present.-U/--multiline when a pattern contains a \n.--crlf flag.--encoding auto does.--files-with-matches and --files-without-match work with one file.--filesrg -h | rg and should emit correct exit status.** patterns in gitignore files.** patterns in gitignore files.-F/-x weren't applied to patterns given via -f.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.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.