This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| doctrine/dbal (source) | ^3.10.1 -> ^4.3.2 |
Release Notes
doctrine/dbal (doctrine/dbal)
v4.3.2
Release Notes for 4.3.2
4.3.2
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 4
Deprecation
Improvement
- 7065: Improve deprecation thanks to @greg0ire
Documentation,Schema Definition
Bug,Schema Introspection,pdo_pgsql
Changes from Lower Branches
- This release contains all changes from the 3.10.1 release.
v4.3.1
Release Notes for 4.3.1
4.3.1
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 5
Bug,SQLite,Schema Introspection
Bug,Oracle
- 7043: Quote Oracle user password thanks to @morozov
Bug,PostgreSQL,Schema Management
Bug,Schema Introspection
- 7028: Fix length type in
MySQLSchemaManagerwithATTR_STRINGIFY_FETCHESenabled thanks to @keulinho
Bug,MariaDB,Schema Introspection
v4.3.0
Release Notes for 4.3.0
4.3.0
- Total issues resolved: 3
- Total pull requests resolved: 103
- Total contributors: 9
New Features
- 6966: Add more TableEditor methods thanks to @morozov
- 6927: Add shorthand name-related methods to schema object editors thanks to @morozov
- 6890: Introduce ComparatorConfig::withReportModifiedIndexes() thanks to @morozov and @sbuerk
- 6686: Add a
NumberTypethat maps to theBcMath\Numbervalue object thanks to @derrabus - 6660: Introduce table editor thanks to @morozov
- 6621: Add CTE support to select in QueryBuilder thanks to @nio-dtp
- 6300: Make column and index renaming configurable thanks to @ausi
Improvements
- 6981: Clean up SQL Server LIKE wildcard characters thanks to @morozov
- 6965: Populate indexed column lengths only with non-null values thanks to @morozov
- 6964: Populate foreign key constraint options only with non-default values thanks to @morozov
- 6962: Require Doctrine Deprecations 1.1.5 thanks to @morozov
- 6958: Preserve the non-clustered property of the PK constraint thanks to @morozov
- 6944: Clean up SQLite column definition parsing thanks to @morozov
- 6943: Include object name in editor exception messages thanks to @morozov
- 6934: Update TableEditor API thanks to @morozov
- 6933: Simplify Postgres column introspection thanks to @morozov
- 6932: Clean up MySQL column type parsing thanks to @morozov
- 6931: Clean up SQL Server column type parsing thanks to @morozov
- 6923: Mark classes as read-only, internal and final thanks to @morozov
- 6907: Rework foreign key constraint introspection on SQLite thanks to @morozov
- 6904: Rework index introspection on SQLite thanks to @morozov
- 6901: Reintroduce PHP 8.2 support thanks to @derrabus
- 6889: Require PHP 8.3 thanks to @morozov
- 6887: Rework index column introspection on Postgres thanks to @morozov
- 6873: Remove DB2Platform:getPreAlterTableIndexForeignKeySQL() thanks to @morozov
- 6867: Introduce PrimaryKeyConstraint thanks to @morozov
- 6864: Use consistent formatting in PRIMARY KEY DDL thanks to @morozov
- 6854: Clean up schema introspection parsing code thanks to @morozov
- 6823: Extract UnquotedIdentifierFolding from AbstractPlatform thanks to @morozov
- 6822: Clean up SQLitePlatform column mapping code thanks to @morozov
- 6815: Remove AbstractName and mark GenericName as internal thanks to @morozov
- 6783: Use InvalidState instead of NameIsNotInitialized thanks to @morozov
- 6803: Clean up OraclePlatform auto-increment code thanks to @morozov
- 6796: Refactor SQL Server code for calling stored procedures thanks to @morozov
- 6787: Introduce IndexedColumn thanks to @morozov
- 6785: feat: support non-libc collations in postgres thanks to @simPod
- 6784: Accept OptionallyQualifiedName in TableEditor::setName() thanks to @morozov
- 6746: Introduce AbstractSchemaManager::getCurrentSchemaName() thanks to @morozov
- 6754: Refactor building schema introspection queries thanks to @morozov
- 6752: Use function db2_field_name thanks to @morozov
- 6745: Remove SQLite "schema emulation" leftovers thanks to @morozov
- 6744: Refactor AbstractSchemaManager::fetch*/select*() API thanks to @morozov
- 6730: Introspect foreign key constraint deferrability on Oracle thanks to @morozov
- 6728: Deprecate ForeignKeyConstraint features and introduce ForeignKeyConstraintEditor thanks to @morozov
- 6714: Rename Identifier::toSql() to Identifier::toSQL() thanks to @morozov
- 6705: Remove final constructor for Type thanks to @ruudk
- 6698: OCI8: Remove PHP 7 compat code thanks to @derrabus
- 6685: Deprecate UniqueConstraint features and introduce UniqueConstraintEditor thanks to @morozov
- 6646: Introduce value objects representing database object names thanks to @morozov
- 6578: Rename column in indexes and constraints thanks to @morozov
- 6550: Simplify tracking implicitly created indexes thanks to @morozov
- 6549: Remove handling unique constraint column names as associative array thanks to @morozov
Deprecations
- 7000: Deprecate support for MariaDB 10.5 thanks to @derrabus
- 6945: Deprecate Column features and introduce ColumnEditor thanks to @morozov
- 6940: Deprecate "version" column platform option thanks to @morozov
- 6939: Introduce JSONB type, deprecate "jsonb" column platform option thanks to @morozov
- 6886: Deprecate Index features and introduce IndexEditor thanks to @morozov
- 6849: Deprecate invalid auto-increment column definitions on SQLite thanks to @morozov
- 6841: Deprecate auto-increment being dropped with the PK on MySQL thanks to @morozov
- 6831: Deprecate modified indexes in TableDiff thanks to @morozov
- 6827: Deprecate modified foreign keys in TableDiff thanks to @morozov
- 6799: Fix false-positive primary key column length deprecation thanks to @morozov
- 6769: Introduce Identifier::toNormalizedValue(), deprecate AbstractSchemaManager::_normalizeName() thanks to @morozov
- 6768: Deprecate introspection of unquoted table names with dot thanks to @morozov
- 6755: Deprecate
AbstractSchemaManager::&#​95;getPortableTableDefinition()thanks to @morozov - 6734: Deprecate usage of Schema as AbstractAsset thanks to @morozov
- 6710: Deprecate Table::columnsAreIndexed() thanks to @morozov
- 6707: Deprecate conversion of RESTRICT to NO ACTION thanks to @morozov
- 6701: Deprecate introspection of incomplete SQLite schema thanks to @morozov
- 6677: Deprecate mixing qualified and unqualified names thanks to @morozov
- 6674: Deprecate AbstractAsset::getQuotedName() thanks to @morozov
- 6657: Deprecate AbstractAsset::getShortestName() thanks to @morozov
- 6610: Deprecate AbstractAsset::_setName() thanks to @morozov
- 6671: Deprecate empty index name thanks to @morozov
- 6664: Deprecated AbstractAsset namespace-related methods thanks to @morozov
- 6654: Deprecate Sequence::isAutoIncrementsFor() thanks to @morozov
- 6635: Deprecate altering table configuration thanks to @morozov
- 6607: Deprecate reserved keyword lists thanks to @morozov
- 6592: Deprecate relying on the current implementation of the database object name parser thanks to @morozov
- 6590: Deprecate AbstractPlatform::quoteIdentifier() thanks to @morozov
- 6560: Deprecate Table::removeForeignKey() and ::removeUniqueConstraint() thanks to @morozov
- 6559: Deprecate dropping columns referenced by constraints thanks to @morozov
Bugfixes
- 6971: Omit implicit indexes in Table::edit() thanks to @morozov
- 6882: Clean up Table::renameIndex() code thanks to @morozov
- 6801: Unmark Index as final thanks to @morozov
- 6739: Implement empty Schema::setName() thanks to @morozov
- 6737: Unable to instantiate Schema objects without deprecations thanks to @xabbuh
- 6738: Add missing sentence and placeholder. thanks to @greg0ire
- 6718: Fix deferrable/deferred constraint DDL on PostgreSQL thanks to @morozov
- 6717: Invalid DDL for deferred constraints on PostgreSQL thanks to @morozov
- 6908: fix replacing method name in deprecation message thanks to @xabbuh
Static Analysis
- 6914: Mark identifiers as non-empty strings thanks to @morozov
- 6899: Mark ComparatorConfig::getReportModifiedIndexes() as internal thanks to @morozov
- 6832: Enable PHPStan checks for exceptions thanks to @morozov
- 6805: Annotate some internal array shapes thanks to @morozov
- 6788: Mark protected platform and schema manager methods as internal thanks to @morozov
- 6608: Mark Identifier as internal thanks to @morozov
Test Suite
- 7006: phpunit/phpunit (11.5.15 => 11.5.23) thanks to @derrabus
- 6894: PHPUnit 11 thanks to @morozov
- 6995: Rework schema introspection tests that use reflection thanks to @morozov
- 6980: Remove redundant PHPUnit 11 configuration thanks to @morozov
- 6972: Rework tests that create or modify tables thanks to @morozov
- 6872: Fix testChangeIndexWithForeignKeys() configuration thanks to @morozov
- 6794: Accept schema name as object in FunctionalTest::dropAndCreateSchema() thanks to @morozov
CI
Changes from lower branches
This release contains improvements shipped with the 3.10.0 release:
v4.2.5
Release Notes for 4.2.5
4.2.5
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bugfixes
- 7010: Extend the detection of connection lost in the PostgreSQL ExceptionConverter thanks to @petaak
v4.2.4
Release Notes for 4.2.4
4.2.4
- Total issues resolved: 0
- Total pull requests resolved: 15
- Total contributors: 5
Dependencies,Test Suite
CI,Test Suite
- 6978: Fail PHPUnit on notice, output more failure details thanks to @morozov
- 6959: Fail on PHPUnit deprecations thanks to @morozov
Documentation
- 6930: Fix typo in first example thanks to @Crell
- 6916: Fix query builder code examples thanks to @BackEndTea
Bug,Columns,SQLite,Schema Management,Tables
Configuration,Test Suite,pdo_sqlsrv
Auto-increment,MySQL,PostgreSQL,Primary Keys,Schema Management,Test Suite
IBM Db2,Test Suite
Static Analysis
Test Suite
MySQL,Primary Keys,Test Suite
Auto-increment,Schema Introspection,Test Suite
Auto-increment,Bug,MySQL,Primary Keys,Schema Management
Bug,DSN Parser
Changes from Lower Branches
- This release contains all changes of the 3.9.5 release.
v4.2.3
Release Notes for 4.2.3
4.2.3
- Total issues resolved: 0
- Total pull requests resolved: 7
- Total contributors: 4
Foreign Keys,Schema Management,Test Suite
Primary Keys,Test Suite
- 6820: Convert some unit tests to integration tests thanks to @morozov
- 6819: Fix SchemaManagerFunctionalTestCase::testSwitchPrimaryKeyOrder() thanks to @morozov
Bug,Oracle
Bug,Error Handling,Transactions
Documentation
6776: Fix link in docs thanks to @HypeMC
6700: [DOCS] Fix binary type format documentation thanks to @jaapio
v4.2.2
Release Notes for 4.2.2
4.2.2
- Total issues resolved: 1
- Total pull requests resolved: 18
- Total contributors: 12
Static Analysis
- 6697: Cleanup obsolete PHPStan ignore rules thanks to @derrabus
- 6574: Remove non thrown exception from phpdoc thanks to @Tofandel
Bug,PostgreSQL,Schema Comparison
- 6693: Enable platformOptions to be considered for ColumnDiff (PostgreSQL jsonb support) thanks to @DanielBadura
Test Suite
- 6692: PHPUnit 10.5.39 thanks to @derrabus
Documentation
Bug,Schema Management
CI
- 6661: Create website schema validation workflow thanks to @SenseException
- 6632: Source IBM DB2 CLI driver from GitHub thanks to @morozov
- 6625: Rework continuous integration for v4 thanks to @greg0ire
Bug,Connecting,Connections,PDO,PHP
Bug,Quoting,SQL Server,Schema Management
Bug,PostgreSQL,Quoting,Schema Management
Bug,Prepared Statements,oci8
Connecting,Drivers,New Feature,Oracle
Bug,Type Mapping
- 6579: Fix max string length resolution in
AbstractPlatform::getEnumDeclaration()thanks to @davidxkurka
Bug,Cache
6552: Query Cache mangled if saved by-reference thanks to @Slamdunk
6546: Fix incorrect
transactional()handling when DB auto-rolled back the transaction (v4) thanks to @simPod
Bug,Type Conversion
Changes from Lower Branches
- This release contains all changes of the 3.9.4 release.
v4.2.1
Release Notes for 4.2.1
4.2.1
- Total issues resolved: 0
- Total pull requests resolved: 0
- Total contributors: 0
v4.2.0
Release Notes for 4.2.0
4.2.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 3
CI
- 6537: CI: remove duplicate key thanks to @derrabus
MariaDB,MySQL,New Feature,Schema Introspection,Schema Management,Types
Connecting,Connections,New Feature,PDO
New Feature,PostgreSQL,Schema Introspection
Cache,Improvement,Results
Cache,New Feature,Results
v4.1.1
Release Notes for 4.1.1
4.1.1
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 2
Bug,Connecting,Drivers,PDO
Bug,Results
- 6505: Raise a proper exception when calling
getColumnName()with negative index thanks to @derrabus
Test Suite
- 6503: Remove beStrictAboutTodoAnnotatedTests from PHPUnit configuration thanks to @morozov
- 6499: PHPUnit 10.5.30 thanks to @derrabus
- 6497: Remove obsolete PHP version check thanks to @derrabus
Static Analysis
- 6500: Psalm 5.25.0 thanks to @derrabus
Changes from Lower Branches
- This release contains all changes of the 3.9.1 release.
v4.1.0
Release Notes for 4.1.0
4.1.0
- Total issues resolved: 0
- Total pull requests resolved: 13
- Total contributors: 8
Deprecation,Platforms,PostgreSQL
Bug,PostgreSQL,Schema Comparison
Deprecation,New Feature,Schema Management
Test Suite
- 6481: Fix tests thanks to @derrabus
New Feature,Type Mapping,Types
- 6471: Add SmallFloat type thanks to @berkut1
Improvement,QueryBuilder
Deprecation,Drivers,New Feature,Results
Improvement
- 6376: Remove internal flag on DriverException thanks to @gitomato
- 6326: Remove redundant variable thanks to @michalbundyra
New Feature,QueryBuilder
Deprecation,MariaDB,MySQL,Platforms
Static Analysis
New Feature,Schema Management
Changes from Lower Branches
- This release contains all changes of the 3.9.0 release.
v4.0.5
Release Notes for 4.0.5
4.0.5
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 4
Test Suite
- 6477: PHPUnit 10.5.28 thanks to @derrabus
Documentation
- 6470: Fix update/delete aliases in documentation thanks to @PrinsFrank
- 6460: Docs: update custom platform example to use middlewares thanks to @janedbal
CI
- 6458: ci: nightly - php-8.1 only + workflow_dispatch thanks to @grooverdan
- 6457: ci: nightly - php-8.1 min version thanks to @grooverdan
This release includes changes from 3.8.7 as well
v4.0.4
Release Notes for 4.0.4
4.0.4
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Test Suite
- 6454: PHPUnit 10.5.22 thanks to @derrabus
- 6447: PHPUnit 10.5.21 thanks to @derrabus
Changes from Lower Branches
- This release contains all changes of the 3.8.6 release.
v4.0.3
Release Notes for 4.0.3
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 thanks to @stof
- 6400: PHPUnit 10.5.20 thanks to @derrabus
Bugfix
Static Analysis
- 6401: Psalm 5.24.0 thanks to @derrabus
Documentation
Code Style
Changes from 3.8.5 are included as well.
v4.0.2
Release Notes for 4.0.2
4.0.2
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 3
Documentation
- 6340: [Documentation] Fixing markup thanks to @ThomasLandauer
- 6339: Remove older versions from the docs thanks to @SenseException
- 6336: [Documentation] Adding "versionadded" thanks to @ThomasLandauer
- 6333: Update UPGRADE.md thanks to @kalifg
Changes from Lower Branches
- This release contains all changes of the 3.8.4 release.
v4.0.1
Release Notes for 4.0.1
4.0.1
- Total issues resolved: 0
- Total pull requests resolved: 7
- Total contributors: 4
Documentation
- 6318: Remove Type::canRequireSQLConversion from docs thanks to @SchmidtClaudia
- 6298: Fix typo in UPGRADE.md thanks to @txptr
- 6293: Update branch metadata thanks to @derrabus
Test Suite
- 6312: Use native intersection types in test suite thanks to @derrabus
- 6311: Migrate PHPUnit test suite to attributes thanks to @derrabus
Documentation,PostgreSQL
Static Analysis
- 6294: Psalm 5.21.1 thanks to @derrabus
Changes from Lower Branches
- This release contains all changes of the 3.8.3 release.
v4.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
- 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 #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
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 was generated by Mend Renovate. View the repository job log.