cortex
cortex copied to clipboard
Update doctrine/dbal requirement from ^3.3.0 to ^4.0.0
Updates the requirements on doctrine/dbal to permit the latest version.
Release notes
Sourced from doctrine/dbal's releases.
4.0.0
This is a major release that includes breaking changes. Please refer to the upgrade guide for more details.
API Improvements and Cleanup
- Strict scalar type declarations (#2854).
- Scalar parameter and return value types (#3511, #3569 and others).
- Disallow empty CompositeExpression #3868 and make it immutable #3858
- Improved error handling in prepared statements:
- Transaction-related Statement methods return void and throw an exception
- Converted
ConnectionandStatementmethods which returnedfalsein case of a failure intovoid- Improved behavior of
Connection::getDatabase()(#3606)- Autoincrement via identity columns on PostgreSQL
- Use native syntax for Top-N queries on Oracle (#5150) and IBM DB2 (#5156)
- Handle lost connection during commit #4713
- Reworked
AbstractPlatform::get*Expression()methods #3498- [Do not require a WHERE in update() and delete() Connection operations #5567](doctrine/dbal#5567)
- Improvements in exception hierarchy and semantics
- Remove defaults for MySQL table charset, collation and engine
- Convert ParameterType to enum
- Convert enum-like classes to enums doctrine/dbal#5554
- Improved Schema Diff API (no more public properties, almost immutable)
Major Backward Compatibility Breaks
- Get rid of hard-coded default values of maximum field lengths (#3586).
- Column precision no longer defaults to 10. Scale and precision must be explicitly specified for decomal columns (#3348).
- Made the OFFSET in LIMIT queries non-nullable integer defaulting to 0
- Connection::quote() can only quote strings. Note that using this method is discouraged. Use prepared statements instead.
- Getting rid of the column name index #3583
- Represent table columns as list in the order of declaration #4777
- Drop support for SQL Server 2016 and older
- Drop support for Postgres 9
- Drop support for MySQL 5.6 and older and MariaDB 10.2.6 and older
- Drop support for MariaDB 10.4.2 and older
- Drop support for Oracle 12c and older
- Remove
AbstractPlatform::hasNative*Type()methods andType::requiresSQLCommentHint()- Removed support for driver name aliases
- Removed extension via Doctrine Event Manager
Major Bugfixes
- Removed
Connection::$_schemaManager()and::getSchemaManager()(#4518)- Removed
Connection::$_expr(#4516) and::getExpressionBuilder()(#4540)Detailed Release Notes
Commits
53df8c4Merge branch '3.9.x' into 4.0.x44b908cUpdate branches in README.md (#6292)563ea0cMerge branch '3.9.x' into 4.0.x8e60c35Update branch metadata (#6291)755d4ccMerge branch '3.8.x' into 4.0.xc9ea252PHPStan 1.10.57, PHPUnit 9.6.16 (#6290)cc65c7bMerge branch '3.8.x' into 4.0.xa9cd978Avoid ambigous TABLE_NAME in query (#6275)f78899cAdd safety check about cache value (#6283)d0efd5cMerge pull request #6282 from greg0ire/formatting- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)