Yii DB and drivers minor releases
2024-03-21
1014次浏览
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
- view
- auth client
- bootstrap
- html
- release
- apidoc
- redis
- Yii 2.0
- mongodb
- Yii 1.1
- extensions
- mailer
- gii
- console
- runner
- http 客户端
- validation
- twig
- queue
- http
- translator
- cache
- hydrator
- widget
- sphinx
- error handler
- config
- db
- log
- assets
- symfonymailer
- router
- elasticsearch
- swagger
- swiftmailer
- 图书
- imagine
- definitions
- user
- IDE
- csrf
- i18n
- fastroute
- rbac
- logging