Releases: api-platform/core
Releases · api-platform/core
v3.2.7
Symfony 7 support.
What's Changed
- chore: support symfony 7 by @soyuka in #6009
- fix(openapi): exclusive properties dont allow booleans for open api 3.1 by @arnedesmedt in #5993
- fix(doctrine): missing eager joins on to-one relationships by @MariusJam in #5992
- fix(graphql): Consider writable attribute for nested objects by @jotwea in #5954
- fix(jsonschema): fix recursive documentation when using a dto entity wrapper by @sergiuionescu in #5973
- fix(jsonschema): indirect resource input schema by @soyuka in #6001
- fix(symfony): error in provider without uri variables by @soyuka in #6005
- fix(openapi): entrypoint access vnd+openapi by @soyuka in #6012
New Contributors
- @MariusJam made their first contribution in #5992
- @sergiuionescu made their first contribution in #5973
Full Changelog: v3.2.6...v3.2.7
v3.1.23
What's Changed
- chore: support symfony 7 by @soyuka in #6009
- chore(dependabot): add dependabot by @sad270 in #5947
- fix(doctrine): missing eager joins on to-one relationships by @MariusJam in #5992
- fix(jsonschema): fix recursive documentation when using a dto entity wrapper by @sergiuionescu in #5973
New Contributors
- @sad270 made their first contribution in #5947
- @MariusJam made their first contribution in #5992
- @sergiuionescu made their first contribution in #5973
Full Changelog: v3.1.22...v3.1.23
v3.2.6
What's Changed
- chore(dependabot): add dependabot by @sad270 in #5947
- fix: errors bc with rfc_7807_compliant_errors false by @soyuka in #5974
- Bugfix childentity openapi generation by @Fr13nzzz in #5989
To have errors backward compatible with 3.1, use:
api_platform:
defaults:
extra_properties:
rfc_7807_compliant_errors: false
New extension points are available using Errors with rfc_7807_compliant_errors: true
such as Error provider and Error Resource
New Contributors
Full Changelog: v3.2.5...v3.2.6
v3.2.5
Full Changelog: v3.2.4...v3.2.5
v3.2.2
What's Changed
- fix: misnamed, so unused, variable in UriVariablesResolverTrait by @paullallier in #5898
- fix(doctrine): odm order filter should use a left join on nullable fi… by @skalrayi in #5911
- fix(symfony): swagger ui should use base url by @soyuka in #5918
- fix(jsonschema): restore type factory usage by @soyuka in #5897
- fix(graphql): service missing in debug mode by @soyuka in #5930
- fix(serializer): use http exception headers by @soyuka in #5932
- fix(serializer): use error normalizers by @soyuka in #5931
- perf(http_cache): don't load every value for a non-resource collection by @mwierzbi in #5922
- fix(graphql): item resolver inheritance error by @charlieandroid55 in #5910
New Contributors
- @paullallier made their first contribution in #5898
- @skalrayi made their first contribution in #5911
- @mwierzbi made their first contribution in #5922
- @charlieandroid55 made their first contribution in #5910
Full Changelog: v3.2.1...v3.2.2
v3.1.22
What's Changed
- fix: misnamed, so unused, variable in UriVariablesResolverTrait by @paullallier in #5898
- chore: symfony dev updates by @soyuka in #5895
- perf(http_cache): don't load every value for a non-resource collection by @mwierzbi in #5922
- Pass the context to IriConverter in AbstractItemNormalizer by @GSadee in #5908
New Contributors
- @paullallier made their first contribution in #5898
- @mwierzbi made their first contribution in #5922
Full Changelog: v3.1.21...v3.1.22
v3.2.1
What's Changed
- fix(metadata): interface breaking in 3.2 by @soyuka in #5883
- fix(state): add link header processor without links by @soyuka in #5888
- minor: remove reference to .woff fonts-format by @Chris53897 in #5730
- fix: error traces without arguments by @soyuka in #5891
- fix(graphql): docs should answer text/html by @soyuka in #5893
New Contributors
- @Chris53897 made their first contribution in #5730
Full Changelog: v3.2.0...v3.2.1
v3.1.21
What's Changed
- minor: remove reference to .woff fonts-format by @Chris53897 in #5730
New Contributors
- @Chris53897 made their first contribution in #5730
Full Changelog: v3.1.20...v3.1.21
v3.2.0
What's Changed
Features
- feat(graphql)!: add extra args for custom queries or mutations by @alanpoulain in #5359
- refactor(metadata): metadata common abstract class by @Byidi in #5364
- refactor(metadata): replace HttpOperation constants by raw strings by @helyakin in #5494
- feat(tests): add a method to generate the IRI from a resource by @GaryPEGEOT in #5582
- feat: error as resources, jsonld errors are now problem-compliant by @JacquesDurand in #5433
- feat: replace doctrine/inflector by symfony/string by @Romaixn in #5637
- Support union/intersect types by @vincentchalamon in #5470
- feat(graphql): allow to disable the introspection query by @epourail in #5711
- feat(metadata): create sub resources by @vincentchalamon in #5770
- feat(symfony): add mercure assertions by @vincentchalamon in #5764 #5834
- feat(doctrine): stateOptions can handleLinks for query optimization by @soyuka in #5732
- feat(openapi): update Swagger UI to v5.6.2 by @vincentchalamon in #5807
- feat: deprecate not setting formats manually by @soyuka in #5808
- feat(serializer): add ApiProperty::uriTemplate option by @GregoireHebert in #5675
- feat(elasticsearch): filtering on nested fields by @jonnyeom in #5820
- docs(adr): refactor state management by @dunglas in #4655
- refactor: use provider/processor instead of event listeners by @soyuka in #5657
- feat(metadata): canonical_uri_template by @mtarld in #5832
- feat(serializer): allow usage of genId property for collection #5858 by @soyuka in #5870
Fixes:
- fix(metadata): missing parent construct calls with named arguments by @alanpoulain in #5387
- fix(openapi): use 3.1 version by @soyuka in #5489
- fix(serializer): correct supported types for elasticsearch item normalizer decorator by @jdohuutin in #5769
- fix(serializer): no mapping cache in debug mode by @soyuka in #5777
- fix(GraphQL): Add cache_key in item normalizer by @xavierleune in #5686
- fix(elasticsearch): elasticsearch/php 8 compatibility by @soyuka in #5795
- fix(symfony): missing translation contracts by @soyuka in #5799
- fix(symfony): use static variable to store Error by @soyuka in #5837
- fix(FilterContext): add xxx[] hydra:search iexact by @CorentinFackeure in #5850
Subtree split
- chore: subtree split (openapi, doctrine, serializer, ramsey-uid bridge, graphql, http-cache) by @soyuka in #5742
- Update dependencies, add more subtree components by @soyuka in #5813
New Contributors
- @jotwea made their first contribution in #5095
- @JacquesDurand made their first contribution in #5433
- @Romaixn made their first contribution in #5637
- @priyadi made their first contribution in #5776
- @jdohuutin made their first contribution in #5769
- @xavierleune made their first contribution in #5686
- @romainallanot made their first contribution in #5788
- @CorentinFackeure made their first contribution in #5850
- @clementtalleu made their first contribution in #5861
- @kamilrzany made their first contribution in #5817
- @Wojdylak made their first contribution in #5872
Full Changelog: v3.1.15...v3.2.0
v3.2.0-beta.2
What's Changed
- feat(openapi): update Swagger UI to v5.6.2 by @vincentchalamon in #5807
- fix(symfony): use "main" state alias for decoration by @soyuka in #5806
- feat: deprecate not setting formats manually by @soyuka in #5808
- feat(serializer): add ApiProperty::uriTemplate option by @GregoireHebert in #5675
- chore: allow psr/container v1 by @bendavies in #5811
- fix(jsonschema): allow embed resources by @soyuka in #5810
- Update dependencies, add more subtree components by @soyuka in #5813
- feat(elasticsearch): filtering on nested fields by @jonnyeom in #5820
- Revert "feat(elasticsearch): filtering on nested fields" by @soyuka in #5825
- fix: exception to status on error resource by @soyuka in #5823
- fix: profiler can not serialize closure by @soyuka in #5828
- Test guides by @soyuka in #5819
- fix: fix Mercure assertions to public to allow Mercure Hub reset by @vincentchalamon in #5834
- [HTTP] Add canonical_uri_template by @mtarld in #5832
- fix(symfony): use static variable to store Error by @soyuka in #5837
- docs: wrong comment inside guide by @soyuka in #5838
- fix(symfony): show documentation as entrypoint when requesting html by @soyuka in #5836
- Merge 3.1 into main by @soyuka in #5839
- fix(jsonschema): build non-resource class schema by @soyuka in #5842
- fix: errors without compatibility flag by @soyuka in #5841
- fix(FilterContext): add xxx[] hydra:search iexact by @CorentinFackeure in #5850
- docs(subresource): Parser is losing the closing structure on new line by @xavierleune in #5846
- fix(jsonschema): do not override nor complete ApiProperty::schema user value by @vincentchalamon in #5855
- fix: entrypoint for OpenAPI by @vincentchalamon in #5863
- fix(jsonschema): do not override nor complete ApiProperty::schema user value by @vincentchalamon in #5864
- exclude error ressources from graphql by @jotwea in #5848
- fix(openapi): dump security properties scheme as object by @clementtalleu in #5861
- Update PublishMercureUpdatesListener.php by @kamilrzany in #5817
- fix(validation): normalize constraint violation list by @soyuka in #5866
- feat: improve
collectDenormalizationErrors
by @vincentchalamon in #5844 - chore: wrong namespace by @soyuka in #5857
- fix(jsonschema): field with unknown_type by @romainallanot in #5869
- Merge 3.1 into main by @soyuka in #5871
- fix(serializer): allow usage of genId property for collection #5858 by @soyuka in #5870
- fix(openapi): entrypoint text/html 200 by @soyuka in #5868
New Contributors
- @CorentinFackeure made their first contribution in #5850
- @clementtalleu made their first contribution in #5861
- @kamilrzany made their first contribution in #5817
Full Changelog: v3.2.0-alpha.2...v3.2.0-beta.2