Skip to content

fix(deps): update dependency api-platform/core to v3

Reiter, Christoph requested to merge renovate/api-platform-core-3-x into main

This MR contains the following updates:

Package Type Update Change
api-platform/core (source) require major ^2.6 -> ^3.0

Release Notes

api-platform/core

v3.0.2

Compare Source

  • Metadata: generate skolem IRI by default, use genId: false to disable BC

v3.0.1

Compare Source

  • Symfony: don't use ArrayAdapter cache in production #​5027
  • Symfony: remove _api_exception_to_status leftovers (#​4992)
  • Serializer: support empty array as object (#​4999)
  • Chore: compatibility with PHP 8.2 (#​5024)
  • Symfony: resource class directories bc break (#​4982)
  • Symfony: exception_status bad merge (#​4981)
  • Graphql: remove unused service for ItemResolverFactory (#​4976)
  • Chore: document missing breaking changes on the 3.0.0-beta.1

v3.0.0

Compare Source

  • Metadata: CRUD on subresource with experimental write support (#​4932)
  • Symfony: 6.1 compatibility and remove 4.4 and 5.4 support (#​4851)
  • Symfony: removed the $exceptionOnNoToken parameter in ResourceAccessChecker::__construct() (#​4905)
  • Symfony: use conventional service names for Doctrine state providers and processors (#​4859)
  • Symfony: adjust mapping paths to the SF best practices for Bundles BC Resources/config/api_resources to config/api_resources (#​4853)
  • Symfony: src/ApiResource/ is the recommended place for API models (#​4874)
  • Cache: remove guzzle from the Varnish purger (#​4872)

Various cleanup in services and removal of backward compatibility layer.

v2.7.2

Compare Source

  • Metadata: no skolem IRI by default
  • Symfony: use service id as tag for lower symfony versions (processor/provider service locator)
  • Symfony: fix command constants not available on lower symfony versions

v2.7.1

Compare Source

  • Chore: update swagger ui and javascript libraries (#​5028)
  • Symfony: don't use ArrayAdapter cache in production #​4975 (#​5025)
  • Doctrine: check fetch joined queries based on all aliases (#​4974)
  • Metadata: fix missing array cast for RDF types in ApiResource & ApiProperty constructors (#​5000)
  • Symfony: replace FQCN service names by snake ones (#​5019)
  • Symfony: add missing dependency on symfony/deprecation-contracts (#​5015)
  • Chore: add conflict on elasticsearch >= 8.0 (#​5018)
  • Symfony: bc layer broken for symfony/console lower than 5.3 (#​4990)
  • Symfony: missing deprecations related to Ulid and Uuid normalize… (#​4963)
  • Metadata: do not auto-generate NotExposed operation when using custom operation classes
  • Symfony: upgrade command requires phpunit (#​4968)
  • Symfony: upgrade command removes filters (#​4970)
  • Symfony: missing Elasticsearch DocumentMetadataFactoryInterface alias definition (#​4962)
  • Chore: drop dependency on fig/link-util (#​4945)
  • Metadata: resource name collection missing deprecation (#​4953)
  • Doctrine: ability to use ORM and ODM (#​5032)

v2.7.0

Compare Source

  • chore: remove @​experimental phpdoc (#​4933)
  • Metadata: do not set id when identifier is false (#​4880)
  • Metadata: automatic GET operation when none is declared (#​4881)
  • Metadata: exception to status on operations (#​4861)
  • Serializer: adds the JSON_INVALID_UTF8_IGNORE flag to JsonEncode (#​4741)
  • Symfony: autoconfigure legacy Doctrine extensions (#​4909)
  • Elasticsearch: skip metadata without ES nodes (#​4913)
  • Symfony: deprecated the $exceptionOnNoToken parameter in ResourceAccessChecker::__construct() (#​4900)

Various cs fixes and PHPDoc to help upgrading to 3.0.


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports