Skip to content

Commit bd78899

Browse files
committed
Merge branch 'master' of https://github.com/burntsushi/ripgrep
2 parents 02b402a + abf1152 commit bd78899

File tree

23 files changed

+120
-67
lines changed

23 files changed

+120
-67
lines changed

CHANGELOG.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
1-
TBD
2-
===
1+
13.0.1
2+
======
3+
Unreleased changes. Release notes have not yet been written.
4+
5+
Bug fixes:
6+
7+
* [BUG #1891](https://github.com/BurntSushi/ripgrep/issues/1891):
8+
Fix bug when using `-w` with a regex that can match the empty string.
9+
* [BUG #1911](https://github.com/BurntSushi/ripgrep/issues/1911):
10+
Disable mmap searching in all non-64-bit environments.
11+
12+
13+
13.0.0 (2021-06-12)
14+
===================
315
ripgrep 13 is a new major version release of ripgrep that primarily contains
4-
bug fixes. There is also a fix for a security vulnerability on Windows
5-
([CVE-2021-3013](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3013)),
6-
some performance improvements and some minor breaking changes.
16+
bug fixes, some performance improvements and a few minor breaking changes.
17+
There is also a fix for a security vulnerability on Windows
18+
([CVE-2021-3013](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3013)).
19+
20+
Some highlights:
721

822
A new short flag, `-.`, has been added. It is an alias for the `--hidden` flag,
923
which instructs ripgrep to search hidden files and directories.

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ripgrep"
3-
version = "12.1.1" #:version
3+
version = "13.0.0" #:version
44
authors = ["Andrew Gallant <jamslam@gmail.com>"]
55
description = """
66
ripgrep is a line-oriented search tool that recursively searches the current
@@ -42,8 +42,8 @@ members = [
4242

4343
[dependencies]
4444
bstr = "0.2.12"
45-
grep = { version = "0.2.7", path = "crates/grep" }
46-
ignore = { version = "0.4.16", path = "crates/ignore" }
45+
grep = { version = "0.2.8", path = "crates/grep" }
46+
ignore = { version = "0.4.18", path = "crates/ignore" }
4747
lazy_static = "1.1.0"
4848
log = "0.4.5"
4949
num_cpus = "1.8.0"

GUIDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@ search. By default, when you search a directory, ripgrep will ignore all of
178178
the following:
179179

180180
1. Files and directories that match glob patterns in these three categories:
181-
1. gitignore globs (including global and repo-specific globs).
182-
2. `.ignore` globs, which take precedence over all gitignore globs when
183-
there's a conflict.
184-
3. `.rgignore` globs, which take precedence over all `.ignore` globs when
185-
there's a conflict.
181+
1. gitignore globs (including global and repo-specific globs).
182+
2. `.ignore` globs, which take precedence over all gitignore globs
183+
when there's a conflict.
184+
3. `.rgignore` globs, which take precedence over all `.ignore` globs
185+
when there's a conflict.
186186
2. Hidden files and directories.
187187
3. Binary files. (ripgrep considers any file with a `NUL` byte to be binary.)
188188
4. Symbolic links aren't followed.

RELEASE-CHECKLIST.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
Release Checklist
22
-----------------
3+
* Ensure local `master` is up to date with respect to `origin/master`.
34
* Run `cargo update` and review dependency updates. Commit updated
45
`Cargo.lock`.
56
* Run `cargo outdated` and review semver incompatible updates. Unless there is
6-
a strong motivation otherwise, review and update every dependency.
7+
a strong motivation otherwise, review and update every dependency. Also
8+
run `--aggressive`, but don't update to crates that are still in beta.
79
* Review changes for every crate in `crates` since the last ripgrep release.
810
If the set of changes is non-empty, issue a new release for that crate. Check
911
crates in the following order. After updating a crate, ensure minimal
@@ -24,6 +26,11 @@ Release Checklist
2426
`cargo update -p ripgrep` so that the `Cargo.lock` is updated. Commit the
2527
changes and create a new signed tag. Alternatively, use
2628
`cargo-up --no-push --no-release Cargo.toml {VERSION}` to automate this.
29+
* Push changes to GitHub, NOT including the tag. (But do not publish new
30+
version of ripgrep to crates.io yet.)
31+
* Once CI for `master` finishes successfully, push the version tag. (Trying to
32+
do this in one step seems to result in GitHub Actions not seeing the tag
33+
push and thus not running the release workflow.)
2734
* Wait for CI to finish creating the release. If the release build fails, then
2835
delete the tag from GitHub, make fixes, re-tag, delete the release and push.
2936
* Copy the relevant section of the CHANGELOG to the tagged release notes.

ci/build-deb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ cp complete/_rg "$DEPLOY_DIR/"
3939

4040
# Since we're distributing the dpkg, we don't know whether the user will have
4141
# PCRE2 installed, so just do a static build.
42-
PCRE2_SYS_STATIC=1 cargo deb
42+
PCRE2_SYS_STATIC=1 cargo deb --target x86_64-unknown-linux-musl

crates/cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grep-cli"
3-
version = "0.1.5" #:version
3+
version = "0.1.6" #:version
44
authors = ["Andrew Gallant <jamslam@gmail.com>"]
55
description = """
66
Utilities for search oriented command line applications.
@@ -16,7 +16,7 @@ edition = "2018"
1616
[dependencies]
1717
atty = "0.2.11"
1818
bstr = "0.2.0"
19-
globset = { version = "0.4.5", path = "../globset" }
19+
globset = { version = "0.4.7", path = "../globset" }
2020
lazy_static = "1.1.0"
2121
log = "0.4.5"
2222
regex = "1.1"

crates/core/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ it. If multiple globs match a file or directory, the glob given later in the
14141414
command line takes precedence.
14151415
14161416
As an extension, globs support specifying alternatives: *-g ab{c,d}* is
1417-
equivalet to *-g abc -g abd*. Empty alternatives like *-g ab{,c}* are not
1417+
equivalent to *-g abc -g abd*. Empty alternatives like *-g ab{,c}* are not
14181418
currently supported. Note that this syntax extension is also currently enabled
14191419
in gitignore files, even though this syntax isn't supported by git itself.
14201420
ripgrep may disable this syntax extension in gitignore files, but it will

crates/globset/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "globset"
3-
version = "0.4.6" #:version
3+
version = "0.4.8" #:version
44
authors = ["Andrew Gallant <jamslam@gmail.com>"]
55
description = """
66
Cross platform single glob and glob set matching. Glob set matching is the

crates/globset/src/serde_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use serde::de::Error;
22
use serde::{Deserialize, Deserializer, Serialize, Serializer};
33

4-
use Glob;
4+
use crate::Glob;
55

66
impl Serialize for Glob {
77
fn serialize<S: Serializer>(

0 commit comments

Comments
 (0)