3.0.0
Release Notes for 3.0.0
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.
The migration guide is available on the documentation website:
https://docs.laminas.dev/laminas-serializer/v3/migration/to-version-3/
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
3.0.0
- Total issues resolved: 2
- Total pull requests resolved: 12
- Total contributors: 3
Documentation
- 66: Documentation: Normalize intro table thanks to @boesing
- 40: Documentation and initial migration guide for 3.0.0 thanks to @boesing
Enhancement
- 65: Update
laminas/laminas-servicemanager
to v4.1.0+ thanks to @boesing - 57: Introduce some static analysis checks thanks to @boesing
- 43: Require stable v4.0 of
laminas-servicemanager
thanks to @boesing - 36: Remove support for PHP 8.0, Upgrade PHPUnit to 10.x thanks to @gsteel
Documentation,Enhancement
BC Break,Enhancement,Feature Removal
BC Break,Enhancement
- 37: Implementing native type-hints thanks to @boesing
- 25: Support and require
laminas-servicemanager
v4.0 thanks to @boesing - 20: Remove zend compatibility thanks to @boesing