Repository navigation
v8.4.1
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 (
Щастя→SHCHastiainstead ofShchastia), because a caseless\p{Lu}matches every cased letter there. Lowercased slugs were not affected; the transliterator's own output and slugs built withlowercase(false)were.
Changed
- The internal
Support\CamelCaseandSupport\Localehelpers moved toNormalization\CamelCaseandLocalization\Locale. They stay@internaland are not part of the public API. Facades\Slugifyis a supported alias ofSlugifyinstead 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