NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #717 most downloaded on Packagist
Build a fully-featured hypermedia or GraphQL API in minutes!
Latest stable
v5.0.6
Last release 9 days ago
06 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
403 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
04c30b7ee fix(jsonapi): prevent double unwrapping of data.attributes with input DTOs
fix(metadata): sort parameters by priority after pattern expansion by @soyuka in https://github.com/api-platform/core/pull/7788
Full Changelog: https://github.com/api-platform/core/compare/v4.2.17...v4.2.18
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: remove extra empty lines insertion in SymfonyServiceClassConstantFixer by @Maxcastel in https://github.com/api-platform/core/pull/7761
Full Changelog: https://github.com/api-platform/core/compare/v4.2.16...v4.2.17
fix(laravel): support numeric float types in eloquent metadata factory by @soyuka in https://github.com/api-platform/core/pull/7730
Full Changelog: https://github.com/api-platform/core/compare/v4.2.15...v4.2.16
add phpunit.baseline.xml to .gitattributes by @gharlan in https://github.com/api-platform/core/pull/7692
phpunit.baseline.xml to .gitattributes by @gharlan in https://github.com/api-platform/core/pull/7692Full Changelog: https://github.com/api-platform/core/compare/v4.2.14...v4.2.15
fix(doctrine): useless generateParameterName call by @VincentLanglet in https://github.com/api-platform/core/pull/7679
Symfony\Component\TypeInfo\Type::getClassName() by @Maxcastel in https://github.com/api-platform/core/pull/7685Full Changelog: https://github.com/api-platform/core/compare/v4.2.13...v4.2.14
Add phpdoc for array of some interface by @VincentLanglet in https://github.com/api-platform/core/pull/7583
ConcernsResourceMetadataCollectionFactory by @ttskch in https://github.com/api-platform/core/pull/7676Full Changelog: https://github.com/api-platform/core/compare/v4.2.12...v4.2.13
Add AsCommand attribute to replace deprecated getDefaultName() by @eneko-koraliving in https://github.com/api-platform/core/pull/7633
Happy new year 2026 :fireworks:!
% or _ in search filter by @VincentLanglet in https://github.com/api-platform/core/pull/7653pagination_maximum_items_per_page defaults correctly when config defaults key is absent by @Maxcastel in https://github.com/api-platform/core/pull/7609Full Changelog: https://github.com/api-platform/core/compare/v4.2.11...v4.2.12
% or _ in search filter (#7653)fix(symfony): enable to set default values for stale-while-revalidate and stale-if-error cache headers via config file by @ttskch in https://github.co
Full Changelog: https://github.com/api-platform/core/compare/v4.2.10...v4.2.11
stale-while-revalidate and stale-if-error cache headers via config file (#7606)fix: Add support for the Deprecation header by @aaa2000 in https://github.com/api-platform/core/pull/7582
Full Changelog: https://github.com/api-platform/core/compare/v4.2.9...v4.2.10
> Inside a filter you may receive a scalar value where you expected an array especially when using a custom filter extending the AbstractFilter, with
[!WARNING] Inside a filter you may receive a scalar value where you expected an array especially when using a custom filter extending the AbstractFilter, with a :property placeholder. Read more at https://github.com/api-platform/core/pull/7547
Full Changelog: https://github.com/api-platform/core/compare/v4.2.7...v4.2.9
Nothing published for this version
chore: support symfony 8 by @soyuka in https://github.com/api-platform/core/pull/7561
Full Changelog: https://github.com/api-platform/core/compare/v4.2.6...v4.2.7
53d3f8481 fix(state): object mapper flag
Fix class existence check for ObjectMapperAwareInterface by @rvanlaak in https://github.com/api-platform/core/pull/7539
Full Changelog: https://github.com/api-platform/core/compare/v4.2.4...v4.2.5
20f288959 fix: multiple :property template operations on a single resource
9416083f7 fix(state): object mapper aware interface
Parameters (#7492)member property out of HydraCollectionBaseSchema (#7456)mixed properties to string|null instead of null (#7489)fix(jsonschema): make all required properties optional in PATCH operation with 'json' format by @ttskch in https://github.com/api-platform/core/pull/7
@id and @type properties required only in the JSON-LD schema for output by @ttskch in https://github.com/api-platform/core/pull/7397KernelBrowser::loginUser() by @ttskch in https://github.com/api-platform/core/pull/7446Full Changelog: https://github.com/api-platform/core/compare/v4.2.1...v4.2.2
@id and @type properties required only in the JSON-LD schema for output (#7397)KernelBrowser::loginUser() (#7446)fix(jsonld): hydra context w3.org updates by @soyuka in https://github.com/api-platform/core/pull/7410
pagination_maximum_items_per_page same as Laravel version by @ttskch in https://github.com/api-platform/core/pull/7396Full Changelog: https://github.com/api-platform/core/compare/v4.2.0...v4.2.1
pagination_maximum_items_per_page same as Laravel version (#7396)Also includes v4.1.25 bug fixes
fix(serializer): deprecate SerializerAwareProviderInterface and SerializableProvider by @vinceAmstoutz in https://github.com/api-platform/core/pull/73…
#[ApiResource] attribute by @GromNaN in https://github.com/api-platform/core/pull/6943TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7100TypeInfo type by @soyuka in https://github.com/api-platform/core/pull/7097TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7099Type of TypeInfo instead of PropertyInfo by @mtarld in https://github.com/api-platform/core/pull/6979TypeInfo type by @soyuka in https://github.com/api-platform/core/pull/7098TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7096TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7101ParameterExtension context more generic by @GromNaN in https://github.com/api-platform/core/pull/7389#[ApiResource] attribute (#6943)TypeInfo's Type (#7100)TypeInfo type (#7097)TypeInfo's Type (#7099)Type of TypeInfo instead of PropertyInfo (#6979)TypeInfo type (#7098)TypeInfo's Type (#7096)TypeInfo's Type (#7101)ParameterExtension context more generic (#7389)fix(httpcache): collection iri invalidation for mapped entities by @mrossard in https://github.com/api-platform/core/pull/7353
Full Changelog: https://github.com/api-platform/core/compare/v4.2.0-alpha.3...v4.2.0-beta.1
Also includes patches from v4.1.24 and v4.2.0-alpha fixes
fix(serializer): deprecate SerializerAwareProviderInterface and SerializableProvider by @vinceAmstoutz in https://github.com/api-platform/core/pull/73…
Full Changelog: https://github.com/api-platform/core/compare/v4.2.0-alpha.2...v4.2.0-alpha.3
partial query parameter to OpenAPI when pagination_client_enabled is true (#7295)Link (#7342)#[ApiResource] attribute (#6943)JSON Streamer:
Object Mapper:
TypeInfo:
TypeInfo's Type (#7099)Type of TypeInfo instead of PropertyInfo (#6979)TypeInfo type (#7098)TypeInfo's Type (#7096)TypeInfo's Type (#7101)TypeInfo's Type (#7100)TypeInfo type (#7097)fix: symfony deprecations by @VincentLanglet in https://github.com/api-platform/core/pull/7277
partial query parameter to OpenAPI when pagination_client_enabled is true by @ttskch in https://github.com/api-platform/core/pull/7295Link by @jonerickson in https://github.com/api-platform/core/pull/7342Full Changelog: https://github.com/api-platform/core/compare/v4.2.0-alpha.1...v4.2.0-alpha.2
partial query parameter to OpenAPI when pagination_client_enabled is true (#7295)Link (#7342)#[ApiResource] attribute (#6943)JSON Streamer:
Object Mapper:
TypeInfo:
TypeInfo's Type (#7099)Type of TypeInfo instead of PropertyInfo (#6979)TypeInfo type (#7098)TypeInfo's Type (#7096)TypeInfo's Type (#7101)TypeInfo's Type (#7100)TypeInfo type (#7097)feat(symfony): object mapper with state options by @soyuka in https://github.com/api-platform/core/pull/6801
Object Mapper:
Various features:
#[ApiResource] attribute by @GromNaN in https://github.com/api-platform/core/pull/6943PHPStan 2:
TypeInfo component:
Type of TypeInfo instead of PropertyInfo by @mtarld in https://github.com/api-platform/core/pull/6979TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7096TypeInfo type by @soyuka in https://github.com/api-platform/core/pull/7097TypeInfo type by @soyuka in https://github.com/api-platform/core/pull/7098TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7099TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7100TypeInfo's Type by @soyuka in https://github.com/api-platform/core/pull/7101Bug fixes:
validator.query-parameter-validation by @alexndlm in https://github.com/api-platform/core/pull/7139Full Changelog: https://github.com/api-platform/core/compare/v4.1.18...v4.2.0-alpha.1
Introducing new Symfony components!
#[ApiResource] attribute (#6943)Object Mapper:
TypeInfo:
TypeInfo's Type (#7099)Type of TypeInfo instead of PropertyInfo (#6979)TypeInfo type (#7098)TypeInfo's Type (#7096)TypeInfo's Type (#7101)TypeInfo's Type (#7100)TypeInfo type (#7097)Fixes CVE-2026-54164 (GHSA-9rjg-x2p2-h68h) — type confusion: relation IRIs were not type-checked, so a writable relation could be assigned a resource…
Fixes CVE-2026-54164 (GHSA-9rjg-x2p2-h68h) — type confusion: relation IRIs were not type-checked, so a writable relation could be assigned a resource of the wrong type.
Full Changelog: https://github.com/api-platform/core/compare/v4.1.29...v4.1.30
ErrorProvider: fix typo in _api_operation_nme by @Maxcastel in https://github.com/api-platform/core/pull/7637
Full Changelog: https://github.com/api-platform/core/compare/v4.1.28...v4.1.29
Full Changelog: https://github.com/api-platform/core/compare/v4.1.27...v4.1.28
Full Changelog: https://github.com/api-platform/core/compare/v4.1.27...v4.1.28
3df65aa86 fix(symfony): allow disabling PHPStan PhpDocParser
4fa6d3fa2 fix(laravel): groups with input/output
fix(jsonld): hydra context w3.org updates by @soyuka in https://github.com/api-platform/core/pull/7410
Full Changelog: https://github.com/api-platform/core/compare/v4.1.24...v4.1.25
fix: phpdoc for HttpOperation paginationViaCursor parameter by @emmanuel-averty in https://github.com/api-platform/core/pull/7379
Full Changelog: https://github.com/api-platform/core/compare/v4.1.23...v4.1.24
Laravel compatibility with api-platform/http-cache:
Only set name_converter for the default serializer by @mbeccati in https://github.com/api-platform/core/pull/7365
Full Changelog: https://github.com/api-platform/core/compare/v4.1.22...v4.1.23
fix(laravel): serialization issue with camelCase relation by @soyuka in https://github.com/api-platform/core/pull/7356
Full Changelog: https://github.com/api-platform/core/compare/v4.1.21...v4.1.22
Allow null on allowReserved and allowEmptyValue properties by @snoob in https://github.com/api-platform/core/pull/7315
Link by @jonerickson in https://github.com/api-platform/core/pull/7342Full Changelog: https://github.com/api-platform/core/compare/v4.1.20...v4.1.21
Link (#7342)chore: allow doctrine persistence ^4 version by @soyuka in https://github.com/api-platform/core/pull/7309
@type shortName by @soyuka in https://github.com/api-platform/core/pull/7312Full Changelog: https://github.com/api-platform/core/compare/v4.1.19...v4.1.20
fix(symfony): restore graphql_playground option by @soyuka in https://github.com/api-platform/core/pull/7274
partial query parameter to OpenAPI when pagination_client_enabled is true by @ttskch in https://github.com/api-platform/core/pull/7295Full Changelog: https://github.com/api-platform/core/compare/v4.1.18...v4.1.19
partial query parameter to OpenAPI when pagination_client_enabled is true (#7295)chore: remove 3.4 deprecation by @maxhelias in https://github.com/api-platform/core/pull/7204
ApiPlatform\Symfony\Bundle\Test\Client::getContainer return type by @VincentLanglet in https://github.com/api-platform/core/pull/7230genId is false (#7162) by @ambroisemaupate in https://github.com/api-platform/core/pull/7251InputOption::VALUE_REQUIRED) by @gharlan in https://github.com/api-platform/core/pull/7266Full Changelog: https://github.com/api-platform/core/compare/v4.1.17...v4.1.18
InputOption::VALUE_REQUIRED) (#7266)@id property when genId is false (#7162) (#7251)fix(laravel): Allow LinksHandler to handle polymorphic relationships by @jonerickson in https://github.com/api-platform/core/pull/7231
LinksHandler to handle polymorphic relationships by @jonerickson in https://github.com/api-platform/core/pull/7231Full Changelog: https://github.com/api-platform/core/compare/v4.1.16...v4.1.17
LinksHandler to handle polymorphic relationships (#7231)fix(laravel): route where uses requirements by @soyuka in https://github.com/api-platform/core/pull/7199
Two providers are now available on parameters (query parameters, header and uri variables Link):
ReadLinkParameterProvider previously used for link security (renamed from Symfony\Security\State\LinkedReadProvider)
IriConverterParameterProvider this allows you to read a resource from an IRI usefull for filters (eg ?author=/authors/1)
Previous tests on link security were left untouched we removed the experimental class Symfony\Security\State\LinkAccessCheckerProvider as well as the LinkedReadProvider as they're not used anymore.
Full Changelog: https://github.com/api-platform/core/compare/v4.1.15...v4.1.16
Notes:
Two providers are now available on parameters (query parameters, header and uri variables Link):
ReadLinkParameterProvider previously used for link security (renamed from Symfony\Security\State\LinkedReadProvider)IriConverterParameterProvider this allows you to read a resource from an IRI usefull for filters (eg ?author=/authors/1)Previous tests on link security were left untouched we removed the experimental class Symfony\Security\State\LinkAccessCheckerProvider as well as the LinkedReadProvider as they're not used anymore.
There was an issue with the subtree split as we attempted to test lower dependencies on the subtree split, some components where wrongly tagged.
There was an issue with the subtree split as we attempted to test lower dependencies on the subtree split, some components where wrongly tagged.
The proper fix is at: https://github.com/api-platform/core/pull/7196
example and default with nullable value not being shownNothing published for this version
fix(metadata): parameter cast to array flag by @soyuka in https://github.com/api-platform/core/pull/7160
Full Changelog: https://github.com/api-platform/core/compare/v4.1.9...v4.1.12
b14a463a9 fix(laravel): register error handler without graphql
329acf21e fix(metadata): infer parameter string type from schema
4dd0cdfc4 fix(doctrine): support integer-backed enums in BackedEnumFilter
fix(symfony): correct class to exclude to avoid inheriting global default for internal resource by @Crovitche-1623 in https://github.com/api-platform/
Full Changelog: https://github.com/api-platform/core/compare/v4.1.7...v4.1.8
fix(metadata): Link Security YAML by @ytilotti in https://github.com/api-platform/core/pull/7066
Full Changelog: https://github.com/api-platform/core/compare/v4.1.6...v4.1.7
Full Changelog: https://github.com/api-platform/core/compare/v4.1.5...v4.1.6
Full Changelog: https://github.com/api-platform/core/compare/v4.1.5...v4.1.6
60747cc8c fix(graphql): access to unauthorized resource using node Relay CVE-2025-31481
Full Changelog: https://github.com/api-platform/core/compare/v4.1.4...v4.1.5
Laravel installation broken, use v4.1.6
fix(state): support filter interface on serializer filter parameter provider by @deguif in https://github.com/api-platform/core/pull/7047
Full Changelog: https://github.com/api-platform/core/compare/v4.1.3...v4.1.4
fix(laravel): defer "filters" dependent services by @soyuka in https://github.com/api-platform/core/pull/7045
Full Changelog: https://github.com/api-platform/core/compare/v4.1.2...v4.1.3
fix: fix React UMD & update-js.sh + add Laravel support in update-js.sh by @vincentchalamon in https://github.com/api-platform/core/pull/7028
Full Changelog: https://github.com/api-platform/core/compare/v4.1.1...v4.1.2
fix: Doctrine mapping ArrayAccess deprecation by @dunglas in https://github.com/api-platform/core/pull/6982
alwaysBootKernel property for BC layer by @Crovitche-1623 in https://github.com/api-platform/core/pull/7007Full Changelog: https://github.com/api-platform/core/compare/v4.1.0...v4.1.1
alwaysBootKernel property for BC layer (#7007)Also contains v4.0.20 changes.
feat(mongodb): Replace usage of deprecated method AggregationBuilder::execute() by @GromNaN in https://github.com/api-platform/core/pull/6933
AggregationBuilder::execute() by @GromNaN in https://github.com/api-platform/core/pull/6933checkMode parameter to control json schema validation in tests by @Crovitche-1623 in https://github.com/api-platform/core/pull/6974show_webby parameter in Laravel config by @Deuchnord in https://github.com/api-platform/core/pull/6741createClient() method by @Crovitche-1623 in https://github.com/api-platform/core/pull/6976Full Changelog: https://github.com/api-platform/core/blob/4.1/CHANGELOG.md#v410
show_webby parameter in Laravel config (#6741)AggregationBuilder::execute() (#6933)fix: Fix cross-package version dependencies by @GromNaN in https://github.com/api-platform/core/pull/6935
Full Changelog: https://github.com/api-platform/core/compare/v4.1.0-beta.1...v4.1.0-beta.2
fix(symfony): suggest DocumentationAction as replacement for deprecated SwaggerUiAction by @phansys in https://github.com/api-platform/core/pull/6894
DocumentationAction as replacement for deprecated SwaggerUiAction by @phansys in https://github.com/api-platform/core/pull/6894AggregationBuilder::execute() by @GromNaN in https://github.com/api-platform/core/pull/6933Full Changelog: https://github.com/api-platform/core/compare/v4.1.0-alpha.2...v4.1.0-beta.1
feat: if a policy matches the name of a model we automatically register it by @valentindrdt in https://github.com/api-platform/core/pull/6623
show_webby parameter in Laravel config by @Deuchnord in https://github.com/api-platform/core/pull/6741The hydra patch changes default hydra:title and uses the resource shortname. Previously the hydra:title information was duplicating the hydra:description.
The rdfs:label got removed from the hydra:Class as it was used instead of the hydra:title.
On hydra:property rdfs:label got renamed to label as the rdfs namespace is available in the context.
The ApiPlatform\Metadata\ErrorResource and the ConstraintViolation (ValidationException class) are now generated directly from your PHP classes, only our ConstraintViolationList is hard-written and documents the ConstraintViolation::violation property. Therefore, your own error resources are also documented. On top of that, we now set the rdfs:subClassOf to hydra:Error.
#[ApiProperty(hydra: false)] allows you to skip a documented hydra:supportedProperty on a class.
On write operations, we added the expectsHeader field.
Full Changelog: https://github.com/api-platform/core/compare/v4.0.15...v4.1.0-alpha.2
The hydra patch changes default hydra:title and uses the resource shortname. Previously the hydra:title information was duplicating the hydra:description.
The rdfs:label got removed from the hydra:Class as it was used instead of the hydra:title.
On hydra:property rdfs:label got renamed to label as the rdfs namespace is available in the context.
The ApiPlatform\Metadata\ErrorResource and the ConstraintViolation (ValidationException class) are now generated directly from your PHP classes, only our ConstraintViolationList is hard-written and documents the ConstraintViolation::violation property. Therefore, your own error resources are also documented. On top of that, we now set the rdfs:subClassOf to hydra:Error.
#[ApiProperty(hydra: false)] allows you to skip a documented hydra:supportedProperty on a class.
On write operations, we added the expectsHeader field.
feat: if a policy matches the name of a model we automatically register it by @valentindrdt in https://github.com/api-platform/core/pull/6623
show_webby parameter in Laravel config by @Deuchnord in https://github.com/api-platform/core/pull/6741Full Changelog: https://github.com/api-platform/core/compare/v4.0.12...v4.1.0-alpha.1
show_webby parameter in Laravel config (#6741)60747cc8c fix(graphql): access to unauthorized resource using node Relay CVE-2025-31481
Full Changelog: https://github.com/api-platform/core/compare/v4.0.21...v4.0.22
fix: allow parameter provider as object by @deguif in https://github.com/api-platform/core/pull/7032
Full Changelog: https://github.com/api-platform/core/compare/v4.0.20...v4.0.21
One column per quarter.