Releases: doctrine/dbal
Releases · doctrine/dbal
3.8.1
Release Notes for 3.8.1
3.8.1
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 3
Static Analysis,Test Suite
Bug,Cache
CI,MySQL
- 6279: Run tests with MySQL 8.3 thanks to @derrabus
Documentation
- 6278: Update branch metadata thanks to @derrabus
Improvement,MariaDB,Schema Introspection
4.0.0-RC2
Breaking Changes
- Remove deprecated lock-related methods by @derrabus in #6219
- Remove AbstractMySQLPlatform::getColumnTypeSQLSnippets() by @ausi in #6214
- Remove API to disable column comments by @derrabus in #6222
Improvements
- Move
getJsonTypeDeclarationSQL()
toAbstractMySQLPlatform
by @derrabus in #6216 - Relax return types of getExceptionConverter() implementations by @derrabus in #6221
Changes from Lower Branches
- Enable establishing exclusive oci8 connections by @morozov in #6182
- Add
QueryBuilder::resetOrderBy()
by @mbabker in #6190 - Make the type annotation for CompositeExpression::count more specific by @oliverklee in #6188
- Remove irrelevant details from the savepoint name by @morozov in #6197
- MySQLSchemaManager: Check expected database type for json columns only by @cgknx in #6189
- Fix MariaDB list columns performance by @ausi in #6202
- Enable skipping locked rows in QueryBuilder by @morozov in #6191
- Move schema part to the index by @greg0ire in #6226
- Use different toctrees for different sections by @greg0ire in #6240
- Switch to absolute paths by @greg0ire in #6241
- Keep NVARCHAR(MAX) length as -1 by @kitloong in #6251
Full Changelog: 4.0.0-RC1...4.0.0-RC2
3.8.0
Release Notes for 3.8.0
3.8.0
- Total issues resolved: 0
- Total pull requests resolved: 9
- Total contributors: 4
New Features
- 6190: Add
QueryBuilder::resetOrderBy()
thanks to @mbabker - 6182: Enable establishing exclusive oci8 connections thanks to @morozov
- 6191: Enable skipping locked rows in QueryBuilder thanks to @morozov
Improvement
Deprecations
- 6179: Deprecate getting query parts from QueryBuilder thanks to @morozov
- 6193: Add deprecation layer and upgrade path for QueryBuilder::reset*() methods thanks to @derrabus
- 6215: Extend
AbstractMySQLPlatform::getColumnTypeSQLSnippets()
deprecation layer thanks to @derrabus - 6213: Deprecate AbstractMySQLPlatform::getColumnTypeSQLSnippets() thanks to @ausi
Bugfixes
3.7.3
Release Notes for 3.7.3
3.7.3
- Total issues resolved: 0
- Total pull requests resolved: 10
- Total contributors: 6
CI,pdo_sqlsrv,sqlsrv
- 6269: Stop using chocolatey shims thanks to @greg0ire
Bug,Documentation
Static Analysis,Test Suite
Documentation
- 6253: Fix connection setup example in
PrimaryReadReplicaConnection
thanks to @smorimoto - 6241: Switch to absolute paths thanks to @greg0ire
Bug,SQL Server,Schema Introspection
Code Style
- 6238: PHP CodeSniffer 3.8.0 thanks to @derrabus
CI,MariaDB
Bug,SQLite,Schema Definition,Schema Management
- 6226: Move schema part to the index thanks to @greg0ire
CI
3.7.2
Release Notes for 3.7.2
3.7.2
- Total issues resolved: 0
- Total pull requests resolved: 9
- Total contributors: 5
Static Analysis
- 6223: PHPStan 1.10.42 thanks to @derrabus
- 6211: PHPStan 1.10.41 thanks to @derrabus
- 6188: Make the type annotation for CompositeExpression::count more specific thanks to @oliverklee
- 6178: PHPStan 1.10.38 thanks to @derrabus
CI,Oracle
- 6217: Add Oracle v23 to CI testing thanks to @mvorisek
Schema Introspection,Test Suite
CI,MySQL
- 6207: Run tests on MySQL 8.2 thanks to @derrabus
Bug,MariaDB,Performance,Schema Introspection
Bug,MariaDB,Schema Introspection
4.0.0-RC1
Breaking Changes
Improvements
Changes from Lower Branches
- [CI] Leverage built-in healthcheck for "db2" service by @phansys in #6159
- Fix comparator type detection by @ausi in #6168
- Correct Column->getDefault() annotation by @lolli42 in #6125
- PHPStan 1.10.38 by @derrabus in #6178
New Contributors
Full Changelog: 4.0.0-beta3...4.0.0-RC1
3.7.1
Release Notes for 3.7.1
3.7.1
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 3
Bug,Schema Comparison
- 6168: Fix comparator type detection thanks to @ausi
CI,IBM DB2
Static Analysis
4.0.0-beta3
What's Changed
- Use "numeric-string" return type for methods that return integers as strings by @phansys in #5905
- Use closures in portability converter by @derrabus in #5936
- Remove unused private platform methods by @derrabus in #5944
- Remove the legacy execution and fetch API by @derrabus in #5956
- More upgrade documentation for OraclePlatform::getSubstringExpression() by @morozov in #5978
- Update Psalm to 5.12.0 by @morozov in #6061
- SchemaDiff detecting errors in column definition when using custom type in 4.0.x by @janedbal in #5988
- Update PHPUnit to 10 by @morozov in #6065
- Psalm 5.13.1 by @derrabus in #6075
- Restore reverse lookup determinism by @greg0ire in #6097
- Drop support for MariaDB 10.2 and 10.3 by @derrabus in #6122
- Psalm 5.14.1, PHPStorm Stubs 2023.2 by @derrabus in #6124
- Remove composer-runtime-api dependency by @derrabus in #6155
- Stricter
DateTime
types by @derrabus in #6161 - Psalm 5.15.0 by @derrabus in #6167
New Contributors
See also
This release contains all changes of the 3.x series since 3.6.0. For more information, please refer to the individual release announcements:
- https://github.com/doctrine/dbal/releases/tag/3.6.1
- https://github.com/doctrine/dbal/releases/tag/3.6.2
- https://github.com/doctrine/dbal/releases/tag/3.6.3
- https://github.com/doctrine/dbal/releases/tag/3.6.4
- https://github.com/doctrine/dbal/releases/tag/3.6.5
- https://github.com/doctrine/dbal/releases/tag/3.6.6
- https://github.com/doctrine/dbal/releases/tag/3.6.7
- https://github.com/doctrine/dbal/releases/tag/3.7.0
Full Changelog: 4.0.0-beta2...4.0.0-beta3
3.7.0
Release Notes for 3.7.0
3.7.0
- Total issues resolved: 0
- Total pull requests resolved: 28
- Total contributors: 10
New Features
- 6134: Add binary array type thanks to @shyim
- 6130: Add Type::lookupName() shortcut method thanks to @mvorisek
- 6059: Allow
DsnParser
to parsedriverClass
via$schemeMapping
thanks to @kbond - 6046: Add support for unlogged tables in PostgreSQL thanks to @f-lombardo
- 6010: Add support for SQLite shorthand form in foreign key constraints thanks to @phansys
- 5946: Support RENAME INDEX on MariaDB thanks to @Khartir
- 5916: Use Native JSON type instead of LONGTEXT for MariaDB thanks to @cgknx
Improvements
- 6150: Add a configuration setting to disable generating type comments thanks to @stof
- 6136: Support Symfony 7 by adding return types conditionally thanks to @derrabus
- 6082: Optimize TypeRegistry::lookupName() from O(N) to O(1) thanks to @mvorisek
- 6023: Remove redundant initialization of column options thanks to @morozov
- 6018: Use constants for DBAL types thanks to @phansys
- 6004: [MySQLi] Convert private property
Statement::$paramTypeMap
to class constantPARAM_TYPE_MAP
thanks to @phansys - 5996: Replace "magic" values with constants at
DB2Platform
thanks to @phansys - 5995: Use constants for DBAL types at
DB2Platform::initializeDoctrineTypeMappings()
thanks to @phansys
Deprecations
- 6017: Narrow responsibilities in datetime related types thanks to @phansys
- 5957: Trigger a runtime deprecation for
Connection::executeUpdate()
thanks to @derrabus - 5948: Trigger runtime deprecations for legacy API thanks to @derrabus
Static Analysis
- 5926: Restrict the possible values for the casing options under the
Portability\
NS thanks to @phansys
Documentation
- 6165: Prepare release 3.7.0 thanks to @derrabus
- 6069: Add documentation for #6044 thanks to @f-lombardo
Dependencies
- 6066: Prerequisites for PHPUnit update to version 10 in 4.0.x thanks to @morozov
- 6164: PHPUnit 9.6.13, PHPStan 1.10.35 thanks to @derrabus
CI
- 6163: Update MariaDB workflows thanks to @derrabus
- 6110: Sync MariaDB support strategy with upstream thanks to @derrabus
Test Suite
- 6019: Use constants for DBAL types in tests thanks to @phansys
- 5917: Add test for
Mysqli\Result
thanks to @phansys
Code Style
3.6.7
Release Notes for 3.6.7
3.6.7
- Total issues resolved: 0
- Total pull requests resolved: 9
- Total contributors: 5
Bug,Drivers,MySQL,Platform Detection
CI,PostgreSQL
- 6154: Run tests against Postgres 16 thanks to @derrabus
CI
- 6152: Bump CI workflows thanks to @derrabus
Static Analysis,Test Suite
- 6151: PHPStan 1.10.34, PHPUnit 9.6.12 thanks to @derrabus
- 6139: PHPUnit 9.6.11, PHPStan 1.10.32 thanks to @derrabus
Documentation
- 6147: Fix invalid SQL in the document thanks to @takaram
- 6145: docs: link to the testing guidelines in CONTRIBUTING.md thanks to @greg0ire
- 6137: Remove duplicate alias and slug thanks to @greg0ire