diff --git a/CHANGELOG.md b/CHANGELOG.md index b45a27950a..9134407a16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +0.2.1 +===== +One major bug with `replace_all` has been fixed along with a couple of other +touchups. + +* [BUG #312](https://github.com/rust-lang/regex/issues/312): + Fix documentation for `NoExpand` to reference correct lifetime parameter. +* [BUG #314](https://github.com/rust-lang/regex/issues/314): + Fix a bug with `replace_all` when replacing a match with the empty string. +* [BUG #316](https://github.com/rust-lang/regex/issues/316): + Note a missing breaking change from the `0.2.0` CHANGELOG entry. + (`RegexBuilder::compile` was renamed to `RegexBuilder::build`.) +* [BUG #324](https://github.com/rust-lang/regex/issues/324): + Compiling `regex` should only require one version of `memchr` crate. + 0.2.0 ===== This is a new major release of the regex crate, and is an implementation of the diff --git a/Cargo.toml b/Cargo.toml index e11a3b4bf3..d75deb8d4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "regex" -version = "0.2.0" #:version +version = "0.2.1" #:version authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -14,17 +14,17 @@ finite automata and guarantees linear time matching on all inputs. [dependencies] # For very fast prefix literal matching. -aho-corasick = "0.5.3" +aho-corasick = "0.6.0" # For skipping along search text quickly when a leading byte is known. -memchr = "1" +memchr = "1.0.0" # For managing regex caches quickly across multiple threads. thread_local = "0.3.2" # For parsing regular expressions. regex-syntax = { path = "regex-syntax", version = "0.4.0" } # For accelerating text search. -simd = { version = "0.1.0", optional = true } +simd = { version = "0.1.1", optional = true } # For compiling UTF-8 decoding into automata. -utf8-ranges = "1" +utf8-ranges = "1.0.0" [dev-dependencies] # For examples.