Releases: api-platform/core
Releases · api-platform/core
v3.4.9
What's Changed
- fix(jsonschema): hashmaps produces invalid openapi schema by @vinceAmstoutz in #6830
- Fix/missing error normalizer trait by @mladencosa in #6853
- fix: test empty parameter against null by @soyuka in #6852
- fix(metadata): various parameter improvements by @soyuka in #6867
Notes
Parameter::getValue()
now takes a default value as argumentgetValue(mixed $default = new ParameterNotFound()): mixed
Parametes::get(string $key, string $parameterClass = QueryParameter::class)
(but alsohas
andremove
) now has a default value as second argument toQueryParameter::class
- Constraint violation had the wrong message when using
property
, fixed by using thekey
instead
New Contributors
- @mladencosa made their first contribution in #6853
Full Changelog: v3.4.8...v3.4.9
v4.0.11
What's Changed
- fix(serializer): use attribute denormalization context for constructor arguments by @alexndlm in #6821
- feat(laravel): belongs to many relations by @amermchaudhary in #6818
- fix(jsonld): check if supportedTypes exists by @soyuka in #6825
- fix(symfony): symfony 7.2 deprecations by @soyuka in #6835
- fix(symfony): object typed property schema collection restriction by @c1tru55 in #6823
- [Laravel] Fix default order by by @toitzi in #6840
- fix(doctrine): Fixed ORM DateFilter applying inner join when no filtering values have been provided by @psihius in #6849
- [Laravel] Fix foregin keys (relations) beeing in attributes by @toitzi in #6843
New Contributors
Full Changelog: v4.0.10...v4.0.11
v3.4.8
What's Changed
- fix(serializer): use attribute denormalization context for constructor arguments by @alexndlm in #6821
- fix(jsonld): check if supportedTypes exists by @soyuka in #6825
- fix(symfony): symfony 7.2 deprecations by @soyuka in #6835
- fix(symfony): object typed property schema collection restriction by @c1tru55 in #6823
- fix(doctrine): Fixed ORM DateFilter applying inner join when no filtering values have been provided by @psihius in #6849
New Contributors
Full Changelog: v3.4.7...v3.4.8
v4.0.10
What's Changed
- fix(laravel): add contact & license options to fix swagger UI issues by @soyuka in #6804
- chore: symfony dev tests by @soyuka in #6805
- fix(laravel): allow boolean cast by @amermchaudhary in #6808
- fix(laravel): graphQl type locator indexes by @amermchaudhary in #6815
- fix(symfony): unset item_uri_template when serializing an error by @soyuka in #6816
- doc: use newly registered YAML media type by @dunglas in #6777
Full Changelog: v4.0.9...v4.0.10
v3.4.7
v4.0.9
What's Changed
- fix(laravel): overlaping route format by @soyuka in #6782
- fix: properly support phpstan/phpdoc-parser 2 by @xabbuh in #6789
- fix(laravel): declare normalizer list as a service by @soyuka in #6786
- fix(state): empty result when the array paginator is out of bound by @GeLoLabs in #6785
- fix(hal): detecting and handling circular reference by @valentin-dassonville in #6752
- fix(metadata): name convert parameter property by @soyuka in #6766
- fix(state): do not check content type if no input by @alexndlm in #6794
- fix(laravel) graphQl Relationship loading by @toitzi in #6792
- Merge 3.4 by @soyuka in #6798
New Contributors
Full Changelog: v4.0.8...v4.0.9
v3.4.6
What's Changed
- chore(symfony): conflict with symfony/framework-bundle 7.1.6 by @AirBair in #6759
- chore(symfony): phpstan baseline for name converter interface by @soyuka in #6760
- fix(serializer): fetch type on normalization error when possible by @alexndlm in #6761
- fix(validator): allow to pass both a ConstraintViolationList and a previous exception by @xavierlacot in #6762
- fix(doctrine): throw an exception when a filter is not found in a parameter by @lyrixx in #6767
- fix(symfony): typo fix by @rasstislav in #6769
- fix: properly support phpstan/phpdoc-parser 2 by @xabbuh in #6789
- fix(state): empty result when the array paginator is out of bound by @GeLoLabs in #6785
- fix(hal): detecting and handling circular reference by @valentin-dassonville in #6752
- fix(metadata): name convert parameter property by @soyuka in #6766
- fix(state): do not check content type if no input by @alexndlm in #6794
New Contributors
- @AirBair made their first contribution in #6759
- @xavierlacot made their first contribution in #6762
- @rasstislav made their first contribution in #6769
- @xabbuh made their first contribution in #6789
Full Changelog: v3.4.5...v3.4.6
v4.0.8
v4.0.7
What's Changed
- chore(symfony): conflict with symfony/framework-bundle 7.1.6 by @AirBair in #6759
- chore(symfony): phpstan baseline for name converter interface by @soyuka in #6760
- fix(serializer): fetch type on normalization error when possible by @alexndlm in #6761
- fix(validator): allow to pass both a ConstraintViolationList and a previous exception by @xavierlacot in #6762
- fix(doctrine): throw an exception when a filter is not found in a parameter by @lyrixx in #6767
- Merge 4.0 by @soyuka in #6773
- fix(laravel): remove link header when jsonld is not enabled by @valentin-dassonville in #6768
- fix(symfony): typo fix by @rasstislav in #6769
- fix(hydra): store and use hydra context in a local variable by @valentin-dassonville in #6765
New Contributors
- @AirBair made their first contribution in #6759
- @xavierlacot made their first contribution in #6762
- @rasstislav made their first contribution in #6769
Full Changelog: v4.0.6...v4.0.7
v4.0.6
What's Changed
- fix(hydra): hydra context changed by @valentin-dassonville in #6710
- fix(laravel): collection relations other than HasMany by @amermchaudhary in #6737
- feat(laravel): use laravel cache setting by @toitzi in #6751
- fix(symfony): ECMA-262 pattern with RegExp validator by @soyuka in #6733
- fix(hydra): iri template when using query parameter by @soyuka in #6742
- fix(laravel): jsonapi error serialization by @soyuka in #6755
- fix(metadata): providing parameter constraints skips automatic ones by @GeLoLabs in #6756
- Merge 3.4 by @soyuka in #6758
New Contributors
- @valentin-dassonville made their first contribution in #6710
- @amermchaudhary made their first contribution in #6737
- @GeLoLabs made their first contribution in #6756
Full Changelog: v4.0.5...v4.0.6