Skip to content

Support doctrine/collections ^3 in API Platform Doctrine packages #7941

@vch-a5sys

Description

@vch-a5sys

Hello,

I'm trying to upgrade doctrine/collections to ^3.1 in a project using API Platform with Doctrine ORM.

Current setup:

  • api-platform/doctrine-orm: ^4.3.3
  • doctrine/orm: ^3.6.3

Composer reports that the upgrade is blocked because:

  • doctrine/orm < 3.7 requires doctrine/collections ^2.x
  • api-platform/doctrine-common currently requires doctrine/collections ^2.1

From what I can see, Doctrine ORM support for doctrine/collections ^3 has already been added in newer Doctrine ORM versions, but API Platform still prevents the upgrade through its Doctrine packages.

Is support for doctrine/collections ^3 planned for:

  • api-platform/doctrine-common
  • api-platform/doctrine-orm

If yes, is there an expected version or timeline?

Thanks a lot for the amazing API Platform 🙂

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions