[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
doctrine/dbal (doctrine/dbal)
### [`v4.2.1`](https://redirect.github.com/doctrine/dbal/releases/tag/4.2.1)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.2.0...4.2.1)
##### Release Notes for [4.2.1](https://redirect.github.com/doctrine/dbal/milestone/167)
##### 4.2.1
- Total issues resolved: **0**
- Total pull requests resolved: **0**
- Total contributors: **0**
### [`v4.2.0`](https://redirect.github.com/doctrine/dbal/releases/tag/4.2.0)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.1.1...4.2.0)
##### Release Notes for [4.2.0](https://redirect.github.com/doctrine/dbal/milestone/162)
##### 4.2.0
- Total issues resolved: **0**
- Total pull requests resolved: **6**
- Total contributors: **3**
##### CI
- [6537: CI: remove duplicate key](https://redirect.github.com/doctrine/dbal/pull/6537) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### MariaDB,MySQL,New Feature,Schema Introspection,Schema Management,Types
- [6536: Implement an EnumType for MySQL/MariaDB](https://redirect.github.com/doctrine/dbal/pull/6536) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Connecting,Connections,New Feature,PDO
- [6532: Leverage the new PDO subclasses](https://redirect.github.com/doctrine/dbal/pull/6532) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### New Feature,PostgreSQL,Schema Introspection
- [6516: Passive support for partitioned tables on Postgres](https://redirect.github.com/doctrine/dbal/pull/6516) thanks to [@nikophil](https://redirect.github.com/nikophil)
##### Cache,Improvement,Results
- [6510: Invalidate old query cache format](https://redirect.github.com/doctrine/dbal/pull/6510) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Cache,New Feature,Results
- [6504: Handle cached result column names and rows separately](https://redirect.github.com/doctrine/dbal/pull/6504) thanks to [@morozov](https://redirect.github.com/morozov)
### [`v4.1.1`](https://redirect.github.com/doctrine/dbal/releases/tag/4.1.1)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.1.0...4.1.1)
##### Release Notes for [4.1.1](https://redirect.github.com/doctrine/dbal/milestone/161)
##### 4.1.1
- Total issues resolved: **0**
- Total pull requests resolved: **6**
- Total contributors: **2**
##### Bug,Connecting,Drivers,PDO
- [6513: PDO: Raise a proper exception if user or password is false](https://redirect.github.com/doctrine/dbal/pull/6513) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Bug,Results
- [6505: Raise a proper exception when calling `getColumnName()` with negative index](https://redirect.github.com/doctrine/dbal/pull/6505) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Test Suite
- [6503: Remove beStrictAboutTodoAnnotatedTests from PHPUnit configuration](https://redirect.github.com/doctrine/dbal/pull/6503) thanks to [@morozov](https://redirect.github.com/morozov)
- [6499: PHPUnit 10.5.30](https://redirect.github.com/doctrine/dbal/pull/6499) thanks to [@derrabus](https://redirect.github.com/derrabus)
- [6497: Remove obsolete PHP version check](https://redirect.github.com/doctrine/dbal/pull/6497) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Static Analysis
- [6500: Psalm 5.25.0](https://redirect.github.com/doctrine/dbal/pull/6500) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Changes from Lower Branches
- This release contains all changes of the [3.9.1](https://redirect.github.com/doctrine/dbal/releases/tag/3.9.1) release.
### [`v4.1.0`](https://redirect.github.com/doctrine/dbal/releases/tag/4.1.0)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.5...4.1.0)
##### Release Notes for [4.1.0](https://redirect.github.com/doctrine/dbal/milestone/148)
##### 4.1.0
- Total issues resolved: **0**
- Total pull requests resolved: **13**
- Total contributors: **8**
##### Deprecation,Platforms,PostgreSQL
- [6495: Deprecate support for Postgres 10 and 11](https://redirect.github.com/doctrine/dbal/pull/6495) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Bug,PostgreSQL,Schema Comparison
- [6490: Ensure PostgreSQL field length change is executed again](https://redirect.github.com/doctrine/dbal/pull/6490) thanks to [@sbuerk](https://redirect.github.com/sbuerk)
##### Deprecation,New Feature,Schema Management
- [6482: Add deprecation layer for TableDiff methods](https://redirect.github.com/doctrine/dbal/pull/6482) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Test Suite
- [6481: Fix tests](https://redirect.github.com/doctrine/dbal/pull/6481) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### New Feature,Type Mapping,Types
- [6471: Add SmallFloat type](https://redirect.github.com/doctrine/dbal/pull/6471) thanks to [@berkut1](https://redirect.github.com/berkut1)
##### Improvement,QueryBuilder
- [6439: Default to distinct union queries](https://redirect.github.com/doctrine/dbal/pull/6439) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Deprecation,Drivers,New Feature,Results
- [6428: Add the Result::getColumnName method](https://redirect.github.com/doctrine/dbal/pull/6428) thanks to [@stof](https://redirect.github.com/stof)
##### Improvement
- [6376: Remove internal flag on DriverException](https://redirect.github.com/doctrine/dbal/pull/6376) thanks to [@gitomato](https://redirect.github.com/gitomato)
- [6326: Remove redundant variable](https://redirect.github.com/doctrine/dbal/pull/6326) thanks to [@michalbundyra](https://redirect.github.com/michalbundyra)
##### New Feature,QueryBuilder
- [6369: Add `QueryBuilder` support for `UNION` clause](https://redirect.github.com/doctrine/dbal/pull/6369) thanks to [@sbuerk](https://redirect.github.com/sbuerk)
##### Deprecation,MariaDB,MySQL,Platforms
- [6343: Deprecate MariaDB 10.4 and MySQL 5.7 support](https://redirect.github.com/doctrine/dbal/pull/6343) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Static Analysis
- [6301: Establish link between isConnected() and \_conn](https://redirect.github.com/doctrine/dbal/pull/6301) thanks to [@greg0ire](https://redirect.github.com/greg0ire)
##### New Feature,Schema Management
- [6280: Add explicit renameColumn method](https://redirect.github.com/doctrine/dbal/pull/6280) thanks to [@Tofandel](https://redirect.github.com/Tofandel)
##### Changes from Lower Branches
- This release contains all changes of the [3.9.0](https://redirect.github.com/doctrine/dbal/releases/tag/3.9.0) release.
### [`v4.0.5`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.5)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.4...4.0.5)
##### Release Notes for [4.0.5](https://redirect.github.com/doctrine/dbal/milestone/159)
##### 4.0.5
- Total issues resolved: **0**
- Total pull requests resolved: **5**
- Total contributors: **4**
##### Test Suite
- [6477: PHPUnit 10.5.28](https://redirect.github.com/doctrine/dbal/pull/6477) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Documentation
- [6470: Fix update/delete aliases in documentation](https://redirect.github.com/doctrine/dbal/pull/6470) thanks to [@PrinsFrank](https://redirect.github.com/PrinsFrank)
- [6460: Docs: update custom platform example to use middlewares](https://redirect.github.com/doctrine/dbal/pull/6460) thanks to [@janedbal](https://redirect.github.com/janedbal)
## CI
- [6458: ci: nightly - php-8.1 only + workflow_dispatch](https://redirect.github.com/doctrine/dbal/pull/6458) thanks to [@grooverdan](https://redirect.github.com/grooverdan)
- [6457: ci: nightly - php-8.1 min version](https://redirect.github.com/doctrine/dbal/pull/6457) thanks to [@grooverdan](https://redirect.github.com/grooverdan)
This release includes changes from [3.8.7](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.7) as well
### [`v4.0.4`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.4)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.3...4.0.4)
##### Release Notes for [4.0.4](https://redirect.github.com/doctrine/dbal/milestone/157)
##### 4.0.4
- Total issues resolved: **0**
- Total pull requests resolved: **2**
- Total contributors: **1**
##### Test Suite
- [6454: PHPUnit 10.5.22](https://redirect.github.com/doctrine/dbal/pull/6454) thanks to [@derrabus](https://redirect.github.com/derrabus)
- [6447: PHPUnit 10.5.21](https://redirect.github.com/doctrine/dbal/pull/6447) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Changes from Lower Branches
- This release contains all changes of the [3.8.6](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.6) release.
### [`v4.0.3`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.3)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.2...4.0.3)
##### Release Notes for [4.0.3](https://redirect.github.com/doctrine/dbal/milestone/155)
##### 4.0.3
- Total issues resolved: **0**
- Total pull requests resolved: **6**
- Total contributors: **5**
##### Test Suite
- [6431: Display warnings when running PHPUnit in CI](https://redirect.github.com/doctrine/dbal/pull/6431) thanks to [@stof](https://redirect.github.com/stof)
- [6400: PHPUnit 10.5.20](https://redirect.github.com/doctrine/dbal/pull/6400) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Bugfix
- [6418: Fix foreign key name change detection](https://redirect.github.com/doctrine/dbal/pull/6418) thanks to [@achterin](https://redirect.github.com/achterin)
##### Static Analysis
- [6401: Psalm 5.24.0](https://redirect.github.com/doctrine/dbal/pull/6401) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Documentation
- [6394: Fix example for QB delete and update in doc block](https://redirect.github.com/doctrine/dbal/pull/6394) thanks to [@Metabor](https://redirect.github.com/Metabor)
##### Code Style
- [6381: Fix SQLiteSchemaManagerTest case](https://redirect.github.com/doctrine/dbal/pull/6381) thanks to [@mvorisek](https://redirect.github.com/mvorisek)
Changes from [3.8.5](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.5) are included as well.
### [`v4.0.2`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.2)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.1...4.0.2)
##### Release Notes for [4.0.2](https://redirect.github.com/doctrine/dbal/milestone/152)
##### 4.0.2
- Total issues resolved: **0**
- Total pull requests resolved: **4**
- Total contributors: **3**
##### Documentation
- [6340: \[Documentation\] Fixing markup](https://redirect.github.com/doctrine/dbal/pull/6340) thanks to [@ThomasLandauer](https://redirect.github.com/ThomasLandauer)
- [6339: Remove older versions from the docs](https://redirect.github.com/doctrine/dbal/pull/6339) thanks to [@SenseException](https://redirect.github.com/SenseException)
- [6336: \[Documentation\] Adding "versionadded"](https://redirect.github.com/doctrine/dbal/pull/6336) thanks to [@ThomasLandauer](https://redirect.github.com/ThomasLandauer)
- [6333: Update UPGRADE.md](https://redirect.github.com/doctrine/dbal/pull/6333) thanks to [@kalifg](https://redirect.github.com/kalifg)
##### Changes from Lower Branches
- This release contains all changes of the [3.8.4](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.4) release.
### [`v4.0.1`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.1)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.0...4.0.1)
##### Release Notes for [4.0.1](https://redirect.github.com/doctrine/dbal/milestone/150)
##### 4.0.1
- Total issues resolved: **0**
- Total pull requests resolved: **7**
- Total contributors: **4**
##### Documentation
- [6318: Remove Type::canRequireSQLConversion from docs](https://redirect.github.com/doctrine/dbal/pull/6318) thanks to [@SchmidtClaudia](https://redirect.github.com/SchmidtClaudia)
- [6298: Fix typo in UPGRADE.md](https://redirect.github.com/doctrine/dbal/pull/6298) thanks to [@txptr](https://redirect.github.com/txptr)
- [6293: Update branch metadata](https://redirect.github.com/doctrine/dbal/pull/6293) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Test Suite
- [6312: Use native intersection types in test suite](https://redirect.github.com/doctrine/dbal/pull/6312) thanks to [@derrabus](https://redirect.github.com/derrabus)
- [6311: Migrate PHPUnit test suite to attributes](https://redirect.github.com/doctrine/dbal/pull/6311) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Documentation,PostgreSQL
- [6305: \[Documentation\] Adding exact command for Postgres serial migration](https://redirect.github.com/doctrine/dbal/pull/6305) thanks to [@ThomasLandauer](https://redirect.github.com/ThomasLandauer)
##### Static Analysis
- [6294: Psalm 5.21.1](https://redirect.github.com/doctrine/dbal/pull/6294) thanks to [@derrabus](https://redirect.github.com/derrabus)
##### Changes from Lower Branches
- This release contains all changes of the [3.8.3](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.3) release.
### [`v4.0.0`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0)
[Compare Source](https://redirect.github.com/doctrine/dbal/compare/3.9.3...4.0.0)
This is a major release that includes breaking changes. Please refer to the [upgrade guide](https://redirect.github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md) for more details.
#### API Improvements and Cleanup
- Strict scalar type declarations ([#2854](https://redirect.github.com/doctrine/dbal/pull/2854)).
- Scalar parameter and return value types ([#3511](https://redirect.github.com/doctrine/dbal/pull/3511), [#3569](https://redirect.github.com/doctrine/dbal/pull/3569) and others).
- Disallow empty CompositeExpression [#3868](https://redirect.github.com/doctrine/dbal/issues/3868) and make it immutable [#3858](https://redirect.github.com/doctrine/dbal/issues/3858)
- Improved error handling in prepared statements:
- [Transaction-related Statement methods return void](https://redirect.github.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://redirect.github.com/doctrine/dbal/pull/3606))
- [Autoincrement via identity columns on PostgreSQL](https://redirect.github.com/doctrine/dbal/pull/5396)
- Use native syntax for Top-N queries on Oracle ([#5150](https://redirect.github.com/doctrine/dbal/pull/5150)) and IBM DB2 ([#5156](https://redirect.github.com/doctrine/dbal/pull/5156))
- Handle lost connection during commit [#4713](https://redirect.github.com/doctrine/dbal/issues/4713)
- Reworked `AbstractPlatform::get*Expression()` methods [#3498](https://redirect.github.com/doctrine/dbal/issues/3498)
- [Do not require a WHERE in update() and delete() Connection operations #5567](https://redirect.github.com/doctrine/dbal/pull/5567)
- Improvements in exception hierarchy and semantics
- [Remove defaults for MySQL table charset, collation and engine](https://redirect.github.com/doctrine/dbal/pull/4644)
- [Convert ParameterType to enum](https://redirect.github.com/doctrine/dbal/pull/5548)
- Convert enum-like classes to enums [https://github.com/doctrine/dbal/pull/5554](https://redirect.github.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://redirect.github.com/doctrine/dbal/issues/3586)).
- Column precision no longer defaults to 10. Scale and precision must be explicitly specified for decomal columns ([#3348](https://redirect.github.com/doctrine/dbal/issues/3348)).
- [Made the OFFSET in LIMIT queries non-nullable integer defaulting to 0](https://redirect.github.com/doctrine/dbal/pull/3248)
- [Connection::quote() can only quote strings](https://redirect.github.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://redirect.github.com/doctrine/dbal/issues/3583)
- Represent table columns as list in the order of declaration [#4777](https://redirect.github.com/doctrine/dbal/issues/4777)
- [Drop support for SQL Server 2016 and older](https://redirect.github.com/doctrine/dbal/pull/4860)
- [Drop support for Postgres 9](https://redirect.github.com/doctrine/dbal/pull/5069)
- [Drop support for MySQL 5.6 and older and MariaDB 10.2.6 and older](https://redirect.github.com/doctrine/dbal/pull/5089)
- [Drop support for MariaDB 10.4.2 and older](https://redirect.github.com/doctrine/dbal/pull/6122)
- [Drop support for Oracle 12c and older](https://redirect.github.com/doctrine/dbal/pull/5114)
- [Remove `AbstractPlatform::hasNative*Type()` methods and `Type::requiresSQLCommentHint()`](https://redirect.github.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://redirect.github.com/doctrine/dbal/issues/4518))
- Removed `Connection::$_expr` ([#4516](https://redirect.github.com/doctrine/dbal/issues/4516)) and `::getExpressionBuilder()` ([#4540](https://redirect.github.com/doctrine/dbal/issues/4540))
#### Detailed Release Notes
- [4.0.0-RC2](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-RC2)
- [4.0.0-RC1](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-RC1)
- [4.0.0-beta3](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-beta3)
- [4.0.0-beta2](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-beta2)
- [4.0.0-beta1](https://redirect.github.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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^3.0
->^4.0
Release Notes
doctrine/dbal (doctrine/dbal)
### [`v4.2.1`](https://redirect.github.com/doctrine/dbal/releases/tag/4.2.1) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.2.0...4.2.1) ##### Release Notes for [4.2.1](https://redirect.github.com/doctrine/dbal/milestone/167) ##### 4.2.1 - Total issues resolved: **0** - Total pull requests resolved: **0** - Total contributors: **0** ### [`v4.2.0`](https://redirect.github.com/doctrine/dbal/releases/tag/4.2.0) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.1.1...4.2.0) ##### Release Notes for [4.2.0](https://redirect.github.com/doctrine/dbal/milestone/162) ##### 4.2.0 - Total issues resolved: **0** - Total pull requests resolved: **6** - Total contributors: **3** ##### CI - [6537: CI: remove duplicate key](https://redirect.github.com/doctrine/dbal/pull/6537) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### MariaDB,MySQL,New Feature,Schema Introspection,Schema Management,Types - [6536: Implement an EnumType for MySQL/MariaDB](https://redirect.github.com/doctrine/dbal/pull/6536) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Connecting,Connections,New Feature,PDO - [6532: Leverage the new PDO subclasses](https://redirect.github.com/doctrine/dbal/pull/6532) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### New Feature,PostgreSQL,Schema Introspection - [6516: Passive support for partitioned tables on Postgres](https://redirect.github.com/doctrine/dbal/pull/6516) thanks to [@nikophil](https://redirect.github.com/nikophil) ##### Cache,Improvement,Results - [6510: Invalidate old query cache format](https://redirect.github.com/doctrine/dbal/pull/6510) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Cache,New Feature,Results - [6504: Handle cached result column names and rows separately](https://redirect.github.com/doctrine/dbal/pull/6504) thanks to [@morozov](https://redirect.github.com/morozov) ### [`v4.1.1`](https://redirect.github.com/doctrine/dbal/releases/tag/4.1.1) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.1.0...4.1.1) ##### Release Notes for [4.1.1](https://redirect.github.com/doctrine/dbal/milestone/161) ##### 4.1.1 - Total issues resolved: **0** - Total pull requests resolved: **6** - Total contributors: **2** ##### Bug,Connecting,Drivers,PDO - [6513: PDO: Raise a proper exception if user or password is false](https://redirect.github.com/doctrine/dbal/pull/6513) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Bug,Results - [6505: Raise a proper exception when calling `getColumnName()` with negative index](https://redirect.github.com/doctrine/dbal/pull/6505) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Test Suite - [6503: Remove beStrictAboutTodoAnnotatedTests from PHPUnit configuration](https://redirect.github.com/doctrine/dbal/pull/6503) thanks to [@morozov](https://redirect.github.com/morozov) - [6499: PHPUnit 10.5.30](https://redirect.github.com/doctrine/dbal/pull/6499) thanks to [@derrabus](https://redirect.github.com/derrabus) - [6497: Remove obsolete PHP version check](https://redirect.github.com/doctrine/dbal/pull/6497) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Static Analysis - [6500: Psalm 5.25.0](https://redirect.github.com/doctrine/dbal/pull/6500) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Changes from Lower Branches - This release contains all changes of the [3.9.1](https://redirect.github.com/doctrine/dbal/releases/tag/3.9.1) release. ### [`v4.1.0`](https://redirect.github.com/doctrine/dbal/releases/tag/4.1.0) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.5...4.1.0) ##### Release Notes for [4.1.0](https://redirect.github.com/doctrine/dbal/milestone/148) ##### 4.1.0 - Total issues resolved: **0** - Total pull requests resolved: **13** - Total contributors: **8** ##### Deprecation,Platforms,PostgreSQL - [6495: Deprecate support for Postgres 10 and 11](https://redirect.github.com/doctrine/dbal/pull/6495) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Bug,PostgreSQL,Schema Comparison - [6490: Ensure PostgreSQL field length change is executed again](https://redirect.github.com/doctrine/dbal/pull/6490) thanks to [@sbuerk](https://redirect.github.com/sbuerk) ##### Deprecation,New Feature,Schema Management - [6482: Add deprecation layer for TableDiff methods](https://redirect.github.com/doctrine/dbal/pull/6482) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Test Suite - [6481: Fix tests](https://redirect.github.com/doctrine/dbal/pull/6481) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### New Feature,Type Mapping,Types - [6471: Add SmallFloat type](https://redirect.github.com/doctrine/dbal/pull/6471) thanks to [@berkut1](https://redirect.github.com/berkut1) ##### Improvement,QueryBuilder - [6439: Default to distinct union queries](https://redirect.github.com/doctrine/dbal/pull/6439) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Deprecation,Drivers,New Feature,Results - [6428: Add the Result::getColumnName method](https://redirect.github.com/doctrine/dbal/pull/6428) thanks to [@stof](https://redirect.github.com/stof) ##### Improvement - [6376: Remove internal flag on DriverException](https://redirect.github.com/doctrine/dbal/pull/6376) thanks to [@gitomato](https://redirect.github.com/gitomato) - [6326: Remove redundant variable](https://redirect.github.com/doctrine/dbal/pull/6326) thanks to [@michalbundyra](https://redirect.github.com/michalbundyra) ##### New Feature,QueryBuilder - [6369: Add `QueryBuilder` support for `UNION` clause](https://redirect.github.com/doctrine/dbal/pull/6369) thanks to [@sbuerk](https://redirect.github.com/sbuerk) ##### Deprecation,MariaDB,MySQL,Platforms - [6343: Deprecate MariaDB 10.4 and MySQL 5.7 support](https://redirect.github.com/doctrine/dbal/pull/6343) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Static Analysis - [6301: Establish link between isConnected() and \_conn](https://redirect.github.com/doctrine/dbal/pull/6301) thanks to [@greg0ire](https://redirect.github.com/greg0ire) ##### New Feature,Schema Management - [6280: Add explicit renameColumn method](https://redirect.github.com/doctrine/dbal/pull/6280) thanks to [@Tofandel](https://redirect.github.com/Tofandel) ##### Changes from Lower Branches - This release contains all changes of the [3.9.0](https://redirect.github.com/doctrine/dbal/releases/tag/3.9.0) release. ### [`v4.0.5`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.5) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.4...4.0.5) ##### Release Notes for [4.0.5](https://redirect.github.com/doctrine/dbal/milestone/159) ##### 4.0.5 - Total issues resolved: **0** - Total pull requests resolved: **5** - Total contributors: **4** ##### Test Suite - [6477: PHPUnit 10.5.28](https://redirect.github.com/doctrine/dbal/pull/6477) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Documentation - [6470: Fix update/delete aliases in documentation](https://redirect.github.com/doctrine/dbal/pull/6470) thanks to [@PrinsFrank](https://redirect.github.com/PrinsFrank) - [6460: Docs: update custom platform example to use middlewares](https://redirect.github.com/doctrine/dbal/pull/6460) thanks to [@janedbal](https://redirect.github.com/janedbal) ## CI - [6458: ci: nightly - php-8.1 only + workflow_dispatch](https://redirect.github.com/doctrine/dbal/pull/6458) thanks to [@grooverdan](https://redirect.github.com/grooverdan) - [6457: ci: nightly - php-8.1 min version](https://redirect.github.com/doctrine/dbal/pull/6457) thanks to [@grooverdan](https://redirect.github.com/grooverdan) This release includes changes from [3.8.7](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.7) as well ### [`v4.0.4`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.4) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.3...4.0.4) ##### Release Notes for [4.0.4](https://redirect.github.com/doctrine/dbal/milestone/157) ##### 4.0.4 - Total issues resolved: **0** - Total pull requests resolved: **2** - Total contributors: **1** ##### Test Suite - [6454: PHPUnit 10.5.22](https://redirect.github.com/doctrine/dbal/pull/6454) thanks to [@derrabus](https://redirect.github.com/derrabus) - [6447: PHPUnit 10.5.21](https://redirect.github.com/doctrine/dbal/pull/6447) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Changes from Lower Branches - This release contains all changes of the [3.8.6](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.6) release. ### [`v4.0.3`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.3) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.2...4.0.3) ##### Release Notes for [4.0.3](https://redirect.github.com/doctrine/dbal/milestone/155) ##### 4.0.3 - Total issues resolved: **0** - Total pull requests resolved: **6** - Total contributors: **5** ##### Test Suite - [6431: Display warnings when running PHPUnit in CI](https://redirect.github.com/doctrine/dbal/pull/6431) thanks to [@stof](https://redirect.github.com/stof) - [6400: PHPUnit 10.5.20](https://redirect.github.com/doctrine/dbal/pull/6400) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Bugfix - [6418: Fix foreign key name change detection](https://redirect.github.com/doctrine/dbal/pull/6418) thanks to [@achterin](https://redirect.github.com/achterin) ##### Static Analysis - [6401: Psalm 5.24.0](https://redirect.github.com/doctrine/dbal/pull/6401) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Documentation - [6394: Fix example for QB delete and update in doc block](https://redirect.github.com/doctrine/dbal/pull/6394) thanks to [@Metabor](https://redirect.github.com/Metabor) ##### Code Style - [6381: Fix SQLiteSchemaManagerTest case](https://redirect.github.com/doctrine/dbal/pull/6381) thanks to [@mvorisek](https://redirect.github.com/mvorisek) Changes from [3.8.5](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.5) are included as well. ### [`v4.0.2`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.2) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.1...4.0.2) ##### Release Notes for [4.0.2](https://redirect.github.com/doctrine/dbal/milestone/152) ##### 4.0.2 - Total issues resolved: **0** - Total pull requests resolved: **4** - Total contributors: **3** ##### Documentation - [6340: \[Documentation\] Fixing markup](https://redirect.github.com/doctrine/dbal/pull/6340) thanks to [@ThomasLandauer](https://redirect.github.com/ThomasLandauer) - [6339: Remove older versions from the docs](https://redirect.github.com/doctrine/dbal/pull/6339) thanks to [@SenseException](https://redirect.github.com/SenseException) - [6336: \[Documentation\] Adding "versionadded"](https://redirect.github.com/doctrine/dbal/pull/6336) thanks to [@ThomasLandauer](https://redirect.github.com/ThomasLandauer) - [6333: Update UPGRADE.md](https://redirect.github.com/doctrine/dbal/pull/6333) thanks to [@kalifg](https://redirect.github.com/kalifg) ##### Changes from Lower Branches - This release contains all changes of the [3.8.4](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.4) release. ### [`v4.0.1`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.1) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/4.0.0...4.0.1) ##### Release Notes for [4.0.1](https://redirect.github.com/doctrine/dbal/milestone/150) ##### 4.0.1 - Total issues resolved: **0** - Total pull requests resolved: **7** - Total contributors: **4** ##### Documentation - [6318: Remove Type::canRequireSQLConversion from docs](https://redirect.github.com/doctrine/dbal/pull/6318) thanks to [@SchmidtClaudia](https://redirect.github.com/SchmidtClaudia) - [6298: Fix typo in UPGRADE.md](https://redirect.github.com/doctrine/dbal/pull/6298) thanks to [@txptr](https://redirect.github.com/txptr) - [6293: Update branch metadata](https://redirect.github.com/doctrine/dbal/pull/6293) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Test Suite - [6312: Use native intersection types in test suite](https://redirect.github.com/doctrine/dbal/pull/6312) thanks to [@derrabus](https://redirect.github.com/derrabus) - [6311: Migrate PHPUnit test suite to attributes](https://redirect.github.com/doctrine/dbal/pull/6311) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Documentation,PostgreSQL - [6305: \[Documentation\] Adding exact command for Postgres serial migration](https://redirect.github.com/doctrine/dbal/pull/6305) thanks to [@ThomasLandauer](https://redirect.github.com/ThomasLandauer) ##### Static Analysis - [6294: Psalm 5.21.1](https://redirect.github.com/doctrine/dbal/pull/6294) thanks to [@derrabus](https://redirect.github.com/derrabus) ##### Changes from Lower Branches - This release contains all changes of the [3.8.3](https://redirect.github.com/doctrine/dbal/releases/tag/3.8.3) release. ### [`v4.0.0`](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0) [Compare Source](https://redirect.github.com/doctrine/dbal/compare/3.9.3...4.0.0) This is a major release that includes breaking changes. Please refer to the [upgrade guide](https://redirect.github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md) for more details. #### API Improvements and Cleanup - Strict scalar type declarations ([#2854](https://redirect.github.com/doctrine/dbal/pull/2854)). - Scalar parameter and return value types ([#3511](https://redirect.github.com/doctrine/dbal/pull/3511), [#3569](https://redirect.github.com/doctrine/dbal/pull/3569) and others). - Disallow empty CompositeExpression [#3868](https://redirect.github.com/doctrine/dbal/issues/3868) and make it immutable [#3858](https://redirect.github.com/doctrine/dbal/issues/3858) - Improved error handling in prepared statements: - [Transaction-related Statement methods return void](https://redirect.github.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://redirect.github.com/doctrine/dbal/pull/3606)) - [Autoincrement via identity columns on PostgreSQL](https://redirect.github.com/doctrine/dbal/pull/5396) - Use native syntax for Top-N queries on Oracle ([#5150](https://redirect.github.com/doctrine/dbal/pull/5150)) and IBM DB2 ([#5156](https://redirect.github.com/doctrine/dbal/pull/5156)) - Handle lost connection during commit [#4713](https://redirect.github.com/doctrine/dbal/issues/4713) - Reworked `AbstractPlatform::get*Expression()` methods [#3498](https://redirect.github.com/doctrine/dbal/issues/3498) - [Do not require a WHERE in update() and delete() Connection operations #5567](https://redirect.github.com/doctrine/dbal/pull/5567) - Improvements in exception hierarchy and semantics - [Remove defaults for MySQL table charset, collation and engine](https://redirect.github.com/doctrine/dbal/pull/4644) - [Convert ParameterType to enum](https://redirect.github.com/doctrine/dbal/pull/5548) - Convert enum-like classes to enums [https://github.com/doctrine/dbal/pull/5554](https://redirect.github.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://redirect.github.com/doctrine/dbal/issues/3586)). - Column precision no longer defaults to 10. Scale and precision must be explicitly specified for decomal columns ([#3348](https://redirect.github.com/doctrine/dbal/issues/3348)). - [Made the OFFSET in LIMIT queries non-nullable integer defaulting to 0](https://redirect.github.com/doctrine/dbal/pull/3248) - [Connection::quote() can only quote strings](https://redirect.github.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://redirect.github.com/doctrine/dbal/issues/3583) - Represent table columns as list in the order of declaration [#4777](https://redirect.github.com/doctrine/dbal/issues/4777) - [Drop support for SQL Server 2016 and older](https://redirect.github.com/doctrine/dbal/pull/4860) - [Drop support for Postgres 9](https://redirect.github.com/doctrine/dbal/pull/5069) - [Drop support for MySQL 5.6 and older and MariaDB 10.2.6 and older](https://redirect.github.com/doctrine/dbal/pull/5089) - [Drop support for MariaDB 10.4.2 and older](https://redirect.github.com/doctrine/dbal/pull/6122) - [Drop support for Oracle 12c and older](https://redirect.github.com/doctrine/dbal/pull/5114) - [Remove `AbstractPlatform::hasNative*Type()` methods and `Type::requiresSQLCommentHint()`](https://redirect.github.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://redirect.github.com/doctrine/dbal/issues/4518)) - Removed `Connection::$_expr` ([#4516](https://redirect.github.com/doctrine/dbal/issues/4516)) and `::getExpressionBuilder()` ([#4540](https://redirect.github.com/doctrine/dbal/issues/4540)) #### Detailed Release Notes - [4.0.0-RC2](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-RC2) - [4.0.0-RC1](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-RC1) - [4.0.0-beta3](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-beta3) - [4.0.0-beta2](https://redirect.github.com/doctrine/dbal/releases/tag/4.0.0-beta2) - [4.0.0-beta1](https://redirect.github.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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.