All Versions
53
Latest Version
Avg Release Cycle
22 days
Latest Release
71 days ago

Changelog History
Page 1

  • v1.3.1

    September 04, 2019

    🚀 This is a maintenance release with no changes in order to try to work-around 📄 a docs.rs/Cargo issue.

  • v1.3.0

    September 03, 2019

    🚀 This release adds a plethora of new crate features that permit users of regex to shrink its size considerably, in exchange for giving up either functionality 🐎 (such as Unicode support) or runtime performance. When all such features are disabled, the dependency tree for regex shrinks to exactly 1 crate (regex-syntax). More information about the new crate features can be 📄 found in the docs.

    🚀 Note that while this is a new minor version release, the minimum supported Rust version for this crate remains at 1.28.0.

    🆕 New features:

    • FEATURE #474: The use_std feature has been deprecated in favor of the std feature. The use_std feature will be removed in regex 2. Until then, use_std will remain as an alias for the std feature.
    • FEATURE #583: Add a substantial number of crate features shrinking regex.
  • v1.2.1

    August 03, 2019

    🚀 This release does a bit of house cleaning. Namely:

    • This repository is now using rustfmt.
    • 🚚 License headers have been removed from all files, in following suit with the Rust project.
    • 🚚 Teddy has been removed from the regex crate, and is now part of the aho-corasick crate. See aho-corasick's new packed sub-module for details.
    • 🗄 The utf8-ranges crate has been deprecated, with its functionality moving into the utf8 sub-module of regex-syntax.
    • The ucd-util dependency has been dropped, in favor of implementing what little we need inside of regex-syntax itself.

    In general, this is part of an ongoing (long term) effort to make optimizations in the regex engine easier to reason about. The current code is too convoluted and thus it is very easy to introduce new bugs. This simplification effort is the primary motivation behind re-working the aho-corasick crate to not only bundle algorithms like Teddy, but to also provide regex-like match semantics automatically.

    Moving forward, the plan is to join up with the bstr and regex-automata crates, with the former providing more sophisticated substring search algorithms (thereby deleting existing code in regex) and the latter providing ahead-of-time compiled DFAs for cases where they are inexpensive to compute.

  • v1.2.0

    July 21, 2019

    🚀 This release updates regex's minimum supported Rust version to 1.28, which was 🚀 release almost 1 year ago. This release also updates regex's Unicode data tables to 12.1.0.

  • v1.1.9

    July 06, 2019

    🚀 This release contains a bug fix that caused regex's tests to fail, due to a 🚀 dependency on an unreleased behavior in regex-syntax.

    • BUG #593: Move an integration-style test on error messages into regex-syntax.
  • v1.1.8

    July 04, 2019

    🚀 This release contains a few small internal refactorings. One of which fixes an instance of undefined behavior in a part of the SIMD code.

    🐛 Bug fixes:

    • BUG #545: Improves error messages when a repetition operator is used without a number.
    • BUG #588: Removes use of a repr(Rust) union used for type punning in the Teddy matcher.
    • BUG #591: Update docs for running benchmarks and improve failure modes.
  • v1.1.7

    June 09, 2019

    🚀 This release fixes up a few warnings as a result of recent deprecations.

  • v1.1.6

    April 16, 2019

    🚀 This release fixes a regression introduced by a bug fix (for BUG #557) which could cause the regex engine to enter an infinite loop. This bug was originally reported against ripgrep.

  • v1.1.5

    April 01, 2019

    🚀 This release fixes a bug in regex's dependency specification where it requires a newer version of regex-syntax, but this wasn't communicated correctly in the Cargo.toml. This would have been caught by a minimal version check, but this check was disabled because the rand crate itself advertises incorrect dependency specifications.

    🐛 Bug fixes:

    • BUG #570: Fix regex-syntax minimal version.
  • v1.1.4

    March 31, 2019

    🚀 This release fixes a backwards compatibility regression where Regex was no ⬆️ longer UnwindSafe. This was caused by the upgrade to aho-corasick 0.7, whose 🛠 AhoCorasick type was itself not UnwindSafe. This has been fixed in aho-corasick 0.7.4, which we now require.

    🐛 Bug fixes:

    • BUG #568: Fix an API regression where Regex was no longer UnwindSafe.