You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed PropertyTypeArray, which is superseeded by PropertyTypeIterable.
Removed the deprecated PropertyTypeIterable::getCollectionClass. Use PropertyTypeIterable::getTraversableClass
Removed the deprecated PropertyTypeIterable::isCollection. Use PropertyTypeIterable::isTraversable
JMSTypeParser::getTraversableClass returns Traversable::class instead of Doctrine\Common\Collections\Collection for general traversable properties.
Dropped support for PHP 7
Adjusted code to not trigger warnings with PHP 8.4
Removed deprecated getDeserializeFormat method from date time
Use Attribute instead of Annotation
Replaced Liip\MetadataParser\ModelParser\LiipMetadataAnnotationParser with Liip\MetadataParser\ModelParser\LiipMetadataAttributeParser
Replaced @Preferred annotation with the #[Preferred] attribute
Replaced PropertyCollection::useIdenticalNamingStrategy static method with the PropertyNamingStrategyInterface.
If you need to change the property naming strategy, remove the call to the static method and instead pass a strategy instance to the parser.
The library provides two implementations for the property naming strategy:
IdenticalPropertyNamingStrategy
SnakeCasePropertyNamingStrategy (default).
Add support for (union) discriminators and their related JMS attributes #[UnionDiscriminator] and #[Discriminator]