Skip to content

2.0.0

Choose a tag to compare

@magicsunday magicsunday released this 13 Jul 22:12
· 27 commits to main since this release
6937341

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).
  • Closes #21. Supersedes #22.