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

Check compatibility to Doctrine Migrations 3.x #12

Open
andreaswolf opened this issue Aug 11, 2022 · 1 comment
Open

Check compatibility to Doctrine Migrations 3.x #12

andreaswolf opened this issue Aug 11, 2022 · 1 comment

Comments

@andreaswolf
Copy link
Owner

We should evaluate if Doctrine Migrations 3.x can be used (maybe with more recent TYPO3 versions than 9.x that we originally used for developing most of this ext).

@andreaswolf
Copy link
Owner Author

andreaswolf commented Aug 6, 2023

As of now, the most recent version of Doctrine Migrations on packagist.org is 3.6.0. This requires doctrine/dbal 3.5.1+ and PHP 8.1+.

TYPO3 12.4.4 requires PHP 8.1+ as well and doctrine/dbal 3.6.2. However, 11.5.30 still supports PHP 7.4 and 8.0 (which is not that bad, since we can still be stricter IMO), but it also requires doctrine/dbal 2.13.
I would definitely drop support for PHP 7.4, since it is not supported by the PHP project anymore, and there is the 0.11 release that still supports this version.

The last version of doctrine/migrations 3.x that supports DBAL 2.x is 3.4.x. So IMO we should raise the requirement to doctrine/migrations ^3.4.2, since the runtime dependencies for that version are identical to those of 3.4.0 and 3.4.1.

This would then be a new 0.12 release of this extension, which supports TYPO3 11 and 12. As soon as 13 hits the road, we can then drop support for PHP 8.0 and raise the doctrine/migrations requirement to 3.6.0 or even newer versions.

tl;dr: We create an 0.12 release that supports PHP 8.0+ only and requires doctrine/migrations 3.4.2+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant