Skip to content

v8.4.1

Choose a tag to compare

@MoamenEltouny MoamenEltouny released this 01 Dec 14:59

Fixed

  • Large rule sets are applied again. All rules were compiled into one regular expression, and past PCRE's size limit (about 3,500 short rules) PHP emitted a warning and no rule was applied. The rules are now split into several patterns that still run as a single pass, longest match first.
  • With PCRE2 10.45 or later, the Ukrainian override capitalized whole letter groups in mixed-case words (Щастя → SHCHastia instead of Shchastia), because a caseless \p{Lu} matches every cased letter there. Lowercased slugs were not affected; the transliterator's own output and slugs built with lowercase(false) were.

Changed

  • The internal Support\CamelCase and Support\Locale helpers moved to Normalization\CamelCase and Localization\Locale. They stay @internal and are not part of the public API.
  • Facades\Slugify is a supported alias of Slugify instead of deprecated.
  • Every file declares strict types.
  • Tests run on Pest, code is formatted with Pint, and PHPStan analyses src/ at level max.
  • CI runs validation, style, static analysis, tests, the security audit and an archive check in order, behind one quality gate.
  • The documentation's upgrade guide is the last page and covers patch releases and moving between PHP lines.

Full Changelog: 8.4.0...8.4.1