Releases: symfony/polyfill
Releases · symfony/polyfill
Release list
v1.40.0
Changelog (v1.39.0...v1.40.0)
- bug #635 [DeepClone] Suggest the extension when refusing a named callable, and decode its global-function references (@nicolas-grekas)
- feature #634 [DeepClone] Gate closures over named callables behind an allow_named_closures option (@nicolas-grekas)
v1.39.0
Changelog (v1.38.2...v1.39.0)
- feature #630 [DeepClone] Support closures declared in constant expressions (@nicolas-grekas)
- bug #632 [DeepClone] Fix round-tripping short-lived Random\Randomizer instances on PHP 8.2 (@nicolas-grekas)
- bug #631 [DeepClone] Reject from_array payloads that would build an uninitialized object (@nicolas-grekas)
v1.38.2
Immutable
release. Only release title and notes can be modified.
Changelog (v1.38.1...v1.38.2)
- bug #629 [DeepClone] Fix round-tripping objects whose __serialize() nests another object (@nicolas-grekas)
- bug #628 [DeepClone] Fix round-tripping and hydrating BcMath\Number (@nicolas-grekas)
- bug #627 [DeepClone] Reject malformed deepclone_from_array() input without warnings (@nicolas-grekas)
- bug #626 [DeepClone] Fix cloning objects with numeric property names (@nicolas-grekas)
- bug #623 [Mbstring] Fix issues with mb_scrub() (@GPHemsley)
- bug #622 [Mbstring][Php3] Fix issues with mb_str_pad() (@GPHemsley)
v1.38.1
Changelog (v1.38.0...v1.38.1)
- security #cve-2026-46644 [Intl][Idn] Reject xn-- labels whose Punycode payload decodes to ASCII-only (@nicolas-grekas)
- bug #619 [Mbstring][Php83][Php84] Isolate PHP 7 mb_* declarations into bootstrap72.php (@nicolas-grekas)
- bug #617 Polyfill more cURL constants (@GPHemsley)
- bug #618 fix: Correctly define MySQL constants (@mitelg)
- bug #616 Fix grapheme_str_split() on PCRE 8 (@GPHemsley)
- bug #615 Fix newline handling in Php74 implementation of mb_str_split() (@GPHemsley)
v1.38.0
Changelog (v1.37.0...v1.38.0)
- bug #582 [Intl/MessageFormatter] Add missing parseMessage() method (@xabbuh)
- bug #610 [Mbstring] Fall back to plain iconv when //IGNORE is unsupported (on musl) (@nicolas-grekas)
- bug #609 [Intl/MessageFormatter] Validate the full pattern at configuration time (@nicolas-grekas)
- feature #608 [Intl/Normalizer] Polyfill normalizer_get_raw_decomposition() (@nicolas-grekas)
- bug #607 [Mbstring] Make mb_convert_encoding($s, $y, 'HTML-ENTITIES') match native output (@nicolas-grekas)
- bug #603 [Mbstring][Php83][Php84] Accept null in mb_* polyfills (@nicolas-grekas)
- bug #600 [Php84] Declare $persistent property in ReflectionConstant stub (@nicolas-grekas)
- bug #599 [Php83] Fix mb_str_pad invalid encoding error reporting (@nicolas-grekas)
- bug #604 [Grapheme] Return false from grapheme_strrev() on invalid UTF-8 (@nicolas-grekas)
- bug #598 [Grapheme] Fix grapheme cluster splitting on PCRE < 10.44 (@nicolas-grekas)
- bug #596 [Mbstring] Fix mb_strlen() for invalid UTF-8 input (@nicolas-grekas)
- bug #595 [Php83] Fix str_increment() for numeric strings beyond PHP_INT_MAX (@nicolas-grekas)
- bug #594 [Php83] Fix ldap_exop_sync polyfill on PHP < 8.3 (@nicolas-grekas)
- bug #591 Fix mb_rtrim() missing unicode-awareness (@nicolas-grekas)
- bug #590 PHP can be built without PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT (@alexpott)
- bug #588 Update
IntlDateFormatter::__construct()parameters (@Seb33300)
v1.37.0
Changelog (v1.36.0...v1.37.0)
- feature #578 [RFC] Add grapheme_strrev function php 8.6 (@PhilDaiguille)
- bug #580 Fix
grapheme_levenshtein()registration in polyfill-php85 (@xabbuh) - bug #581 do not register the locale_is_right_to_left() function without the intl extension (@xabbuh)
- bug #584 [DeepClone] Drop SPL "\0" special key from deepclone_hydrate() (@nicolas-grekas)
- bug #577 [DeepClone] Cap IS_LONG objectMeta count at 1M (@nicolas-grekas)
- feature #576 [DeepClone] Drop scoped mode — mangled-only is now the only shape (@nicolas-grekas)
- feature #574 [DeepClone] Add DEEPCLONE_HYDRATE_PRESERVE_REFS flag + hot-path perf (@nicolas-grekas)
v1.36.0
Changelog (v1.35.0...v1.36.0)
- feature #573 [DeepClone] Mirror ext v0.3.0: $flags parameter + forgiving-hydrate behaviors (@nicolas-grekas)
- bug #572 [DeepClone] Fix PHP warning for
__sleep()-listed uninitialized declared properties (@nicolas-grekas)
v1.35.0
Changelog (v1.34.0...v1.35.0)
- bug #571 [DeepClone] Fix cache poisoning causing spurious NotInstantiableException (@nicolas-grekas)
- feature #569 [PHP 8.6] Add SortDirection enum for PHP 8.1+ (@Ayesh)
- feature #566 [PHP 8.6] Add
ARRAY_FILTER_USE_VALUEconstant (@Ayesh) - feature #568 [DeepClone] Add deepclone_hydrate() polyfill (@nicolas-grekas)
v1.34.0
Changelog (v1.33.0...v1.34.0)
- bug #565 Fix bcdiv handling of DivisionByZeroError (@nicolas-grekas)
- bug #501 mbstring polyfills must not raise value errors in PHP 7 (@derrabus)
- feature #527 [8.5] Add
locale_is_right_to_left(@alexander-schranz) - feature #532 [Intl] Add PHP 8.5
IntlListFormatterto ICU polyfill (@Ayesh) - feature #549 Add polyfill for PDO driver specific subclasses (@nicolas-grekas, @jnoordsij)
- feature #558 Add the grapheme_levenshtein polyfill (Sudam Ranasinghe)
- feature #557 [PHP 8.5] Add new
\Filter\FilterExceptionandFilter\FilterFailedException(@Ayesh) - feature #560 Add fallback implementation for Collator::compare() (@aymericcucherousset)
- bug #556 Fix PHP 7.2 compatibility for PHP 8.4 polyfill (@Seldaek)
- feature #561 Add polyfill for symfony/php-ext-deepclone (@nicolas-grekas, @GromNaN)
- feature #554 [8.6] Add
clampfunction (@kylekatarnls) - feature #546 [8.4] implement bcround, bcceil and bcfloor (@Dean151)
- bug #504 Ctype: Give the correct deprecations for PHP 8.1+ (@BackEndTea)
- feature #541 [8.5] Add polyfill for DelayedTargetValidation (@DanielEScherzer)