Yii Session 2.1
Minor version of Yii Session package is released.
- Added support for
psr/http-messageversion^2.0. - Raised the minimum version of PHP to 8.0.
Minor version of Yii Session package is released.
psr/http-message version ^2.0.Yii Validator package was updated with the following enhancements and new features:
addErrorWithFormatOnly() and addErrorWithoutPostProcessing() to Result object;Image validation rule;Date, DateTime and Time validation rules;Result.Minor version of Yii Arrays package is released.
ArrayHelper::parametrizedMerge() method that allows to merge two or more arrays recursively with specified depth.ArrayrHelper::renameKey() method.null from return type of ArrayHelper::getObjectVars() method.ArrayableTrait refactoring.Minor version of Yii Hydrator package is released.
ToDateTime parameter attribute.Trim, LeftTrim and RightTrim parameter attributes.One more package has been released. This time it's a wrapper around Cycle ORM for Yii ecosystem. Cycle is known for support both classic and daemonized PHP applications based for example on RoadRunner.
The package offers a set of console commands and tools for convinient work with DB migrations and schema.
Right before the release the decision was taken to move the part related with Yii Data adaptation to a separate package - Yii Data Cycle, similar to Yii Data DB. All of them will be released too soon enough. First Yii Data 2.0, then first releases of adapter packages will follow.
Just a reminder, using Yii Cycle in demo doesn't mean it's a recommended tool / default package for working with DB. You can also choose Yii DB for example.
Code coverage with tests, mutational index and static analysis level were increased to their maximum.
Yii Database package was tagged along with its drivers.
Yii Database 1.3
$rawSql of AbstractCommand::internalExecute()QueryInterface::all(), CommandInterface::queryAll() and DbArrayHelper::populate() methods to array[]BatchQueryResultInterfaceCommandInterface::getRawSql() if no logger or profiler is setMinor version of Yii Router FastRoute package was released.
UrlGenerator;psr/http-message version ^2.0.Yii Definitions package was updated with the following enhancements and fixes:
Three runner pacakges was released.
Yii Runner 2.2 and Yii Console Runner 2.2
Yii HTTP Runner 2.3
SapiEmitter when body size is less than buffer.RBAC packages got big update:
Major release of yiisoft/hydrator-validator was tagged.
LogicException on call ValidatedInputInterface::getValidatedInput() method when object is not validated.Yii Data Response package was updated with the following enhancements and fixes:
PlainTextDataResponseFormatter formatter and FormatDataResponseAsPlainText middleware;psr/http-message version ^2.0;psr/http-factory and psr/http-server-handler.Major version of Yii Runner RoadRunner package was released.
In this release:
RoadRunnerApplicationRunner to RoadRunnerHttpApplicationRunner;psr/http-message of ^2.0 version.Yii Validator package was updated with the following enhancements and fixes:
yiisoft/yii-debug;$escape parameter to methods Result::getAttributeErrorMessagesIndexedByPath() and Result::getErrorMessagesIndexedByPath() that allow change or disable symbol which will be escaped in value path elements;OneOf rule;EmailHandler::validate() method;Yii Router package was updated with the following enhancements:
RouteArgument attribute for Yii Hydrator;psr/http-message version ^2.0.Version 2.2 of Yii Console package was tagged.
In this version allowed to use ErrorListiner without logger.
Minor version of Yii Hydrator package is released.
NullTypeCaster.Minor verison of Yii CSRF package was released.
StubCsrfToken.yiisoft/strings, psr/http-server-handler and ext-hash.First stable release of yiisoft/hydrator-validator was tagged.
The package provides a hydrator that also does validation, including raw data. It's useful when input data comes from a user, and you need to validate it and then put it into DTOs.
To use it, the object being validated must implement ValidatedInputInterface. You can use ValidatedInputTrait to
easily create such object. The validation rules for raw values of the object are defined with Validate PHP attribute.
Yii Error Handler package was updated with the following enhancements:
getBody() on response when ExceptionResponder middleware is processing;