Skip to content

Releases: api-platform/core

v4.1.0-beta.2

07 Feb 15:52
v4.1.0-beta.2
2f7cdc6
Compare
Choose a tag to compare
v4.1.0-beta.2 Pre-release
Pre-release

What's Changed

  • fix: Fix cross-package version dependencies by @GromNaN in #6935
  • fix(laravel): SwaggerUI custom CSS by @dunglas in #6937
  • fix(symfony): error wrongly inherit normalization context by @soyuka in #6939
  • Rename tpl files by @kochen in #6829
  • fix: ApiProperty::$serialize array conversion and make ApiProperty repeatable by @dunglas in #6946
  • feat(openapi): filter x-apiplatform-tags to produce different openapi specifications by @soyuka in #6945
  • fix: missing filters on swagger ui entrypoint by @soyuka in #6950
  • fix(laravel): mitigate property metadata read for Error by @soyuka in #6951
  • fix(laravel): Prevent overwriting existing routes on the router by @jonerickson in #6941
  • feat(elasticsearch): re-introduce v7 support by @darthf1 in #6827
  • fix: errors retrieval and documentation by @soyuka in #6952
  • fix(laravel): default to file cache instead of cache.default by @soyuka in #6955
  • perf: various optimizations for Laravel/Symfony by @soyuka in #6954

New Contributors

Full Changelog: v4.1.0-beta.1...v4.1.0-beta.2

v4.0.17

07 Feb 15:52
v4.0.17
155c01f
Compare
Choose a tag to compare

What's Changed

  • test: guides migration table eixts by @soyuka in #6931
  • fix(laravel): SwaggerUI custom CSS by @dunglas in #6937
  • fix(symfony): error wrongly inherit normalization context by @soyuka in #6939
  • Rename tpl files by @kochen in #6829
  • fix: ApiProperty::$serialize array conversion and make ApiProperty repeatable by @dunglas in #6946
  • fix(laravel): mitigate property metadata read for Error by @soyuka in #6951
  • fix(laravel): Prevent overwriting existing routes on the router by @jonerickson in #6941
  • perf: various optimizations for Laravel/Symfony by @soyuka in #6954

Notes

To save some time during cache warmup we recommend to define uri variables such as: uriVariables: ['id']. More details at #6954.

Blackfire: https://blackfire.io/profiles/compare/a1369434-ce45-4f88-88df-97049aa83f03/graph

20250207_16h07m25s_grim

New Contributors

Full Changelog: v4.0.16...v4.0.17

v4.1.0-beta.1

29 Jan 15:29
v4.1.0-beta.1
33c4ca5
Compare
Choose a tag to compare
v4.1.0-beta.1 Pre-release
Pre-release

What's Changed

  • fix(symfony): suggest DocumentationAction as replacement for deprecated SwaggerUiAction by @phansys in #6894
  • fix(openapi): document error outputs using json-schemas by @soyuka in #6923
  • test: guides migration table eixts by @soyuka in #6931
  • feat(mongodb): Add pagination metadata to the aggregation results by @GromNaN in #6912
  • feat(mongodb): Replace usage of deprecated method AggregationBuilder::execute() by @GromNaN in #6933

Full Changelog: v4.1.0-alpha.2...v4.1.0-beta.1

v4.1.0-alpha.2

17 Jan 10:34
v4.1.0-alpha.2
4a85f30
Compare
Choose a tag to compare
v4.1.0-alpha.2 Pre-release
Pre-release

What's Changed

  • feat: if a policy matches the name of a model we automatically register it by @valentindrdt in #6623
  • feat: add hal support for laravel by @valentindrdt in #6621
  • fix: reintroduce the show_webby parameter in Laravel config by @Deuchnord in #6741
  • feat(doctrine): doctrine filters like laravel eloquent filters by @vinceAmstoutz in #6775
  • feat(laravel): boolean filter by @adryyy10 in #6806
  • feat(openapi): HTTP Authentication Support for Swagger UI by @toitzi in #6665
  • feat(state): strict query parameters by @soyuka in #6399
  • feat(doctrine): enhance getLinksHandler with method validation and typo suggestions by @SebLevDev in #6874
  • feat(graphql): allow to configure max query depth and max query compl… by @soyuka in #6880
  • feat(metadata): hide an hydra endpoint (draft) by @soyuka in #6871
  • fix!(laravel): fix use laravel fillable for writable props by @toitzi in #6898
  • fix(hydra): rdfs:label should not duplicate title by @soyuka in #6748
  • feat(swagger-ui): persist authorization by @ViPErCZ in #6877

