All Versions
57
Latest Version
Avg Release Cycle
27 days
Latest Release
18 days ago

Changelog History
Page 1

  • v1.3.3

    January 09, 2020

    🚀 This is a small maintenance release that upgrades the dependency on 👍 thread_local from 0.3 to 1.0. The minimum supported Rust version remains at Rust 1.28.

  • v1.3.2

    January 09, 2020

    🚀 This is a small maintenance release with some house cleaning and bug fixes.

    🆕 New features:

    • FEATURE #631: Add a Match::range method an a From<Match> for Range impl.

    🐛 Bug fixes:

    • BUG #521: Corrects /-/.splitn("a", 2) to return ["a"] instead of ["a", ""].
    • BUG #594: Improve error reporting when writing \p\.
    • BUG #627: Corrects /-/.split("a-") to return ["a", ""] instead of ["a"].
    • BUG #633: Squash deprecation warnings for the std::error::Error::description method.
  • 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.