Yii Factory 1.3
Version 1.3 of Yii Factory package is released.
In this version added StrictFactory that differs in that it processes only configured definitions.
Version 1.3 of Yii Factory package is released.
In this version added StrictFactory that differs in that it processes only configured definitions.
Version 3.9 of Yii HTML package is released. There is one improvement:
Html::addCssClass(), Tag::addClass() and Tag::class() methods.Minor version of Yii DB Migration package was released.
Migrator.Version 1.1 of Yii Requirements Checker package is released.
RequirementsChecker::checkMaxExecutionTime() that check on current server's php.ini's 'max_execution_time' requiring it to exceed the time specified / tested application's comfortable installation time.Minor verison of Yii CSRF package was released.
CsrfHeaderMiddleware middleware to use custom HTTP header to prevent forgery of requests.CsrfMiddleware::withSafeMethods() method to configure a custom safe HTTP methods list.CsrfMiddleware in favor of CsrfTokenMiddleware.Version 3.8 of Yii HTML package is released. There are some improvements:
wrap parameter to BooleanInputTag::label() method that controls whether to wrap input tag with label tag or place them aside;CheckboxList::checkboxLabelWrap() and RadioList::radioLabelWrap() methods;CheckboxList::checkboxWrapTag(), CheckboxList::checkboxWrapAttributes(), CheckboxList::checkboxWrapClass(), CheckboxList::addCheckboxWrapClass(), RadioList::radioWrapTag(), RadioList::radioWrapAttributes(), RadioList::radioWrapClass() and RadioList::addRadioWrapClass();non-empty-string psalm type of Html::generateId() method result;Version 1.1 of Yii Request Provider package is released.
RequestCookies class that provides convenient access to request cookies.yiisoft/middleware-dispatcher event listener to keep Request always available.Major versions of Yii Mailer and Yii Mailer Symfony Mailer packages were tagged.
The Yii Mailer abstraction for sending emails has been significantly reworked.
Now, the package yiisoft/mailer is independent of any other dependencies and essentially consists of two interfaces: MessageInterface (a message with methods for setting/getting values) and MailerInterface (a service for sending messages with two methods: send() and sendMultiple()).
Version 1.3 of Yii Dependency Injection container is released.
TagReference::to() for tag reference;NotFoundException for cases with definitions;true for parameter of ContainerConfig::withStrictMode() and ContainerConfig::withValidate() methods;Version 1.2 of Yii Form package is released.
In this version added Checkbox::labelPlacement() method and Checkbox::enclosedByLabel() method marked as deprecated.
Minor version of Yii View Renderer were tagged.
yiisoft/view version ^11.^8.1 and refactor code.Version 11.0 of Yii View package was released.
withDefaultExtension() and getDefaultExtension() from ViewInterface.defaultExtension to fallbackExtension.$default to ViewInterface::getParameter().^8.1 and refactor code.Version 1.1 of Yii Form package is released.
In this version added backed enumeration value support to Select field.
Version 3.7 of Yii HTML package is released. There are some improvements:
Script::nonce() and Script::getNonce() for CSP;Select tag.Version 1.5 of Yii Hydrator package has been released. Here are the list of improvements included in the new version:
EnumTypeCaster that cast values to enumerations;Version 2.1 of Yii Validator package has been released. Here is the list of changes included in the new version:
getRules() method;Yiisoft\NetworkUtilities\IpRanges in Ip rule: add getIpRanges() method and deprecate getRanges(), getNetworks(), isAllowed() methods;NEGATION_CHARACTER constant from network-utilities package in IpHandler instead of declaring its own constant.Version 2.1 of Yii Swagger package has been released. Here is the list of changes included in the new version:
psr/http-message of versions ^2.0.yiisoft/yii-view version to ^7.1.\Yiisoft\Swagger\Action\SwaggerJson and \Yiisoft\Swagger\Action\SwaggerUi actions, mark \Yiisoft\Swagger\Middleware\SwaggerJson and \Yiisoft\Swagger\Middleware\SwaggerUi clases as deprecated (they will be removed in the next major version).swagger-api/swagger-ui of version 5.Version 1.2 of Yii Network Utilities package has been released. Here is the list of changes included in the new version:
IP_PATTERN and IP_REGEXP constants to IpHelper for checking IP of both IPv4 and IPv6 versions.NEGATION_CHARACTER constant to IpRanges used to negate ranges.isIpv4(), isIpv6(), isIp() methods to IpHelper.First release of Yii Form Model package was done. It provides a base for form models and helps to fill, validate and display them.
For usage define a form model:
use Yiisoft\FormModel\Attribute\Safe;
use Yiisoft\FormModel\FormModel;
use Yiisoft\Validator\Rule\Email;
use Yiisoft\Validator\Rule\Length;
use Yiisoft\Validator\Rule\Required;