Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContentRepository.Core: Get rid of Doctrine DBAL (v2) dependency #4989

Open
bwaidelich opened this issue Apr 12, 2024 · 1 comment
Open

ContentRepository.Core: Get rid of Doctrine DBAL (v2) dependency #4989

bwaidelich opened this issue Apr 12, 2024 · 1 comment

Comments

@bwaidelich
Copy link
Member

bwaidelich commented Apr 12, 2024

The neos/contentgraph-doctrinedbaladapter package currently has the following doctrine/dbal dependencies:

In addition, it is used in the ContentGraphProjection (and *Finder) of course (which is not directly part of the core but not expected to be implemented by "end users" either!)

This is especially problematic because we rely on the outdated 2.x version of doctrine/dbal even though 4.x is out since a while.

Related: #4227

@bwaidelich
Copy link
Member Author

bwaidelich commented Apr 12, 2024

Ideas:

As discussed in our weekly today, we should

  • Move DbalSchemaDiff and DbalCheckpointStorage to separate package neos/dbal-tools(?)
    • that can be tagged with a version compatible with doctrine/dbal v2, v3 and v4
  • Replace "doctrine/dbal": "^2" requirements with "doctrine/dbal": "^2 || ^3 || ^4" and add a dependency to that new package in the neos/contentrepository-core and neos/contentgraph-doctrinedbaladapter composer manifests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant