Skip to content

v5.0.0

Compare
Choose a tag to compare
@jaapio jaapio released this 01 Jul 18:12
· 480 commits to 5.x since this release
1b70ad9

This version contains a full rewrite of the way we construct elements. To support features like constructor property promotion we had to redesign the way methods are processed, but also allow factories to produce multiple elements. Which was impossible with the original design.

As a library consumer, this change should not affect your code, unless you were overwriting or extending some of the internal factory classes. To prevent issues for users of this library, we started a new version.

Added

  • Constructor promoted properties
  • php8 union types
  • php8 static type
  • php8 mixed type support