What's Changed
Object Mapper:
Various features:
- feat(httpcache): add more cache directives to AddHeadersProcessor by @alanpoulain in #7008
- feat(symfony): Autoconfigure classes using
#[ApiResource]
attribute by @GromNaN in #6943 - feat(serializer): set the object-to-populate in deserializer context as soon as data !== null by @lyrixx in #7124
- feat(openapi): license identifier by @soyuka in #7141
- feat(symfony): Add error classes options to OpenAPI config by @alexndlm in #7143
- feat(json-schema): mutualize json schema between formats by @soyuka in #6960
- feat(metadata): use PHP file as resource format by @loic425 in #7017
- feat(elasticsearch): add support for v9 by @darthf1 in #7180
- Allow throwing an access denied exception on denormalization of secured properties by @dwgebler in #7221
- feature(symfony): Add CSS Color Schema Restriction for Property Validation by @SebLevDev in #7215
PHPStan 2:
- chore: bump phpstan version by @VincentLanglet in #7239
- chore: solve some phpstan issues by @VincentLanglet in #7249
- chore: disable treat phpdoc type as certain for phpstan by @VincentLanglet in #7250
- chore: more phpstan fixes by @VincentLanglet in #7265
- chore: introduce phpstan level 6 by @VincentLanglet in #7269
TypeInfo component:
- feat(graphql): use TypeInfo type by @soyuka in #7117
- feat(metadata/doctrine): Use
Type
ofTypeInfo
instead ofPropertyInfo
by @mtarld in #6979 - feat(openapi): use
TypeInfo
'sType
by @soyuka in #7096 - feat(hal): use
TypeInfo
type by @soyuka in #7097 - feat(elasticsearch): use
TypeInfo
type by @soyuka in #7098 - feat(hydra): use
TypeInfo
'sType
by @soyuka in #7099 - feat(jsonapi): use
TypeInfo
'sType
by @soyuka in #7100 - feat(laravel): use
TypeInfo
'sType
by @soyuka in #7101 - feat(serializer): type info by @soyuka in #7104
Bug fixes:
- fix(metadata) Fix new PHP file resource extractor by @loic425 in #7193
- refactor(symfony): remove obsolete option
validator.query-parameter-validation
by @alexndlm in #7139 - fix(openapi): vacuum instead of swagger-cli by @soyuka in #7130
New Contributors
Full Changelog: v4.1.18...v4.2.0-alpha.1