You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
PHP 8.5 support (breaking)
⚠️ Breaking changes
Minimum Symfony raised to 7.3. Requiring magicsunday/xmlmapper: ^2.0 || ^3.0 transitively pulls symfony/property-info / symfony/property-access^7.3 || ^8.0. Symfony 6 hosts are no longer supported — hence the major version bump.
Dropped magicsunday/xmlmapper 1.x. The request DTOs now use native PHP 8 attributes (#[XmlAttribute], #[XmlNodeValue], #[XmlCDataSection]) instead of the legacy PHPDoc annotations only xmlmapper 1.x read.
✨ Features
PHP 8.5 support. The dependency chain now resolves on PHP 8.2–8.5 (xmlmapper 2.0.0 on 8.2, 3.0.1 on 8.3+); both read native attributes. phpstan.neon verifies the whole 8.2–8.5 range and the CI matrix includes 8.5.
Notes
Public API unchanged; the serialized XML is byte-identical (the XmlSerializer golden-output test passes with both xmlmapper 2.0.0 and 3.0.1).