api-platform / api-platform/core

Support doctrine/collections ^3 in API Platform Doctrine packages

Open
#7,941 2 comments 0 reactions 0 assignees View on GitHub
doctrine
Dominant language
PHP
Stars
2.6k
Forks
980
Avg merge
2d 5h
Merged PRs (30d)
48

Description

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](https://github.com/doctrine/orm/tree/3.7.x), 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 🙂

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.