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\Serializer
is removed in favor of proper dependency injectionLaminas\Serializer\Adapter\MsgPack
is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\PythonPickle
is removed to reduce the amount of maintenance within this componentLaminas\Serializer\Adapter\Wddx
is 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\AdapterInterface
service
Added
Laminas\Serializer\GenericSerializerFactory
in case projects want to re-configure the default serializer (PhpSerialize
) provided by theLaminas\Serializer\Adapter\AdapterInterface
service- Compatibility with
laminas/laminas-servicemanager
v4.0.0 and thereforepsr/container
v2.0.0