The server component of API Platform: hypermedia and GraphQL APIs in minutes
MIT License
Published by soyuka 8 months ago
fix(hydra): remove dependency from ApiPlatform/Api dependency by @aegypius in https://github.com/api-platform/core/pull/6154
fix(graphql): Embedded nullable relations graphql by @Koenstell in https://github.com/api-platform/core/pull/6100
fix(symfony): reduce json-problem dependencies by @soyuka in https://github.com/api-platform/core/pull/6169
feat: Paginators for Doctrine Collection & Selectable by @priyadi in https://github.com/api-platform/core/pull/6153
feat(graphql): partial pagination for page based pagination by @xavierleune in https://github.com/api-platform/core/pull/6120
feat: improve ApiProperty::security using property name by @vincentchalamon in https://github.com/api-platform/core/pull/5853
feat(symfony): add getOperation
Expression Language function on Mercure topics by @vincentchalamon in https://github.com/api-platform/core/pull/5854
Full Changelog: https://github.com/api-platform/core/compare/v3.3.0-alpha.1...v3.3.0-alpha.2
Published by soyuka 8 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.15...v3.2.16
Published by soyuka 8 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.1.25...v3.1.26
Published by soyuka 8 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.14...v3.2.15
Published by soyuka 8 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.13...v3.2.14
Published by soyuka 9 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.12...v3.2.13
Published by soyuka 9 months ago
fix(serializer): fix TagCollector for JSONAPI and HAL format by @usu in https://github.com/api-platform/core/pull/6076
fix(graphql): use normalization context to get item from IRI by @bkosun in https://github.com/api-platform/core/pull/5915
fix(doctrine): constants case sensitive values by @soyuka in https://github.com/api-platform/core/pull/6066
feat(serializer): collect cache tags using a TagCollector by @usu in https://github.com/api-platform/core/pull/5758
feat: allow to extend link handling by @soyuka in https://github.com/api-platform/core/pull/6061
feat(parametervalidator): create api-platform/parameter-validator component by @aegypius in https://github.com/api-platform/core/pull/6080
feat(subresource): Link Security by @KDederichs in https://github.com/api-platform/core/pull/5290
feat(symfony): request and view kernel listeners by @soyuka in https://github.com/api-platform/core/pull/6102
feat(metadata): headers configuration by @soyuka in https://github.com/api-platform/core/pull/6074
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
.
Full Changelog: https://github.com/api-platform/core/compare/v3.2.11...v3.3.0-alpha.1
Published by soyuka 9 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.11...v3.2.12
MongoDB ODM is now compatible with Symfony 7.
Published by soyuka 10 months ago
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: https://github.com/api-platform/core/compare/v3.2.10...v3.2.11
Published by soyuka 10 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.1.24...v3.1.25
Published by soyuka 10 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.9...v3.2.10
Published by soyuka 10 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.8...v3.2.9
Published by soyuka 10 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.1.23...v3.1.24
Published by soyuka 10 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.7...v3.2.8
Published by soyuka 11 months ago
Symfony 7 support.
Full Changelog: https://github.com/api-platform/core/compare/v3.2.6...v3.2.7
Published by soyuka 11 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.1.22...v3.1.23
Published by soyuka 11 months ago
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
Full Changelog: https://github.com/api-platform/core/compare/v3.2.5...v3.2.6
Published by soyuka 11 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.4...v3.2.5
Published by soyuka 12 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.2.1...v3.2.2
Published by soyuka 12 months ago
Full Changelog: https://github.com/api-platform/core/compare/v3.1.21...v3.1.22