The server component of API Platform: hypermedia and GraphQL APIs in minutes
MIT License
Published by dunglas over 3 years ago
@context
property possible types (#4223)to the
hydra:view` schema properties (#4310)response
without content
in the openapi_context
(#4210)SchemaFactory::buildSchema()
is now immutable as it no longer modifies the passed $schema
)FieldsBuilder
not fully unwrapping nested types before deciding if a resolver is needed (#4251)BAN
regex performance (#4231)withOptions()
to our HttpClient implementation (#4282)Published by dunglas over 3 years ago
response
support via the openapi_context
(#4116)Link->requestBody
default value (#4116)defaults.order
as collection.order
(#4178)pagination_use_output_walkers
and pagination_fetch_join_collection
for operations (#3311)psr/cache
version 2 and 3 (#4117)Published by dunglas over 3 years ago
POST
operations even if no identifier is defined (#4052)hydra:next
property (#4015)NullToken
when using the new authenticator manager in the resource access checker (#4067)isActive
and method isActive
) (#4064)$ref
when no type
is used in context (#4076)Published by dunglas over 3 years ago
ALLOW_EXTRA_ATTRIBUTE=false
as it is a BC break and will be done in 3.0 instead see #3881 (#4007)requestBody
and parameters
via the openapi_context
(#4001), make openapi_context
work on subresources (#4004), sort paths (#4013)Published by dunglas over 3 years ago
Published by dunglas almost 4 years ago
max_header_length
configuration (#2865)stale-while-revalidate
and stale-if-error
cache control headers (#3439)ApiPlatform\Core\DataTransformer\DataTransformerInitializerInterface
to pre-hydrate inputs (#3701)previous_data
to the context passed to persisters when available (#3752)ResumableDataPersisterInterface
that allows to call multiple persisters (#3912)asset_package
configurable (#3764)Paginator
class constructor now receives the denormalization context to support denormalizing documents using serialization groups. This change may cause potential BC breaks for existing applications as denormalization was previously done without serialization groups.order: [{foo: 'asc'}, {bar: 'desc'}]
(#3468)operation
is now operationName
to follow the standard (#3568)paginationType
is now pagination_type
(#3614)iri_only
attribute to simplify documents structure (useful when using Vulcain) (#3275)ApiPlatform\Core\Exception\ErrorCodeSerializableInterface
(#2922)normalization_context
option in mercure
attribute (#3772)InheritedPropertyMetadataFactory
(#3273)@Ignore
annotation (#3820)id
as default identifier if none provided (#3874)allowDiskUse
(#3144)[a-zA-Z0-9\.\-_]
to .
in definition names to be compliant with OpenAPI 3.0 (#3669)url_generation_strategy
(#3198)ApiResource
attribute (#3436)resourceClass
can now be defined as a container parameter in XML and YAML definitionsItemNormalizer
without Symfony SecurityBundle (#3801)getCookieJar
test.api_platform.client
service when the FrameworkBundle
bundle is registered after the ApiPlatformBundle
bundle (#3928)ApiPlatform\Core\Validator\ValidationGroupsGeneratorInterface
ApiPlatform\Core\Bridge\Symfony\Validator\ValidationGroupsGeneratorInterface
(#3346)ExceptionInterface
now extends \Throwable
(#3217)Published by dunglas almost 4 years ago
hydra:next
when the item total is strictly greater than the number of items per page (#3967)Published by dunglas almost 4 years ago
The first beta of API Platform 2.6!
Published by dunglas almost 4 years ago
AbstractPaginator
class (#3827)additionalProp1
from showing in example values (#3888)hydra:mapping
properties as nullable (#3877)Published by dunglas almost 4 years ago
max_header_length
configuration (#2865)stale-while-revalidate
and stale-if-error
cache control headers (#3439)ApiPlatform\Core\DataTransformer\DataTransformerInitializerInterface
to pre-hydrate inputs (#3701)previous_data
to the context passed to persisters when available (#3752)asset_package
configurable (#3764)Paginator
class constructor now receives the denormalization context to support denormalizing documents using serialization groups. This change may cause potential BC breaks for existing applications as denormalization was previously done without serialization groups.order: [{foo: 'asc'}, {bar: 'desc'}]
(#3468)operation
is now operationName
to follow the standard (#3568)paginationType
is now pagination_type
(#3614)iri_only
attribute to simplify documents structure (useful when using Vulcain) (#3275)ApiPlatform\Core\Exception\ErrorCodeSerializableInterface
(#2922)normalization_context
option in mercure
attribute (#3772)messenger=persist
to option to call the standard data persister before publishing the message (#3617)InheritedPropertyMetadataFactory
(#3273)@Ignore
annotation (#3820)id
as default identifier if none provided (#3874)allowDiskUse
(#3144)[a-zA-Z0-9\.\-_]
to .
in definition names to be compliant with OpenAPI 3.0 (#3669)url_generation_strategy
(#3198)ApiResource
attribute (#3436)resourceClass
can now be defined as a container parameter in XML and YAML definitionsItemNormalizer
without Symfony SecurityBundle (#3801)getCookieJar
ApiPlatform\Core\Validator\ValidationGroupsGeneratorInterface
ApiPlatform\Core\Bridge\Symfony\Validator\ValidationGroupsGeneratorInterface
(#3346)ExceptionInterface
now extends \Throwable
(#3217)Published by dunglas almost 4 years ago
@type
from collection using output DTOs (#3699)PurgeHttpCacheListener
performances (#3743)VarnishPurger
max header length (#3843)SwaggerCommand
(#3802)For compatibility reasons with Symfony 5.2 and PHP 8, we do not test anymore the integration with these legacy packages:
Published by dunglas about 4 years ago
Cache-Control
HTTP header can be private (#3543)ManagerRegistry
class (#3684)Published by dunglas over 4 years ago
Published by dunglas over 4 years ago
setParameter
of the SearchFilter #3331\Traversable
resources #3463hydra:writable
=> hydra:writeable
#3481hydra:next
only when it's available #3457ValidationException
instead of Symfony's #3414before
or after
#3360Published by dunglas almost 5 years ago
ResourceClassResolver::getResourceClass()
SearchFilter
Published by dunglas almost 5 years ago
hasNextPage
when offset > itemsPerPage
Published by dunglas almost 5 years ago
ApiResource::$paginationPartial
AbstractItemNormalizer::normalizeRelation
Published by dunglas almost 5 years ago
SerializerContextBuilder
@ApiFilter
annotation404
HTTP status code instead of 500
whe the identifier is invalid (e.g.: invalid UUID)@ApiResource
annotation's attributes to improve DXfilter
query parameterbody
parameter if it already existsoauth2-redirect
configurationSecurityBundle
was not installedfetch
Published by dunglas about 5 years ago
Read the curated changelog.
access_control
item_query
and collection_query
typesPublished by dunglas about 5 years ago
maximum_items_per_page
attribute consistent with other attributes controlling pagination