New Contributors

Notes

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.

Full Changelog: v4.0.15...v4.1.0-alpha.2

v4.0.15

17 Jan 10:00
v4.0.15
268519a
Compare
Choose a tag to compare

What's Changed

  • fix(state): skip Content-Location header for GET requests by @vinceAmstoutz in #6901
  • feat(laravel): add support for backed enums by @toitzi in #6911
  • fix(openapi): typing issue with openapiContext in #[ApiProperty] by @SebLevDev in #6910
  • fix(symfony): fix property restrictions for root resource with dynamic validation groups by @c1tru55 in #6908

Full Changelog: v4.0.14...v4.0.15

v3.4.15

17 Jan 09:53
v3.4.15
2055e08
Compare
Choose a tag to compare

What's Changed

  • fix(openapi): typing issue with openapiContext in #[ApiProperty] by @SebLevDev in #6910

Full Changelog: v3.4.14...v3.4.15

v4.0.14

10 Jan 14:41
v4.0.14
a6b8461
Compare
Choose a tag to compare

What's Changed

  • fix(openapi): not forbidden response on openAPI doc by @vinceAmstoutz in #6886
  • fix(symfony): remove unsolvable deprecation by @soyuka in #6899
  • chore: add missing deprecation notices to ParameterValidator by @dunglas in #6655
  • fix(symfony): revert json schema bc break by @soyuka in #6903
  • cs: php-cs-fixer 3.66.0 compatibility by @vinceAmstoutz in #6902
  • Merge 3.4 by @soyuka in #6905
  • Allow phpstan/phpdoc-parser 2 (which in turns allow PHPstan 2, Larastan 3) for api-platform/laravel by @ziming in #6900
  • fix(graphql): register types for parameter args by @toitzi in #6895
  • fix(metadata): make the schema attribute to fallback to null for parameters in YamlResourceExtractor by @wuchen90 in #6896

New Contributors

Full Changelog: v4.0.13...v4.0.14

v3.4.14

10 Jan 14:19
v3.4.14
9b07380
Compare
Choose a tag to compare

What's Changed

  • fix(openapi): not forbidden response on openAPI doc by @vinceAmstoutz in #6886
  • fix(symfony): remove unsolvable deprecation by @soyuka in #6899
  • chore: add missing deprecation notices to ParameterValidator by @dunglas in #6655
  • fix(symfony): revert json schema bc break by @soyuka in #6903
  • fix(metadata): make the schema attribute to fallback to null for parameters in YamlResourceExtractor by @wuchen90 in #6896

Full Changelog: v3.4.10...v3.4.14

v4.1.0-alpha.1

20 Dec 10:34
v4.1.0-alpha.1
36c657b
Compare
Choose a tag to compare
v4.1.0-alpha.1 Pre-release
Pre-release

What's Changed

  • feat: if a policy matches the name of a model we automatically register it by @valentindrdt in #6623
  • feat: add hal support for laravel by @valentindrdt in #6621
  • chore: missing .gitattributes by @simondaigre in #6757
  • fix: reintroduce the show_webby parameter in Laravel config by @Deuchnord in #6741
  • feat(doctrine): doctrine filters like laravel eloquent filters by @vinceAmstoutz in #6775
  • feat(laravel): boolean filter by @adryyy10 in #6806
  • feat(openapi): HTTP Authentication Support for Swagger UI by @toitzi in #6665
  • feat(state): strict query parameters by @soyuka in #6399
  • feat(laravel): Fixing BelongsToManyThrough by @amermchaudhary in #6862
  • fix(jsonld): anonymous context hydra_prefix value by @soyuka in #6873
  • feat(doctrine): enhance getLinksHandler with method validation and typo suggestions by @SebLevDev in #6874
  • fix: exception formatting by calling array_keys() by @soyuka in #6879
  • fix(laravel): jsonapi query parameters (page, sort, fields and include) by @soyuka in #6876
  • feat(graphql): allow to configure max query depth and max query compl… by @soyuka in #6880
  • feat(metadata): hide an hydra endpoint (draft) by @soyuka in #6871

New Contributors

Full Changelog: v4.0.12...v4.1.0-alpha.1

v3.4.10

20 Dec 10:31
v3.4.10
f8dae8e
Compare
Choose a tag to compare

What's Changed

  • fix: exception formatting by calling array_keys() by @soyuka in #6879

Full Changelog: v3.4.9...v3.4.10