What's Changed
- fix(serializer): propertyFilter should apply to arrays as well by @nikophil in #5444
- fix(metadata): remove ReflectionEnum usage by @nikophil in #5453
- fix(openapi): document PropertyFilter within parameter by @nawel-les-tilleuls in #5458
- fix(symfony): status at 200 when allowCreate is false by @Zowac in #5465
- fix(metadata): cache identifier metadata factory by @Zowac in #5466
- fix(metadata): add default operations config by @GrimpEreau in #5459
- fix(symfony): query parameter validation after security by @nawel-les-tilleuls in #5473
Notes:
-
#5473 changes the priority of the
ApiPlatform\Symfony\EventListener\QueryParameterValidateListener
from 16 to 2 so that it occurs after the security listener. -
ReflectionEnum was removed as it was causing segfaults with opcache preload and an unidentified PHP extension
-
#5459 fixes the
defaults
operation declaration such as:defaults: - ApiPlatform\Metadata\Get - ApiPlatform\Metadata\GetCollection
very useful for read only APIs, this was possible in 2.7 but not backported correctly
Full Changelog: v3.1.4...v3.1.5