Yii DB and drivers minor releases
2024-03-21
850次浏览
Yii Database package was tagged along with its drivers.
Yii Database 1.3
- Deprecate unnecessary argument
$rawSql
ofAbstractCommand::internalExecute()
- Specify result type of
QueryInterface::all()
,CommandInterface::queryAll()
andDbArrayHelper::populate()
methods toarray[]
- Specify populate closure type in
BatchQueryResultInterface
- Skip calling
CommandInterface::getRawSql()
if no logger or profiler is set - Specify result type of
ConstraintSchemaInterface::getTableIndexes()
method toIndexConstraint[]
- Remove unused code in
AbstractSchema::getTableIndexes()
- Refactor
AbstractCommand::getRawSql()
- Refactor
AbstractSchema::getDataType()
- Remove unnecessary type casting to array in
AbstractDMLQueryBuilder::getTableUniqueColumnNames()
- Add message type to log context
- Allow to use
DMLQueryBuilderInterface::batchInsert()
method with empty columns - Deprecate
AbstractSchema::normalizeRowKeyCase()
method - Deprecate
SchemaInterface::getRawTableName()
and addQuoter::getRawTableName()
method - Deprecate
SchemaInterface::isReadQuery()
and addDbStringHelper::isReadQuery()
method - Remove unnecessary symbol
\\
fromrtrim()
function insideDbStringHelper::baseName()
method - Minor refactoring of
SchemaCache
,AbstractPdoCommand
andAbstractDDLQueryBuilder
- Add psalm type for parameters to bind to the SQL statement
- Add more specific psalm type for
QueryFunctionsInterface::count()
result - Fix
Query::count()
when it returns an incorrect value if the result is greater than PHP_INT_MAX - Fix bug of
AbstractCommand::getRawSql()
when a param value isStringable
object - Fix casting integer to string in
AbstractCommand::getRawSql()
- Fix bug with
Quoter::$tablePrefix
when changeAbstractConnection::$tablePrefix
property
- Support structured type
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Create instance of
ArrayParser directly
- Resolve deprecated methods
- Minor
DDLQueryBuilder
refactoring - Support table view constraints
- Exclude from index column names fields specified in
INCLUDE
clause
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Resolve deprecated methods
- Minor refactoring of
DDLQueryBuilder
and Schema - Fix
Command::insertWithReturningPks()
method for empty values
- Remove unused code in
Command
class - Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Remove unnecessary check for array type in
Schema::loadTableIndexes()
- Resolve deprecated methods
- Minor refactoring of
DDLQueryBuilder
andSchema
Yii DB MSSQL Server Driver 1.2
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Resolve deprecated methods
- Minor refactoring of
Command
andQuoter
- Fix
DMLQueryBuilder::insertWithReturningPks()
andCommand::insertWithReturningPks()
methods
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Allow to use
DMLQueryBuilderInterface::batchInsert()
method with empty columns - Resolve deprecated methods
- Fix execution
Query
without table(s) to select from - Fix
Command::insertWithReturningPks()
method for table without primary keys - Fix, table sequence name should be null if sequence name not found
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- auth client
- view
- bootstrap
- release
- html
- redis
- apidoc
- Yii 2.0
- Yii 1.1
- mongodb
- mailer
- extensions
- twig
- gii
- queue
- runner
- http 客户端
- console
- validation
- cache
- sphinx
- widget
- hydrator
- translator
- symfonymailer
- db
- http
- log
- error handler
- config
- swiftmailer
- 图书
- imagine
- assets
- i18n
- IDE
- swagger
- elasticsearch
- router
- csrf
- smarty
- definitions
- logging
- fastroute
- user