Releases: api-platform/core
Releases · api-platform/core
v4.0.14
What's Changed
- fix(openapi): not forbidden response on openAPI doc by @vinceAmstoutz in #6886
- fix(symfony): remove unsolvable deprecation by @soyuka in #6899
- chore: add missing deprecation notices to ParameterValidator by @dunglas in #6655
- fix(symfony): revert json schema bc break by @soyuka in #6903
- cs: php-cs-fixer 3.66.0 compatibility by @vinceAmstoutz in #6902
- Merge 3.4 by @soyuka in #6905
- Allow phpstan/phpdoc-parser 2 (which in turns allow PHPstan 2, Larastan 3) for api-platform/laravel by @ziming in #6900
- fix(graphql): register types for parameter args by @toitzi in #6895
- fix(metadata): make the schema attribute to fallback to null for parameters in YamlResourceExtractor by @wuchen90 in #6896
New Contributors
Full Changelog: v4.0.13...v4.0.14
v3.4.14
What's Changed
- fix(openapi): not forbidden response on openAPI doc by @vinceAmstoutz in #6886
- fix(symfony): remove unsolvable deprecation by @soyuka in #6899
- chore: add missing deprecation notices to ParameterValidator by @dunglas in #6655
- fix(symfony): revert json schema bc break by @soyuka in #6903
- fix(metadata): make the schema attribute to fallback to null for parameters in YamlResourceExtractor by @wuchen90 in #6896
Full Changelog: v3.4.10...v3.4.14
v4.1.0-alpha.1
What's Changed
- feat: if a policy matches the name of a model we automatically register it by @valentindrdt in #6623
- feat: add hal support for laravel by @valentindrdt in #6621
- chore: missing .gitattributes by @simondaigre in #6757
- fix: reintroduce the
show_webby
parameter in Laravel config by @Deuchnord in #6741 - feat(doctrine): doctrine filters like laravel eloquent filters by @vinceAmstoutz in #6775
- feat(laravel): boolean filter by @adryyy10 in #6806
- feat(openapi): HTTP Authentication Support for Swagger UI by @toitzi in #6665
- feat(state): strict query parameters by @soyuka in #6399
- feat(laravel): Fixing BelongsToManyThrough by @amermchaudhary in #6862
- fix(jsonld): anonymous context hydra_prefix value by @soyuka in #6873
- feat(doctrine): enhance getLinksHandler with method validation and typo suggestions by @SebLevDev in #6874
- fix: exception formatting by calling array_keys() by @soyuka in #6879
- fix(laravel): jsonapi query parameters (page, sort, fields and include) by @soyuka in #6876
- feat(graphql): allow to configure max query depth and max query compl… by @soyuka in #6880
- feat(metadata): hide an hydra endpoint (draft) by @soyuka in #6871
New Contributors
- @valentindrdt made their first contribution in #6623
- @simondaigre made their first contribution in #6757
- @adryyy10 made their first contribution in #6806
- @SebLevDev made their first contribution in #6874
Full Changelog: v4.0.12...v4.1.0-alpha.1
v3.4.10
v4.0.12
What's Changed
- fix(jsonschema): hashmaps produces invalid openapi schema by @vinceAmstoutz in #6830
- Fix/missing error normalizer trait by @mladencosa in #6853
- [Laravel] Fix GraphQL Resolver Discovery by @toitzi in #6855
- fix: test empty parameter against null by @soyuka in #6852
- test(laravel): class AddAssetSymlinkFolders from TestBench namespace by @soyuka in #6860
- fix: filter may not use FilterInterface by @soyuka in #6858
- fix(metadata): various parameter improvements by @soyuka in #6867
- [Laravel] Graphql simple pagination fix "hasNextPage" by @toitzi in #6857
New Contributors
- @mladencosa made their first contribution in #6853
Full Changelog: v4.0.11...v4.0.12
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