Releases: api-platform/core
Releases · api-platform/core
v3.1.1
What's Changed
- fix(graphql): name and key should be the same for an enum without Enum suffix in class name by @alanpoulain in #5369
- fix(metadata): defaults extra properties by @soyuka in #5362
- fix(metadata): allow custom http status code for put by @SpartakusMd in #5375
- fix(symfony): wrong purger clients type by @soyuka in #5373
- fix(openapi): fix openapi requestbody decoration by @PierreRebeilleau in #5377
New Contributors
- @SpartakusMd made their first contribution in #5244
Full Changelog: v3.1.0...v3.1.1
v2.7.8
v3.1.0
What's Changed
- ignore api_platform.state.item_provider when Doctrine is not enabled by @dgoosens in #4954
- fix: not initialized params in PhpDocResourceMetadataCollectionFactory by @alanpoulain in #5247
- Add groups filter whitelist info to swagger by @SpartakusMd in #5244
- fix(graphql): remove inline styles and add twig blocks to aid overriding templates in strict CSP environments by @moismailzai in #5251
- fix: do not use api_graphql_graphiql route when graphiQl is disabled because it won’t exist by @MatTheCat in #5266
- fix: do not add linked data for denormalizationContext by @benblub in #5267
- fix(symfony): fix swagger config to support Symfony ConfigBuilders by @alexndlm in #4691
- @type property on mercure's 'delete' message by @toriqo in #2688
- fix: attributes parameter order by @soyuka in #5317
- fix(graphql): usable YAML/XML configuration by @alanpoulain in #5333
- Homogenize operations constructor by @MatTheCat in #5344
- fix: identifier value ignore to property field by @Byidi in #5352
- @philipsorst fix: Make annotation reader argument optional by @philipsorst in #5358
Features
- [OpenApi] Add ApiResource::openapi and deprecate openapiContext by @vincentchalamon in #5254
- feat: better separation of entity class and resource by @soyuka in #5275
- feat: support collect denormalization errors by @natacha-h in #5170
- feat: add context to XML parsing errors by @yivi in #5335
- feat(doctrine): add link factory by @alanpoulain in #5345
- feat: spec-compliant PUT method by @dunglas in #4996
- feat (ApiTestCase): Assert Item|collection JsonSchema with SerializerContext by @GregoireHebert in #4860
- refactor(elasticsearch): ignore Missing404Exception instead of catching it by @MatTheCat in #5302
- Refactor $elasticsearch into a new $persistenceMeans option by @davy-beauzil in #5297
- feat(symfony): agnostic cache purger + souin support by @soyuka in #5273
- feat(openapi): add backed enum support by @alanpoulain in #5120
- feature(graphql): enabled api-platform profiler panel when using graphql by @ArnoudThibaut in #5072
- feat: use phpdoc-parser instead of phpdocumentor by @alanpoulain in #5214
- feat: add GraphQL enum support by @alanpoulain in #5199
New Contributors
- @dgoosens made their first contribution in #4954
- @SpartakusMd made their first contribution in #5244
- @moismailzai made their first contribution in #5251
- @benblub made their first contribution in #5267
- @alexndlm made their first contribution in #4691
- @natacha-h made their first contribution in #5170
- @yivi made their first contribution in #5335
- @Byidi made their first contribution in #5352
- @philipsorst made their first contribution in #5358
Full Changelog: v3.0.10...v3.1.0
v3.0.11
What's Changed
- fix(graphql): usable YAML/XML configuration by @alanpoulain in #5333
- Homogenize operations constructor by @MatTheCat in #5344
- fix: identifier value ignore to property field by @Byidi in #5352
- @philipsorst fix: Make annotation reader argument optional by @philipsorst in #5358
New Contributors
- @Byidi made their first contribution in #5352
- @philipsorst made their first contribution in #5358
Full Changelog: v3.0.10...v3.0.11
v2.7.7
What's Changed
- @philipsorst fix: Make annotation reader argument optional by @philipsorst in #5358
New Contributors
- @philipsorst made their first contribution in #5358
Full Changelog: v2.7.6...v2.7.7
v3.0.10
What's Changed
- fix: fix argument resolver error by @KDederichs in #5342
Full Changelog: v3.0.9...v3.0.10
v3.0.9
What's Changed
- fix(php): compatibility with PHP 8.2 by @dannyvw in #5292
- fix(metadata): fix extra properties method by @dannyvw in #5294
- fix(graphql): use depth for nested resource class operation by @NicoHaase in #5314
- fix(symfony): set twig.exception_listener as service parent by @paulandrieux in #5059
- fix(serializer) default serializer context not passed to CollectionNormalizer by @ddeboer in #5305
- fix(validation) exception serialization process by @DamienLevGemy in #5313
- fix(elasticsearch): elasticsearch BC by @vincentchalamon in #5283
- fix(graphql): pass graphql enabled flag by @aazsamir in #5315
- chore(deprecations): use getContentTypeFormat when available by @KDederichs in #5288
- chore(deprecations): fix some more deprecations by @KDederichs in #5289
- chore(deprecations)
Request::getContentType
withRequest::getContentTypeFormat
if available by @MatTheCat in #5325 - chore(deprecations):
PayloadArgumentResolver::resolve
return type by @MatTheCat in #5327 - chore(deprecations): use getObjectManager by @dannyvw in #5291
- chore(deprecations): use
ValueResolverInterface
when needed by @KDederichs in #5324
New Contributors
- @aazsamir made their first contribution in #5315
- @DamienLevGemy made their first contribution in #5313
- @paulandrieux made their first contribution in #5059
- @NicoHaase made their first contribution in #5314
Full Changelog: v3.0.8...v3.0.9
v2.7.6
What's Changed
- ci: fix mongod startup by @alanpoulain in #5248
- chore: behat contexts ^3.3.4 w/ soyuka/contexts by @soyuka in #5262
- chore: update GitHub Actions by @vincentchalamon in #5284
- fix(elasticsearch): elasticsearch BC by @vincentchalamon in #5283
- fix(metadata): fix extra properties method by @dannyvw in #5294
- chore: remove phpstan false positive by @soyuka in #5316
- Switch from deprecated “loose” email validation mode to “html5” by @MatTheCat in #5326
- Replace
Request::getContentType
withRequest::getContentTypeFormat
if available by @MatTheCat in #5325 - fix: Set twig.exception_listener as service parent by @paulandrieux in #5059
- Fix
PayloadArgumentResolver::resolve
return type by @MatTheCat in #5327
New Contributors
- @paulandrieux made their first contribution in #5059
Full Changelog: v2.7.5...v2.7.6
v3.0.8
What's Changed
- fix(graphql): dont add graphql operations when disabled by @dannyvw in #5265
- fix(graphql): link relations requires the property by @develth in #5169
- fix(normalizer): normalize items in related collection with concrete class by @usu in #5261
New Contributors
Full Changelog: v3.0.7...v3.0.8
v3.0.7
What's Changed
- feat(symfony): wire Symfony JsonEncoder if it exists by @HeahDude in #5240
- perf: use symfony default cache pool config in development environment by @acirulis in #5242
- ci: fix mongod startup by @alanpoulain in #5248
- fix(metadata): include routePrefix in default operation name (#5203) by @usu in #5252
- fix: get back return phpdoc on ProviderInterface by @tyx in #5253
New Contributors
- @HeahDude made their first contribution in #5240
- @acirulis made their first contribution in #5242
- @usu made their first contribution in #5252
Full Changelog: v3.0.6...v3.0.7