Skip to content

1.5.0

Compare
Choose a tag to compare
@dereuromark dereuromark released this 15 Dec 22:07
· 64 commits to master since this release
fea80ec

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.