#102875Require doctrine/dbal 4.x
Description
The next Doctrine DBAL major version 4.x is
around the corner and the decision has been
made that TYPO3 v13 will be based on it.
Every experienced developer may be able to
regonize that this will be not done by simple
raising the composer package constraint.
Furthermore, the Doctrine DBAL 3.x deprecation
had not been really maintained with TYPO3 v12,
which increases the breaking things. That leads
to the point that this will be a longer procedure
tackling all the cases and extracting pre-patches
to reduce the changes in the final upgrade change.
[1] https://github.com/doctrine/dbal/blob/3.8.x/UPGRADE.md
are the deprecation upgrade notices containing
additional information how to mititgate the one or
other mitigation. In a number of cases additional
investigation are required.
[2] https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md
needs to be changed to ensure that all removed and breaking
things have been properly tackled.
It’s important trying to reduce the direct breaking changes
which has to been passed down to extension developer – and
find mitigation steps.
During first sightings this should be a small number and for
these cases it has been decided to pass them directly.
Reviews 24
- 13.4 89160[BUGFIX] Restore nested `CompositeExpression` performance
- main 89139[BUGFIX] Restore nested `CompositeExpression` performance
- 13.4 89091[BUGFIX] Mitigate query buffer issue in `OptimizeDatabaseTableTask`
- main 89082[BUGFIX] Mitigate query buffer issue in `OptimizeDatabaseTableTask`
- 13.4 86908[DOCS] Exchange ReST file links to `Doctrine DBAL` repository
- main 86919[DOCS] Exchange ReST file links to `Doctrine DBAL` repository
- main 85558[BUGFIX] Mitigate UnknownColumnOption exception in database compare
- main 82789[TASK] Switch to Doctrine DBAL 4 comparison
- main 85555[TASK] Move ConnectionMigrator index normalization to method
- main 85553[TASK] Normalize DecimalType default value for comparison
- main 85552[TASK] Replace column length comparison with schema normalization
- main 85551[TASK] Apply `defaultTableOptions` to table columns
- main 85476[BUGFIX] Avoid array key expansion conflict in SchemaMigrator
- main 85086[BUGFIX] Ensure correct column type in database compare for SQLite
- main 84389[TASK] Avoid invalid @deprecated annotation in QB
- main 83934[BUGFIX] Ensure table definition overrides work again
- main 83030[DOCS] Adjust link to Doctrine DBAL upgrade guide in changelog
- 13.0 82856[TASK] Use stable `doctrine/dbal:^4`
- main 82776[TASK] Use stable `doctrine/dbal:^4`
- main 82639[!!!][TASK] Remove `ExpressionBuilder::QUOTE_*` constants
- main 82638[!!!][TASK] Add `ExpressionBuilder` method type hints
- main 82636[!!!][TASK] Remove `ExpressionBuilder::trim()` deprecation
- main 82637[BUGFIX] Ensure database connection port is integer
- main 77709[!!!][TASK] Require doctrine/dbal 4.x
Related issues 18
- Task #102916Remove `ExpressionBuilder::trim()` deprecation
- Task #102917Add `ExpressionBuilder` method type hints
- Bug #102918TypeError: mysqli::real_connect(): Argument #5 ($port) must be of type ?int, string given
- Task #102919Remove `ExpressionBuilder::QUOTE_*` constants
- Task #102959Upgrade to `doctrine/dbal:4.0.0-RC2`
- Task #103029Use stable `doctrine/dbal:^4`
- Task #103146Adjust link to Doctrine DBAL upgrade guide in changelog
- Bug #103666Changing database schema of existing columns in ext_tables.sql fails in 13.0
- Task #103907Avoid invalid @deprecated annotation in QB
- Bug #104528Installing dev-main i get an exception when trying to create the database tables
- Task #104567Apply `defaultTableOptions` to table columns
- Task #104568Replace column length comparision with schema normalization
- Task #104571Normalize DecimalType default value for comparision
- Task #104572Move ConnectionMigrator index normalization in dedicated metho
- Task #104573Switch to Doctrine DBAL 4 comparision
- Task #105558Exchange ReST file links to `Doctrine DBAL` repository
- Bug #106013Extbase Query Performance Issue
- Bug #106563Mitigate not-consumed query buffer in `OptimizeDatabaseTableTask`