3.0.0-rc1
Pre-release
Pre-release
Backwards incompatible release (major)
With v3.0.0, a huge maintenance release is rolled out.
Every property and every method is now fully typed, starting with method arguments up to object properties.
These kind of changes were necessary due to the changes in laminas-servicemanager v4.0.0 which is also fully typed starting with v4.0.
To reduce further maintenance effort, some niche serializers were dropped in favor or faster CI pipelines and due to the lack of cross-platform checks. Laminas wants to provide fully tested code which was not properly possible for at least the Wddx adapter.
Breaking Changes
- All methods within this component now have typed arguments and typed return
- All properties within this component are now typed
Removed
Laminas\Serializer\Serializeris removed in favor of proper dependency injectionLaminas\Serializer\Adapter\MsgPackis removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\PythonPickleis removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\Wddxis removed to reduce the amount of maintenance within this component
Changed
- Due to the removal of
Laminas\Serializer\Serializer, projects now have to either instantiate the default serializer implementation or inject it by consuming theLaminas\Serializer\Adapter\AdapterInterfaceservice
Added
Laminas\Serializer\GenericSerializerFactoryin case projects want to re-configure the default serializer (PhpSerialize) provided by theLaminas\Serializer\Adapter\AdapterInterfaceservice- Compatibility with
laminas/laminas-servicemanagerv4.0.0 and thereforepsr/containerv2.0.0