Version 1.2.0 of yiisoft/http package was released.
HeaderValueHelper
was added. It allows parsing various string header values into more convenient data structures.
Version 1.2.0 of yiisoft/http package was released.
HeaderValueHelper
was added. It allows parsing various string header values into more convenient data structures.
Stable release of middleware dispatcher package was tagged.
The package is a PSR-15 middleware dispatcher. Given a set of middleware and a
request instance, dispatcher executes it is produces a response instance.
First version of Redis adapter for Yii cache was released. It is based on predis and could be used either standalone as PSR-16 cache implementation or with Yii cache to gain additional benefits.
Quality standard for the package is similar to other Yii 3 packages: 100% unit test coverage with 98.5% mutation score, and 94.9% type coverage.
New version of yiisoft/i18n package was released.
This version adds support for keywords hours
, colnumeric
, and colcasefirst
. These keywords are part of the ECMAScript 2022 Internationalization API Specification (ECMA-402 9th Edition), and supporting them allows for better cross-communication between PHP and JavaScript layers.
Version 2.0.0 of assets package was released improving public API for more convenient use.
Previously you had to specify assets registered as array:
$assetManager->register([\App\Assets\MainAsset::class]);
but since the case of registering multiple assets is not that common, the method now accepts a single asset class:
First release of Yii Console package was tagged. It provides a console that could be added to an application.
The package uses Symfony Console under the hood and adds:
SignaturePa Extension for Yii 2 ¶
This extension provides a Signature Pad widget for Yii framework 2.0.
It wraps the INTELOGIE/signature_pad library.
Version 4.0.0 of View package is released. In this version:
ViewInterface
that View
and WebView
implement.View
and WebView
.View::withContext()
or WebView::withContext()
.An update was made to yiisoft/var-dumper package.
In this version \Yiisoft\VarDumper\VarDumper::withOffset()
was added. It allows to adjust generated code nesting offset:
$test = [
'value' => 42, // <--- default offset is 4 spaces
];