The server component of API Platform: hypermedia and GraphQL APIs in minutes
MIT License
Published by dunglas over 6 years ago
FilterEagerLoadingExtension
now accepts joins with class name as join valuePublished by dunglas over 6 years ago
ApiPlatform\Core\EventListener\EventPriorities
's PRE_SERIALIZE
and POST_SERIALIZE
constantsenable_max_depth
if definedPublished by dunglas over 6 years ago
ExistFilter
to work properly with GraphQLChainSubresourceDataProvider
to take into account RestrictedDataProviderInterface
POST
request to have an empty bodyIriConverter
Link
HTTP header pointing to the Hydra documentation if docs are disabledOrderFilter
to trigger faulty deprecation noticesfetchEager=false
directive on an association in the EagerLoadingExtension
ItemNormalizer
ConstraintViolationListNormalizer
CachedRouteNameResolver
and CachedSubresourceOperationFactory
by adding a local memory cache layerisResourceClass
when possibletry/catch
in the CachedTrait
IriConverter
Published by dunglas over 6 years ago
ChainSubresourceDataProvider
class to take into account RestrictedDataProviderInterface
Published by dunglas over 6 years ago
FilterEagerLoadingExtension
with manual joinsPublished by dunglas over 6 years ago
@ApiFilter
annotations on the same classPublished by dunglas over 6 years ago
SubresourceDataProviderInterface
DateTimeImmutable
support in the date filterDocumentationAction
impacting NelmioApiDocPublished by dunglas over 6 years ago
Merge branch 2.1.
Published by dunglas over 6 years ago
For an overview of the main new features of this version, read the release announcement.
@ApiFilter
annotation to directly configure filters from resource classesCOUNT()
SQL queriesallow_plain_identifiers
option to allow using plain IDs as identifier instead of IRIsAbstractCollectionNormalizer
to help supporting custom formatsApiPlatform\Core\Bridge\Doctrine\EventListener\WriteListener
class in favor of the new ApiPlatform\Core\EventListener\WriteListener
class.api_platform.doctrine.listener.view.write
event listener service.ApiPlatform\Core\DataPersister\DataPersisterInterface
interface.access_control_message
attributePublished by dunglas over 6 years ago
access_control_message
attributealways identifier
new feature to propose it directly in Symfony instead (see #1696)Published by dunglas over 6 years ago
Published by dunglas almost 7 years ago
POST
HTTP request0
items per page in collectionsHost
from the Symfony RouterPaginator::getLastPage()
now always returns a float
Published by dunglas almost 7 years ago
@ApiFilter
annotation to directly configure filters from resource classesCOUNT()
SQL queriesallow_plain_identifiers
option to allow using plain IDs as identifier instead of IRIsAbstractCollectionNormalizer
to help supporting custom formatsApiPlatform\Core\Bridge\Doctrine\EventListener\WriteListener
class in favor of the new ApiPlatform\Core\EventListener\WriteListener
class.api_platform.doctrine.listener.view.write
event listener service.ApiPlatform\Core\DataPersister\DataPersisterInterface
interface.alwaysIdentifier
configuration option for properties that force serializer to generate an IRI for the relationPublished by dunglas almost 7 years ago
Published by dunglas almost 7 years ago
owl:allValuesFrom
in the API documentationnull
Published by dunglas about 7 years ago
PriorityTaggedServiceTrait
provided by Symfony instead of a custom implementationPublished by dunglas about 7 years ago
Published by dunglas about 7 years ago
/posts/1/comments
or /posts/1/comments/2
RequestAttributesExtractor
FilterCollection
classpagination
and itemPerPage
parameters in the Swagger/Open API documentationPublished by dunglas about 7 years ago
hydra_context
option take precedence over operation metadataItemNormalizer
(raw JSON, XML)#
Published by dunglas over 7 years ago
A lot of bug fixes and performance improvement.
Changelog: https://github.com/api-platform/core/blob/master/CHANGELOG.md#210
For the differences with 2.1.0 beta 1, check https://github.com/api-platform/core/compare/v2.1.0-beta.1...v2.1.0-beta.2.