doctrine / doctrine-laminas-hydrator

Doctrine hydrators for Laminas applications
https://www.doctrine-project.org/projects/doctrine-laminas-hydrator.html
MIT License
33 stars 19 forks source link

Add support for laminas-hydrator ^4.0 #17

Closed driehle closed 3 years ago

driehle commented 3 years ago

This PR adds support for laminas-hydrator:^4.0. Laminas hydrator 4.0.0 comes with one BC break:

This can be easily covered by adding the optional parameter ?object $instance = null to Doctrine\Laminas\Hydrator\Filter\PropertyName::filter(). Adding this parameter is still backward compatible to laminas-hydrator:^3.0, hence, both 3.0 and 4.0 series are now allowed in composer.json.

This PR will:

I suggest releasing this as a minor release, i.e. 2.1.0.

driehle commented 3 years ago

This is related to doctrine/DoctrineModule#720