All Versions
84
Latest Version
Avg Release Cycle
45 days
Latest Release
632 days ago

Changelog History
Page 3

  • v1.3.4 Changes

    January 30, 2020

    ๐Ÿš€ This is a small bug fix release that fixes a bug related to the scoping of flags in a regex. Namely, before this fix, a regex like ((?i)a)b) would match aB despite the fact that b should not be matched case insensitively.

    ๐Ÿ› Bug fixes:

    • BUG #640: Fix bug related to the scoping of flags in a regex.
  • v1.3.3 Changes

    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 Changes

    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 Changes

    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 Changes

    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 Changes

    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 Changes

    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 Changes

    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 Changes

    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 Changes

    June 09, 2019

    ๐Ÿš€ This release fixes up a few warnings as a result of recent deprecations.