Releases: yiisoft/db-pgsql
Releases · yiisoft/db-pgsql
Version 2.0.0
- New #307: Add range and multirange columns support (@vjik, @Gerych1984)
- New #315, #432: Implement
ColumnInterfaceclasses according to the data type of database table columns
for type casting performance. Related with yiisoft/db#752 (@Tigrov) - New #350, #449: Add array overlaps and JSON overlaps condition builders (@Tigrov)
- New #355, #368, #370, #399: Implement
ColumnFactoryclass (@Tigrov) - New #360, #460: Realize
ColumnBuilderclass (@Tigrov, @vjik) - New #364, #372: Add
ColumnDefinitionBuilderclass (@Tigrov) - New #373: Override
QueryBuilder::prepareBinary()method (@Tigrov) - New #384: Add
IndexMethodclass (@Tigrov) - New #391: Add
caseSensitiveoption to like condition (@vjik) - New #397: Realize
Schema::loadResultColumn()method (@Tigrov) - New #407: Use
DateTimeColumnclass for datetime column types (@Tigrov) - New #408, #410: Implement
DMLQueryBuilder::upsertReturning()method (@Tigrov) - New #439, #446: Implement
ArrayMergeBuilderclass (@Tigrov) - New #440: Add
Connection::getColumnBuilderClass()method (@Tigrov) - New #465: Add enumeration column type support (@vjik)
- New #471: Add source of column information (@Tigrov)
- Chg #348: Replace call of
SchemaInterface::getRawTableName()toQuoterInterface::getRawTableName()(@Tigrov) - Chg #375: Update
QueryBuilderconstructor (@Tigrov) - Chg #388, #469: Change supported PHP versions to
8.1 - 8.5(@Tigrov, @vjik) - Chg #390: Remove
yiisoft/jsondependency (@Tigrov) - Chg #414: Rename
DMLQueryBuilder::insertWithReturningPks()toDMLQueryBuilder::insertReturningPks()(@Tigrov) - Chg #416: Use
\InvalidArgumentExceptioninstead ofYiisoft\Db\Exception\InvalidArgumentException(@DikoIbragimov) - Chg #447: Update expression namespaces according to changes in
yiisoft/dbpackage (@Tigrov) - Chg #460: Throw exception on "unsigned" column usage (@vjik)
- Enh #336, #405: Implement and use
SqlParserclass (@Tigrov) - Enh #349: Add method chaining for column classes (@Tigrov)
- Enh #353: Update
bittype according to main PR yiisoft/db#860 (@Tigrov) - Enh #354: Refactor PHP type of
ColumnSchemaInterfaceinstances (@Tigrov) - Enh #356: Raise minimum PHP version to
^8.1with minor refactoring (@Tigrov) - Enh #359: Separate column type constants (@Tigrov)
- Enh #359: Remove
Schema::TYPE_ARRAYandSchema::TYPE_STRUCTUREDconstants (@Tigrov) - Enh #362: Update according changes in
ColumnSchemaInterface(@Tigrov) - Enh #365, #427: Refactor
Dsnclass (@Tigrov) - Enh #366: Use constructor to create columns and initialize properties (@Tigrov)
- Enh #370: Refactor
Schema::normalizeDefaultValue()method and move it toColumnFactoryclass (@Tigrov) - Enh #374: Use
ColumnDefinitionBuilderto generate table column SQL representation (@Tigrov) - Enh #378: Improve loading schemas of views (@Tigrov)
- Enh #379: Remove
ColumnInterface(@Tigrov) - Enh #380: Rename
ColumnSchemaInterfacetoColumnInterface(@Tigrov) - Enh #381, #383: Add
ColumnDefinitionParserclass (@Tigrov) - Enh #382: Replace
DbArrayHelper::getColumn()witharray_column()(@Tigrov) - Enh #386, #449: Refactor array, structured and JSON expression builders (@Tigrov)
- Enh #388: Minor refactoring (@Tigrov)
- Enh #393, #430: Refactor according changes in
dbpackage (@Tigrov) - Enh #396: Remove
getCacheKey()andgetCacheTag()methods fromSchemaclass (@Tigrov) - Enh #403, #404: Use
DbArrayHelper::arrange()instead ofDbArrayHelper::index()method (@Tigrov) - Enh #411, #426: Refactor constraints (@Tigrov)
- Enh #412: Reduce binding parameters (@Tigrov)
- Enh #415, #448, #451: Implement
CaseXBuilderclass (@Tigrov) - Enh #420: Provide
yiisoft/db-implementationvirtual package (@vjik) - Enh #424, #425, #428: Adapt to conditions refactoring in
yiisoft/dbpackage (@vjik) - Enh #431: Remove
TableSchemaclass and refactorSchemaclass (@Tigrov) - Enh #433: Support column's collation (@Tigrov)
- Enh #442: Refactor
DMLQueryBuilder::upsert()method (@Tigrov) - Enh #444: Improve
ArrayExpressionBuilderandJsonExpressionBuilderclasses (@Tigrov) - Enh #464: Load column's check expressions for table schema (@Tigrov)
- Bug #387: Explicitly mark nullable parameters (@vjik)
- Bug #456: Fix typecasting bit columns' values with big size (@Tigrov)
- Bug #467: Fix column definition parsing in cases with parentheses (@vjik)
Version 1.3.0
- Enh #303, #338: Support structured type (@Tigrov)
- Enh #324: Change property
Schema::$typeMapto constantSchema::TYPE_MAP(@Tigrov) - Enh #330: Create instance of
ArrayParserdirectly (@Tigrov) - Enh #333: Resolve deprecated methods (@Tigrov)
- Enh #334: Minor
DDLQueryBuilderrefactoring (@Tigrov) - Bug #316, #6: Support table view constraints (@Tigrov)
- Bug #331: Exclude from index column names fields specified in
INCLUDEclause (@Tigrov)
Version 1.2.0
- Chg #319: Remove use of abstract type
SchemaInterface::TYPE_JSONB(@Tigrov) - Enh #300: Refactor
ArrayExpressionBuilder(@Tigrov) - Enh #301: Refactor
JsonExpressionBuilder(@Tigrov) - Enh #302: Refactor
ColumnSchema(@Tigrov) - Enh #321: Move methods from
CommandtoAbstractPdoCommandclass (@Tigrov) - Bug #302: Fix incorrect convert string value for BIT type (@Tigrov)
- Bug #309: Fix retrieving sequence name from default value (@Tigrov)
- Bug #313: Refactor
DMLQueryBuilder, related with yiisoft/db#746 (@Tigrov)
Version 1.1.0
- Chg #288: Typecast refactoring (@Tigrov)
- Chg #291: Update phpTypecast for bool type (@Tigrov)
- Enh #282: Support
numericarrays, improve support of domain types andintandvarchararray types (@Tigrov) - Enh #284: Add tests for
binarytype and fix casting of default value (@Tigrov) - Enh #289: Array parser refactoring (@Tigrov)
- Enh #294: Refactoring of
Schema::normalizeDefaultValue()method (@Tigrov) - Bug #287: Fix
bittype (@Tigrov) - Bug #295: Fix multiline and single quote in default string value, add support for PostgreSQL 9.4 parentheses around negative numeric default values (@Tigrov)
- Bug #296: Prevent posible issues with array default values
('{one,two}'::text[])::varchar[], removeArrayParser::parseString()(@Tigrov)
Version 1.0.0
- Initial release.