This release provides the integration of jms/serializer v2.0 into Symfony.
More info about jms/serializer v2.0 on https://www.goetas.com/blog/whats-new-in-jmsserializer-v20 and https://github.com/schmittjoh/serializer/releases/tag/2.0.0
Implemented enhancements:
Fixed bugs:
- Lazy services - Final classes cannot be proxied by ProxyManager #690
Closed issues:
- jms_serializer directory in cache is not writable #640
- Provided class "JMS\Serializer\Handler\ArrayCollectionHandler" is final and cannot be proxied #692
- Hard cache removal - first JSON serialization has an unusual result #682
- Avoiding the circular reference stop #679
- Annotation Group not working on Entity using Symfony 4 #669
- Regression since 2.4.1 #663
- Example code for "Changing the Object Constructor" section does not show on the web page. #601
Merged pull requests:
- setSerializeNull option is available only on the serialization context #694 (goetas)
- remove lazy services, they are already lazy in many contexts #691 (goetas)
- Enhancement: Normalize composer.json #677 (localheinz)
- Enhancement: Keep packages sorted in composer.json #676 (localheinz)
- Fix Constructors configuration section #675 (kinow)