1.5.0
Fixes
Serializable
Implementing Serializable interface is deprecated in PHP 8.1 without having the magic methods in place.
Those have now been added. They return associative arrays however and work differently than the explicit serialize()
call which returns a string.
Collections
Fixed duplication issue with using collections and name collisions in certain aliasing cases.
Note: This can be BC impacting if you use aliasing here, double-check this before upgrading
Example
<field name="labels" type="FilterElement[]"/>
<field name="brands" type="FilterElement[]"/>
Before, this was creating methods using the singular "FilterElement" instead of "Label" or "Brand".
This is now fixed.