Skip to content

Commit 0052f3c

Browse files
committed
changelog 1.0.0
1 parent 1a8f5e6 commit 0052f3c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Diff for: CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
1.0.0 (2018-05-01)
2+
==================
3+
This release marks the 1.0 release of regex.
4+
5+
While this release includes some breaking changes, most users of older versions
6+
of the regex library should be able to migrate to 1.0 by simply bumping the
7+
version number. The important changes are as follows:
8+
9+
* We adopt Rust 1.20 as the new minimum supported version of Rust for regex.
10+
We also tentativley adopt a policy that permits bumping the minimum supported
11+
version of Rust in minor version releases of regex, but no patch releases.
12+
That is, with respect to semver, we do not strictly consider bumping the
13+
minimum version of Rust to be a breaking change, but adopt a conservative
14+
stance as a compromise.
15+
* Octal syntax in regular expressions has been disabled by default. This
16+
permits better error messages that inform users that backreferences aren't
17+
available. Octal syntax can be re-enabled via the corresponding option on
18+
`RegexBuilder`.
19+
* `(?-u:\B)` is no longer allowed in Unicode regexes since it can match at
20+
invalid UTF-8 code unit boundaries. `(?-u:\b)` is still allowed in Unicode
21+
regexes.
22+
* The `From<regex_syntax::Error>` impl has been removed. This formally removes
23+
the public dependency on `regex-syntax`.
24+
* A new feature, `use_std`, has been added and enabled by default. Disabling
25+
the feature will result in a compilation error. In the future, this may
26+
permit us to support `no_std` environments (w/ `alloc`) in a backwards
27+
compatible way.
28+
29+
For more information and discussion, please see
30+
[1.0 release tracking issue](https://github.com/rust-lang/regex/issues/457).
31+
32+
133
0.2.11 (2018-05-01)
234
===================
335
This release primarily contains bug fixes. Some of them resolve bugs where

0 commit comments

Comments
 (0)