Skip to content

3.0.0

Choose a tag to compare

@magicsunday magicsunday released this 12 Jun 08:46
· 64 commits to main since this release
64ef902

⚠️ Breaking changes

  • Dropped the Doctrine docblock-annotation marker support. The property markers XmlAttribute, XmlNodeValue and XmlCDataSection are now recognised only as native PHP attributes (#[XmlAttribute], #[XmlNodeValue], #[XmlCDataSection]). The legacy @XmlAttribute / @XmlNodeValue / @XmlCDataSection PHPDoc syntax is no longer read.
  • Removed the doctrine/annotations dependency (it was abandoned and only powered the docblock path).
  • Raised the PHP floor to ^8.3 — PHP 8.2 is no longer supported.

🔧 Internal

  • Marker resolution reads a property's attributes in a single reflection pass (exact name match, since the marker classes are final).
  • Tested against PHPUnit 12 / 13 (PHP 8.3 → 12, 8.4/8.5 → 13); Rector raised to the PHP 8.3 level.

🧭 Migration

  • Replace docblock markers with the native attribute form: @XmlAttribute → #[XmlAttribute], etc.
  • Move to PHP 8.3 or newer.

The 2.x line (Doctrine docblock annotations, PHP 8.2) is maintained on the 2.x branch.