Tags: larowlan/dbal
Tags
Release [3.5.1](https://github.com/doctrine/dbal/milestone/123) 3.5.1 ===== - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** Bug,Regression -------------- - [5795: Revert "Clean up MySQL version detection logic"](doctrine#5795) thanks to @greg0ire
Merge pull request doctrine#5788 from morozov/remove-event-manager Remove extension via Doctrine Event Manager
Release [3.5.0](https://github.com/doctrine/dbal/milestone/117) 3.5.0 ===== - Total issues resolved: **1** - Total pull requests resolved: **40** - Total contributors: **5** Connecting,Deprecation,Events,Transactions ------------------------------------------ - [5786: Deprecate extension via Doctrine Event Manager](doctrine#5786) thanks to @morozov Deprecation,Events,Schema Introspection,Schema Management --------------------------------------------------------- - [5785: Deprecate extension via certain types of events](doctrine#5785) thanks to @morozov Deprecation,Events ------------------ - [5784: Deprecate extension via Doctrine Event Manager](doctrine#5784) thanks to @morozov Deprecation,QueryBuilder ------------------------ - [5780: Deprecate QueryBuilder::getConnection()](doctrine#5780) thanks to @morozov MariaDB,MySQL,Platform Detection -------------------------------- - [5779: Clean up MySQL version detection logic](doctrine#5779) thanks to @morozov Deprecation,Improvement,Schema Comparison ----------------------------------------- - [5770: Non-nullabe result of comparing tables](doctrine#5770) thanks to @morozov - [5642: Introduce property-specific ColumnDiff methods](doctrine#5642) thanks to @morozov Deprecation,Schema Comparison,Schema Management ----------------------------------------------- - [5766: Deprecate SchemaDiff::toSql() and SchemaDiff::toSaveSql()](doctrine#5766) thanks to @morozov - [5761: Improve error message for index SQL creation](doctrine#5761) thanks to @radar3301 Deprecation,Schema Comparison ----------------------------- - [5758: Mark SchemaDiff public properties internal](doctrine#5758) thanks to @morozov - [5717: Mark TableDiff public properties internal](doctrine#5717) thanks to @morozov - [5678: Deprecate not passing $fromColumn to TableDiff](doctrine#5678) thanks to @morozov - [5666: Deprecate SchemaDiff::$fromSchema](doctrine#5666) thanks to @morozov - [5663: Deprecate renaming tables via TableDiff](doctrine#5663) thanks to @morozov - [5657: Mark ColumnDiff public properties as internal](doctrine#5657) thanks to @morozov - [5650: Deprecate and mark internal APIs related to schema comparison](doctrine#5650) thanks to @morozov - [5622: Schema Diff API cleanup](doctrine#5622) thanks to @morozov Platforms,SQLite ---------------- - [5755: Use the `%` operator instead of `MOD()` in SQLite](doctrine#5755) thanks to @derrabus Dependencies ------------ - [5750: Allow doctrine/event-manager 2](doctrine#5750) thanks to @derrabus Deprecation,Platforms,SQLite ---------------------------- - [5749: Deprecate `LOCATE()` emulation on SQLite](doctrine#5749) thanks to @derrabus Deprecation,Schema Management ----------------------------- - [5747: Deprecate Table::changeColumn()](doctrine#5747) thanks to @morozov - [5612: Mark AbstractSchemaManager::&doctrine#95;execSql() as internal](doctrine#5612) thanks to @morozov Schema Comparison,Schema Management,Test Suite ---------------------------------------------- - [5746: Rework some tests that instantiate TableDiff](doctrine#5746) thanks to @morozov - [5714: Rework some tests that instantiate TableDiff](doctrine#5714) thanks to @morozov Deprecation,Drivers,pdo_sqlite ------------------------------ - [5742: Deprecated the `userDefinedFunctions` driver option for `pdo&doctrine#95;sqlite`](doctrine#5742) thanks to @derrabus Drivers,New Feature,SQLite,sqlite3 ---------------------------------- - [5737: New driver: SQLite3](doctrine#5737) thanks to @derrabus Deprecation,Foreign Keys,Primary Keys,Schema Management ------------------------------------------------------- - [5731: Deprecate Table methods](doctrine#5731) thanks to @morozov Deprecation,Error Handling,Schema Management -------------------------------------------- - [5728: Deprecate SchemaException codes](doctrine#5728) thanks to @morozov Deprecation ----------- - [5721: Deprecating misspelled isFullfilledBy() method](doctrine#5721) thanks to @nexxai Configuration,Connections,Platform Detection -------------------------------------------- - [5707: Deprecate fallback connection to determine platform](doctrine#5707) thanks to @morozov Configuration,Connections,Deprecation,PostgreSQL ------------------------------------------------ - [5705: Deprecate PostgreSQL-specific connection parameters and behavior](doctrine#5705) thanks to @morozov Configuration,Connections,Deprecation ------------------------------------- - [5699: Deprecate platform parameter of wrapper Connection](doctrine#5699) thanks to @morozov - [5697: Deprecate driver name aliases](doctrine#5697) thanks to @morozov Logging,Transactions -------------------- - [5686: fix: always log savepoint release](doctrine#5686) thanks to @simPod SQLite,Schema Management,Test Suite ----------------------------------- - [5660: Remove implementation of alterTable() for SQLite](doctrine#5660) thanks to @morozov Columns,Deprecation ------------------- - [5656: Deprecate "unique" and "check" column properties](doctrine#5656) thanks to @morozov Platforms --------- - [5654: Reduce duplication of collation declaration code](doctrine#5654) thanks to @morozov Columns,Deprecation,Schema Definition ------------------------------------- - [5637: Deprecate default precision and scale for decimal columns](doctrine#5637) thanks to @morozov IBM DB2,Schema Management ------------------------- - [5621: Remove redundant condition from DB2 platform](doctrine#5621) thanks to @morozov Deprecation,Schema Introspection -------------------------------- - [5613: Deprecate AbstractSchemaManager::createSchema() in favor of introspectSchema()](doctrine#5613) thanks to @morozov - [5595: Deprecate AbstractSchemaManager::listTableDetails()](doctrine#5595) thanks to @morozov
Release [3.4.6](https://github.com/doctrine/dbal/milestone/122) 3.4.6 ===== - Total issues resolved: **0** - Total pull requests resolved: **9** - Total contributors: **4** CI,PostgreSQL ------------- - [5782: Run tests with Postgres 15](doctrine#5782) thanks to @derrabus Static Analysis --------------- - [5772: PHPStan 1.8.10, Psalm 4.29.0](doctrine#5772) thanks to @derrabus Documentation ------------- - [5771: Add 3.5 and 4.0 to .doctrine-project.json](doctrine#5771) thanks to @derrabus Bug,PostgreSQL,Regression,Schema Introspection ---------------------------------------------- - [5765: Use default schema if `$tableName` has no namespace.](doctrine#5765) thanks to @kitloong SQL Server,Test Suite --------------------- - [5752: Rename SQL Server platform unit test](doctrine#5752) thanks to @morozov SQLite,Test Suite,pdo_sqlite ---------------------------- - [5738: Enable testReturnsDatabaseNameWithoutDatabaseNameParameter for SQLite](doctrine#5738) thanks to @derrabus Dependencies,Static Analysis,Test Suite --------------------------------------- - [5736: Bump dev dependencies](doctrine#5736) thanks to @derrabus Improvement ----------- - [5716: Fixed various typos](doctrine#5716) thanks to @nexxai Dependencies ------------ - [5713: Update PHPStan to 1.8.6](doctrine#5713) thanks to @morozov
Release [3.4.5](https://github.com/doctrine/dbal/milestone/121) 3.4.5 ===== - Total issues resolved: **1** - Total pull requests resolved: **4** - Total contributors: **3** Documentation ------------- - [5688: Use rst syntax](doctrine#5688) thanks to @greg0ire - [5672: Remove unwanted plural in pull request url pattern](doctrine#5672) thanks to @greg0ire Bug,PostgreSQL,Regression,Schema Introspection ---------------------------------------------- - [5687: Do not list tables required by extensions](doctrine#5687) thanks to @morozov and @lmichelin Bug,MySQL,Performance,Regression,Schema Introspection ----------------------------------------------------- - [5667: Optimize MySQLSchemaManager::selectForeignKeyColumns()](doctrine#5667) thanks to @morozov
Release [3.4.4](https://github.com/doctrine/dbal/milestone/120) 3.4.4 ===== - Total issues resolved: **1** - Total pull requests resolved: **3** - Total contributors: **3** Dependencies,Test Suite ----------------------- - [5646: Bump sa tools](doctrine#5646) thanks to @greg0ire Bug,MySQL,Performance,Regression -------------------------------- - [5639: Optimize MySQLSchemaManager::selectTableColumns()](doctrine#5639) thanks to @m-vo Static Analysis,Test Suite -------------------------- - [5636: PHPUnit 9.5.24, Psalm 4.26.0](doctrine#5636) thanks to @derrabus
Release [3.4.3](https://github.com/doctrine/dbal/milestone/119) 3.4.3 ===== - Total issues resolved: **0** - Total pull requests resolved: **2** - Total contributors: **2** Code Style ---------- - [5624: Upgrade to doctrine/coding-standard 10](doctrine#5624) thanks to @greg0ire Bug,Portability,Regression,SQLite,Schema Introspection ------------------------------------------------------ - [5617: Fix database detection on SQLite with PORTABILITY&doctrine#95;EMPTY&doctrine#95;TO&doctrine#95;NULL](doctrine#5617) thanks to @morozov
Release [3.4.2](https://github.com/doctrine/dbal/milestone/118) 3.4.2 ===== - Total issues resolved: **2** - Total pull requests resolved: **3** - Total contributors: **3** Bug,Namespaces,PostgreSQL,Regression,Schema Management,Sequences ---------------------------------------------------------------- - [5604: Fix DropSchemaObjectsSQLBuilder issues](doctrine#5604) thanks to @morozov and @HypeMC PostgreSQL,Test Suite --------------------- - [5599: Fix condition in PostgreSQL only test](doctrine#5599) thanks to @HypeMC Bug,Foreign Keys,SQLite,Schema Introspection -------------------------------------------- - [5597: Fix parsing SQLite FK reference not containing whitepace](doctrine#5597) thanks to @morozov and @oraslaci
Release [3.4.1](https://github.com/doctrine/dbal/milestone/116) 3.4.1 ===== - Total issues resolved: **7** - Total pull requests resolved: **9** - Total contributors: **9** Oracle,Schema Introspection,Test Suite -------------------------------------- - [5591: Add a test for quoting table names in schema](doctrine#5591) thanks to @morozov and @mondrake Documentation,Schema Comparison ------------------------------- - [5590: Update documentation on schema comparison](doctrine#5590) thanks to @morozov Columns,Static Analysis ----------------------- - [5589: Allow to call $column1->setColumnDefinition($column2->getColumnDefinition())](doctrine#5589) thanks to @VincentLanglet Bug,Namespaces,PostgreSQL,Regression,Schema Introspection --------------------------------------------------------- - [5586: Index components for listTables() by portable table definition](doctrine#5586) thanks to @morozov and @NoiseByNorthwest Bug,Drivers,Static Analysis,pdo_sqlsrv,sqlsrv --------------------------------------------- - [5585: Expect an SQLServerPlatform instance in AbstractSQLServerDriver](doctrine#5585) thanks to @morozov and @elavrom Bug,Regression,SQL Server,Schema Introspection ---------------------------------------------- - [5581: Filter out the "sysdiagrams" table on SQL Server](doctrine#5581) thanks to @morozov and @lampi87 Bug,MySQL,Oracle,Regression,Schema Introspection ------------------------------------------------ - [5580: Filter MySQL and Oracle columns by table type](doctrine#5580) thanks to @morozov and @dmolineus Bug,Foreign Keys,Regression,SQLite ---------------------------------- - [5577: Do not add artificial name to anonymous SQLite constraint](doctrine#5577) thanks to @morozov and @simonworkhouse Bug,Foreign Keys,Identifiers,Indexes,PostgreSQL,Quoting,Regression,Reserved Keywords,Schema Introspection --------------------------------------------------------------------------------------------------------- - [5576: Rework introspection of table indexes and foreign keys on Postgres](doctrine#5576) thanks to @morozov and @acirulis
Release [3.4.0](https://github.com/doctrine/dbal/milestone/107) 3.4.0 ===== - Total issues resolved: **8** - Total pull requests resolved: **71** - Total contributors: **11** Documentation,Platforms,Schema Introspection -------------------------------------------- - [5568: Mark remaining schema introspection platform methods as internal](doctrine#5568) thanks to @morozov Deprecation,Prepared Statements ------------------------------- - [5563: Deprecate Statement::bindParam()](doctrine#5563) thanks to @morozov - [5558: Deprecate not passing parameter type to bindParam() and bindValue()](doctrine#5558) thanks to @morozov - [5556: Deprecate passing parameters to Statement::execute*()](doctrine#5556) thanks to @morozov - [5550: Deprecate using NULL as prepared statement parameter type](doctrine#5550) thanks to @morozov Documentation ------------- - [5555: Fix upgrade note](doctrine#5555) thanks to @derrabus - [5279: Nest deprecations for 3.4 under 3.4](doctrine#5279) thanks to @greg0ire Deprecation,QueryBuilder ------------------------ - [5551: Deprecate QueryBuilder APIs exposing its internal state](doctrine#5551) thanks to @morozov Documentation,Prepared Statements --------------------------------- - [5549: Mark Connection::ARRAY&doctrine#95;PARAM&doctrine#95;OFFSET internal](doctrine#5549) thanks to @morozov Cache,New Feature,QueryBuilder ------------------------------ - [5539: Added result caching for QueryBuilder](doctrine#5539) thanks to @twoleds Static Analysis,Test Suite -------------------------- - [5536: Enforce property types in tests](doctrine#5536) thanks to @derrabus Deprecation,Platforms,Schema Management --------------------------------------- - [5529: Deprecate passing assets as names](doctrine#5529) thanks to @morozov Deprecation,Platforms --------------------- - [5527: Deprecate internal AbstractPlatform methods or mark them as such](doctrine#5527) thanks to @morozov - [5392: Additional documentation for prior deprecations](doctrine#5392) thanks to @morozov - [5388: Deprecate AbstractPlatform methods exposing quote characters](doctrine#5388) thanks to @morozov - [5385: Deprecate passing date interval parameters as integers](doctrine#5385) thanks to @morozov - [5373: Deprecate AbstractPlatform::getVarcharTypeDeclarationSQL()](doctrine#5373) thanks to @morozov - [5230: Deprecated AbstractPlatform::getListTableConstraintsSQL()](doctrine#5230) thanks to @morozov Platforms,SQLite ---------------- - [5517: Allow to disable schema emulation on SQLite](doctrine#5517) thanks to @mvorisek - [5486: Do not drop table indexes before dropping SQLite table](doctrine#5486) thanks to @mvorisek Databases,Deprecation,Platforms,Schema,Sequences ------------------------------------------------ - [5513: Deprecate internal and non-portable AbstractPlatform methods](doctrine#5513) thanks to @morozov Deprecation,SQLite,Types ------------------------ - [5511: Deprecate SqlitePlatform::getTinyIntTypeDeclarationSQL() and ::getMediumIntTypeDeclarationSQL()](doctrine#5511) thanks to @morozov Deprecation,Platforms,Types --------------------------- - [5509: Deprecate AbstractPlatform::hasNative*Type() and Type::requiresSQLCommentHint()](doctrine#5509) thanks to @morozov CI,Dependencies --------------- - [5504: Bump Symfony components to supported version ranges](doctrine#5504) thanks to @derrabus SQLite,Schema Management ------------------------ - [5500: Table schema clone is not needed in SqlitePlatform](doctrine#5500) thanks to @mvorisek - [5488: AbstractSchemaManager::listTableForeignKeys() should support listing for all tables at once](doctrine#5488) thanks to @mvorisek - [5419: Remove SchemaDiffVisitor](doctrine#5419) thanks to @morozov - [5397: Remove redundant (array) casts](doctrine#5397) thanks to @morozov Configuration,Deprecation,Schema Introspection ---------------------------------------------- - [5483: Deprecate NULL schema asset filter](doctrine#5483) thanks to @morozov Bug,Regression,Schema Introspection,Tables ------------------------------------------ - [5482: Fix filtering tables according to the configuration](doctrine#5482) thanks to @morozov Configuration,Deprecation,Logging --------------------------------- - [5480: Deprecate Configuration::getSQLLogger() and setSQLLogger()](doctrine#5480) thanks to @morozov Columns,Deprecation ------------------- - [5476: Deprecate custom schema options](doctrine#5476) thanks to @morozov Deprecation,Types ----------------- - [5470: Deprecate array and object column types](doctrine#5470) thanks to @morozov - [5049: Deprecate `Type::getName()`](doctrine#5049) thanks to @greg0ire Improvement,PHP --------------- - [5461: Add native property types](doctrine#5461) thanks to @derrabus Code Style ---------- - [5460: Use the null-coalescing assignment operator](doctrine#5460) thanks to @derrabus PHP --- - [5459: Drop support for PHP 7.3](doctrine#5459) thanks to @morozov Deprecation,Drivers,Improvement,Schema Management ------------------------------------------------- - [5458: Deprecate Driver::getSchemaManager() in favor of AbstractPlatform::createSchemaManager()](doctrine#5458) thanks to @morozov Improvement,Schema Introspection -------------------------------- - [5457: Implement AbstractSchemaManager::&doctrine#95;getPortableTableForeignKeyDefinition() across platforms](doctrine#5457) thanks to @morozov PostgreSQL,Sequences -------------------- - [5453: Remove PostgreSQLSchemaManager::&doctrine#95;getPortableSequencesList()](doctrine#5453) thanks to @morozov - [5244: Diff command with PostgreSQLPlatform fails when there is a sequence](doctrine#5244) thanks to @maxm86545 Schema Introspection -------------------- - [5452: Rework introspection of table names](doctrine#5452) thanks to @morozov - [5281: Reimplement more Schema Manager listTable*() methods with the new API](doctrine#5281) thanks to @morozov IBM DB2 ------- - [5451: Rework listing table names for DB2](doctrine#5451) thanks to @morozov - [5450: Rework table introspection for DB2](doctrine#5450) thanks to @morozov Improvement,PostgreSQL ---------------------- - [5449: Optimize introspection of table comments on PostgreSQL](doctrine#5449) thanks to @morozov Deprecation,Tools ----------------- - [5439: Deprecate ConsoleRunner](doctrine#5439) thanks to @morozov Deprecation,Schema ------------------ - [5435: Deprecate Visitor API](doctrine#5435) thanks to @morozov Deprecation,Reserved Keywords ----------------------------- - [5433: Deprecate KeywordList::getName()](doctrine#5433) thanks to @morozov Deprecation,Namespaces,Schema Management ---------------------------------------- - [5432: Deprecate removal of namespaced assets from schema](doctrine#5432) thanks to @morozov Deprecation,Reserved Keywords,Tools ----------------------------------- - [5431: Deprecate checking keywords in schema object names](doctrine#5431) thanks to @morozov Bug,Platforms,SQL Server ------------------------ - [5428: Fix NCHAR typo for MSSQL](doctrine#5428) thanks to @mvorisek Deprecation,Foreign Keys,Improvement,SQLite ------------------------------------------- - [5427: Mark SQLite platform as supporting foreign keys](doctrine#5427) thanks to @morozov Bug,SQLite,Schema Comparison ---------------------------- - [5425: Fix redundant orphaned foreign key](doctrine#5425) thanks to @morozov Deprecation,Improvement,Schema Management ----------------------------------------- - [5416: Replace schema SQL collectors with SQL builders](doctrine#5416) thanks to @morozov Deprecation,Foreign Keys,MySQL,Schema Management ------------------------------------------------ - [5414: Deprecate ignoring foreign keys DDL on non-InnoDB MySQL](doctrine#5414) thanks to @morozov Bug,Foreign Keys,Improvement,SQLite ----------------------------------- - [5404: Run more foreign key tests on SQLite](doctrine#5404) thanks to @morozov Improvement,SQLite,Schema Introspection --------------------------------------- - [5402: Natural order of SQLite foreign keys](doctrine#5402) thanks to @morozov Bug,PostgreSQL,Schema Management -------------------------------- - [5394: Remove PostgreSQLPlatform::isNumericType()](doctrine#5394) thanks to @morozov Deprecation,Schema Management ----------------------------- - [5387: Deprecate AbstractSchemaManager::getDatabasePlatform()](doctrine#5387) thanks to @morozov Deprecation ----------- - [5383: Deprecate transaction nesting without savepoints](doctrine#5383) thanks to @greg0ire - [5222: Signal deprecation at runtime](doctrine#5222) thanks to @greg0ire - [5204: Deprecate methods related to type comments](doctrine#5204) thanks to @greg0ire Static Analysis --------------- - [5378: Use more precise phpdoc](doctrine#5378) thanks to @greg0ire - [5333: Leverage int-mask-of to make types more precise](doctrine#5333) thanks to @greg0ire Deprecation,IBM DB2,MySQL,Oracle,SQL Server,Schema Definition ------------------------------------------------------------- - [5377: Add runtime deprecations for default string column length](doctrine#5377) thanks to @morozov Foreign Keys,SQLite ------------------- - [5365: SQLite should properly check if foreign keys are supported and/or omit foreign key statements when a table diff is analyzed](doctrine#5365) thanks to @BigMichi1 Static Analysis,Transactions ---------------------------- - [5357: Make transacional function return type generic](doctrine#5357) thanks to @snapshotpl Default Values,Improvement,MariaDB ---------------------------------- - [5332: Support TEXT/BLOB default values on MariaDB](doctrine#5332) thanks to @morozov and @gregor-tb Platforms --------- - [5290: Remove user related methods from the schema manager](doctrine#5290) thanks to @morozov Deprecation,Schema Introspection -------------------------------- - [5287: Deprecate passing $database to AbstractSchemaManager::list*()](doctrine#5287) thanks to @morozov Deprecation,Improvement,Performance,Schema Introspection -------------------------------------------------------- - [5268: Optimize schema managers' ::listTables() methods ](doctrine#5268) thanks to @morozov and @mathieubouchard Improvement,Platforms,PostgreSQL -------------------------------- - [5256: Single PostgreSQLPlatform::getListSequencesSQL](doctrine#5256) thanks to @maxm86545 Test Suite ---------- - [5181: Delete run-all.sh](doctrine#5181) thanks to @mvorisek Bug,PostgreSQL,Schema Comparison,Schema Management -------------------------------------------------- - [4745: Improper management of autoincrement sequence in PostgreSQL platform](doctrine#4745) thanks to @morozov Bug,Foreign Keys,Improvement,Platforms,SQLite --------------------------------------------- - [1204: DBAL-1253: Sqlite: inconsistent (non-)support of foreign keys](doctrine#1204) thanks to @doctrinebot
PreviousNext