Roave / psr-container-doctrine

Doctrine Factories for PSR-11 Containers
BSD 2-Clause "Simplified" License
95 stars 31 forks source link

Update dependency doctrine/dbal to v4 - autoclosed #119

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
doctrine/dbal (source) ^3.8.1 -> ^4.0.0 age adoption passing confidence

Release Notes

doctrine/dbal (doctrine/dbal) ### [`v4.0.0`](https://togithub.com/doctrine/dbal/releases/tag/4.0.0) [Compare Source](https://togithub.com/doctrine/dbal/compare/3.8.1...4.0.0) This is a major release that includes breaking changes. Please refer to the [upgrade guide](https://togithub.com/doctrine/dbal/blob/4.0.x/UPGRADE.md) for more details. #### API Improvements and Cleanup - Strict scalar type declarations ([#​2854](https://togithub.com/doctrine/dbal/pull/2854)). - Scalar parameter and return value types ([#​3511](https://togithub.com/doctrine/dbal/pull/3511), [#​3569](https://togithub.com/doctrine/dbal/pull/3569) and others). - Disallow empty CompositeExpression [#​3868](https://togithub.com/doctrine/dbal/issues/3868) and make it immutable [#​3858](https://togithub.com/doctrine/dbal/issues/3858) - Improved error handling in prepared statements: - [Transaction-related Statement methods return void](https://togithub.com/doctrine/dbal/pull/3480) and throw an exception - Converted `Connection` and `Statement` methods which returned `false` in case of a failure into `void` - Improved behavior of `Connection::getDatabase()` ([#​3606](https://togithub.com/doctrine/dbal/pull/3606)) - [Autoincrement via identity columns on PostgreSQL](https://togithub.com/doctrine/dbal/pull/5396) - Use native syntax for Top-N queries on Oracle ([#​5150](https://togithub.com/doctrine/dbal/pull/5150)) and IBM DB2 ([#​5156](https://togithub.com/doctrine/dbal/pull/5156)) - Handle lost connection during commit [#​4713](https://togithub.com/doctrine/dbal/issues/4713) - Reworked `AbstractPlatform::get*Expression()` methods [#​3498](https://togithub.com/doctrine/dbal/issues/3498) - [Do not require a WHERE in update() and delete() Connection operations #​5567](https://togithub.com/doctrine/dbal/pull/5567) - Improvements in exception hierarchy and semantics - [Remove defaults for MySQL table charset, collation and engine](https://togithub.com/doctrine/dbal/pull/4644) - [Convert ParameterType to enum](https://togithub.com/doctrine/dbal/pull/5548) - Convert enum-like classes to enums [https://github.com/doctrine/dbal/pull/5554](https://togithub.com/doctrine/dbal/pull/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](https://togithub.com/doctrine/dbal/issues/3586)). - Column precision no longer defaults to 10. Scale and precision must be explicitly specified for decomal columns ([#​3348](https://togithub.com/doctrine/dbal/issues/3348)). - [Made the OFFSET in LIMIT queries non-nullable integer defaulting to 0](https://togithub.com/doctrine/dbal/pull/3248) - [Connection::quote() can only quote strings](https://togithub.com/doctrine/dbal/pull/3488). Note that using this method is discouraged. Use prepared statements instead. - Getting rid of the column name index [#​3583](https://togithub.com/doctrine/dbal/issues/3583) - Represent table columns as list in the order of declaration [#​4777](https://togithub.com/doctrine/dbal/issues/4777) - [Drop support for SQL Server 2016 and older](https://togithub.com/doctrine/dbal/pull/4860) - [Drop support for Postgres 9](https://togithub.com/doctrine/dbal/pull/5069) - [Drop support for MySQL 5.6 and older and MariaDB 10.2.6 and older](https://togithub.com/doctrine/dbal/pull/5089) - [Drop support for MariaDB 10.4.2 and older](https://togithub.com/doctrine/dbal/pull/6122) - [Drop support for Oracle 12c and older](https://togithub.com/doctrine/dbal/pull/5114) - [Remove `AbstractPlatform::hasNative*Type()` methods and `Type::requiresSQLCommentHint()`](https://togithub.com/doctrine/dbal/pull/5512) - Removed support for driver name aliases - Removed extension via Doctrine Event Manager #### Major Bugfixes - Removed `Connection::$_schemaManager()` and `::getSchemaManager()` ([#​4518](https://togithub.com/doctrine/dbal/issues/4518)) - Removed `Connection::$_expr` ([#​4516](https://togithub.com/doctrine/dbal/issues/4516)) and `::getExpressionBuilder()` ([#​4540](https://togithub.com/doctrine/dbal/issues/4540)) #### Detailed Release Notes - [4.0.0-RC2](https://togithub.com/doctrine/dbal/releases/tag/4.0.0-RC2) - [4.0.0-RC1](https://togithub.com/doctrine/dbal/releases/tag/4.0.0-RC1) - [4.0.0-beta3](https://togithub.com/doctrine/dbal/releases/tag/4.0.0-beta3) - [4.0.0-beta2](https://togithub.com/doctrine/dbal/releases/tag/4.0.0-beta2) - [4.0.0-beta1](https://togithub.com/doctrine/dbal/releases/tag/4.0.0-beta1)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



Read more about the use of Renovate Bot within ocramius/* projects.

renovate[bot] commented 7 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update doctrine/dbal:4.0.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Dependency psr/cache is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires doctrine/dbal ^4.0.0, found doctrine/dbal[4.0.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - doctrine/migrations is locked to version 3.7.2 and an update of this package was not requested.
    - doctrine/migrations 3.7.2 requires doctrine/dbal ^3.5.1 || ^4 -> found doctrine/dbal[3.5.1, ..., 3.8.1, 4.0.0] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - doctrine/orm is locked to version 2.18.0 and an update of this package was not requested.
    - doctrine/orm 2.18.0 requires doctrine/dbal ^2.13.1 || ^3.2 -> found doctrine/dbal[2.13.1, ..., 2.13.9, 3.2.0, ..., 3.8.1] but it conflicts with your root composer.json require (^4.0.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.