Skip to content

Version 2.0.0

Latest

Choose a tag to compare

@vjik vjik released this 05 Dec 14:57
· 4 commits to master since this release
Immutable release. Only release title and notes can be modified.
2.0.0
cb86b6a
  • New #277, #384: Implement ColumnInterface classes according to the data type of database table columns
    for type casting performance. Related with yiisoft/db#752 (@Tigrov)
  • New #316, #327: Implement ColumnFactory class (@Tigrov)
  • New #320: Realize ColumnBuilder class (@Tigrov)
  • New #322, #330, #340: Add ColumnDefinitionBuilder class (@Tigrov)
  • New #339: Add IndexType and IndexMethod classes (@Tigrov)
  • New #342, #405: Support JSON type (@Tigrov)
  • New #345: Add parameters $ifExists and $cascade to CommandInterface::dropTable() and
    DDLQueryBuilderInterface::dropTable() methods (@vjik)
  • New #349: Add caseSensitive option to like condition (@vjik)
  • New #353: Realize Schema::loadResultColumn() method (@Tigrov)
  • New #358: Use DateTimeColumn class for datetime column types (@Tigrov)
  • New #361, #362: Implement DMLQueryBuilder::upsertReturning() method (@Tigrov)
  • New #390, #396, #404: Implement ArrayMergeBuilder, GreatestBuilder, LeastBuilder, LengthBuilder,
    LongestBuilder and ShortestBuilder classes (@Tigrov)
  • New #391: Add Connection::getColumnBuilderClass() method (@Tigrov)
  • New #415: Add enumeration column type support (@vjik)
  • New #418: Trim dot in column default value normalization to prevent PHP 8.5+ warnings on large values (@vjik)
  • New #420: Add source of column information (@Tigrov)
  • Chg #306: Remove parameter $withColumn from Quoter::getTableNameParts() method (@Tigrov)
  • Chg #308: Replace call of SchemaInterface::getRawTableName() to QuoterInterface::getRawTableName() (@Tigrov)
  • Chg #333: Update QueryBuilder constructor (@Tigrov)
  • Chg #344, #418: Change supported PHP versions to 8.1 - 8.5 (@Tigrov, @vjik)
  • Chg #344: Change return type of Command::insertWithReturningPks() method to array|false (@Tigrov)
  • Chg #348: Remove usage of hasLimit() and hasOffset() methods of DQLQueryBuilder class (@Tigrov)
  • Chg #363: Add alias in DQLQueryBuilder::selectExists() method for consistency with other DBMS (@Tigrov)
  • Chg #366: Rename DMLQueryBuilder::insertWithReturningPks() to DMLQueryBuilder::insertReturningPks() (@Tigrov)
  • Chg #368: Use \InvalidArgumentException instead of Yiisoft\Db\Exception\InvalidArgumentException (@DikoIbragimov)
  • Chg #398: Update expression namespaces according to changes in yiisoft/db package (@Tigrov)
  • Chg #413: Throw exception on "unsigned" column usage (@vjik)
  • Enh #293, #357: Implement and use SqlParser class (@Tigrov)
  • Enh #300: Remove realization of Connection::createBatchQueryResult() method (@Tigrov)
  • Enh #312: Refactor bit type (@Tigrov)
  • Enh #315: Refactor PHP type of ColumnSchemaInterface instances (@Tigrov)
  • Enh #317: Raise minimum PHP version to ^8.1 with minor refactoring (@Tigrov)
  • Enh #319: Separate column type constants (@Tigrov)
  • Enh #321: Update according changes in ColumnSchemaInterface (@Tigrov)
  • Enh #323, #378: Refactor Dsn class (@Tigrov)
  • Enh #324: Use constructor to create columns and initialize properties (@Tigrov)
  • Enh #327: Refactor Schema::findColumns() method (@Tigrov)
  • Enh #328: Refactor Schema::normalizeDefaultValue() method and move it to ColumnFactory class (@Tigrov)
  • Enh #331: Refactor according to changes #902 in yiisoft/db package (@Tigrov)
  • Enh #332: Use ColumnDefinitionBuilder to generate table column SQL representation (@Tigrov)
  • Enh #335: Remove ColumnInterface (@Tigrov)
  • Enh #337: Rename ColumnSchemaInterface to ColumnInterface (@Tigrov)
  • Enh #338: Replace DbArrayHelper::getColumn() with array_column() (@Tigrov)
  • Enh #350, #382: Refactor according changes in db package (@Tigrov)
  • Enh #352: Remove getCacheKey() and getCacheTag() methods from Schema class (@Tigrov)
  • Enh #355, #356: Use DbArrayHelper::arrange() instead of DbArrayHelper::index() method (@Tigrov)
  • Enh #361, #362: Refactor DMLQueryBuilder::insertWithReturningPks() method (@Tigrov)
  • Enh #364, #377: Refactor constraints (@Tigrov)
  • Enh #372: Provide yiisoft/db-implementation virtual package (@vjik)
  • Enh #375: Adapt to Param refactoring in yiisoft/db package (@vjik)
  • Enh #376, #379: Adapt to conditions refactoring in yiisoft/db package (@vjik)
  • Enh #380: Remove support dots in table names (@Tigrov)
  • Enh #383: Refactor TableSchema and Schema classes (@Tigrov)
  • Enh #386: Support column's collation (@Tigrov)
  • Enh #392: Update DMLQueryBuilder::update() method to adapt changes in yiisoft/db (@rustamwin)
  • Enh #393: Refactor DMLQueryBuilder::upsert() method (@Tigrov)
  • Enh #406: Adapt to DQLQueryBuilderInterface::buildWithQueries() signature changes in yiisoft/db package (@vjik)
  • Bug #343: Explicitly mark nullable parameters (@vjik)
  • Bug #360: Fix columns order in composite primary key (@Tigrov)
  • Bug #408, #409: Add identity support in Schema::loadResultColumn() (@vjik)

Full changelog