Releases: api-platform/core
v3.3.0-alpha.1
What's Changed
-
fix(serializer): fix TagCollector for JSONAPI and HAL format by @usu in #6076
-
fix(graphql): use normalization context to get item from IRI by @bkosun in #5915
-
fix(doctrine): constants case sensitive values by @soyuka in #6066
-
feat(serializer): collect cache tags using a TagCollector by @usu in #5758
-
feat(parametervalidator): create api-platform/parameter-validator component by @aegypius in #6080
-
feat(subresource): Link Security by @KDederichs in #5290
-
feat(symfony): request and view kernel listeners by @soyuka in #6102
Components:
api-platform/parametervalidator
api-platform/doctrine-common
api-platform/doctrine-orm
api-platform/doctrine-odm
A new interface ApiPlatform\Serializer\TagCollectorInterface
allows to collect cache tags (IRIs) during serialization instead of using API Platform defaults.
An experimental feature (#5290) gives the ability to use security
on sub resource links.
If you use controllers you should use:
api_platform:
use_symfony_listeners: true
The default is false
you can get rid of the event_listeners_backward_compatibility_layer
flag. You can now force an operation state, for example:
<?php
#[Delete(validate: true)]
#[Post(read: true)]
class Book {}
These namespaces are deprecated:
ApiPlatform\Api
ApiPlatform\Exception
ApiPlatform\Problem
ApiPlatform\Action
ApiPlatform\Util
Most of the classes have moved to ApiPlatform\Metadata
.
New Contributors
- @aegypius made their first contribution in #6080
- @GromNaN made their first contribution in #6090
- @dependabot made their first contribution in #6075
Full Changelog: v3.2.11...v3.3.0-alpha.1
v3.2.12
What's Changed
- docs: better generics support for State\ProcessorInterface by @dunglas in #6103
- fix(jsonschema): keep integer and number properties draft 4 compliant by @llupa in #6098
- fix(graphql): remove count query if paginationInfo is not requested by @xavierleune in #6068
New Contributors
Full Changelog: v3.2.11...v3.2.12
MongoDB ODM is now compatible with Symfony 7.
v3.2.11
What's Changed
- fix(symfony): use Type constraint violation code instead of exception code by @norkunas in #6064
- fix(serializer): integrate root_resource_class to cache key by @soyuka in #6073
- fix: In PHP, requests without content-type will result in an empty content-type, not null by @priyadi in #6078
- compatibility with OpenAPI 3.0 by @Romaixn in #6065
For OpenAPI 3.0, the spec_version=3.0.0
query parameter will force OpenAPI to the 3.0 version. This option is also available through the command line.
Full Changelog: v3.2.10...v3.2.11
v3.1.25
v3.2.10
What's Changed
- Hotfix/fix attribute filter parsing by @celinederoland in #6062
New Contributors
- @celinederoland made their first contribution in #6062
Full Changelog: v3.2.9...v3.2.10
v3.2.9
v3.2.8
What's Changed
- ci: php 8.3 by @soyuka in #6013
- fix: remove link to ApiDocumentation when doc is disabled by @jderusse in #6029
- ci: use sebastian/comparator<5.0 by @soyuka in #6044
- fix(jsonschema): integer instead of int @sarim in #6049
- feat(metadata): throw exception if itemUriTemplate if used on invalid operation (xml/yaml formats) by @vincentchalamon in #6053
- fix(jsonschema): keep format subschema generation by @soyuka in #6055
- fix(metadata): item_uri_template conflict with context on relation by @vincentchalamon in #6015
- fix(doctrine): get reference with identifier value by @soyuka in #6019
- fix(symfony): use Type constraint violation code instead of exception code by @norkunas in #6037
- fix(symfony): fallback content-type error format by @soyuka in #6056
- fix(serializer): inconsistency in context concatenation with fetch_data by @anoziere in #6050
- fix(symfony): do not use metadata when merging schema constraints in Collection constraint by @alanpoulain in #6057
- fix(jsonschema): add iri example @ERuban in #5901
New Contributors
Full Changelog: v3.2.7...v3.2.8
v3.1.24
What's Changed
- ci: use sebastian/comparator<5.0 by @soyuka in #6044
- fix(doctrine): get reference with identifier value by @soyuka in #6019
- fix(symfony): use Type constraint violation code instead of exception code by @norkunas in #6037
- fix(serializer): inconsistency in context concatenation with fetch_data by @anoziere in #6050
- fix(jsonschema): add iri example @ERuban in #5901
New Contributors
Full Changelog: v3.1.23...v3.1.24
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