Yii Error Handler 4.3
Yii Error Handler version 4.3 was released. In this version:
- pass request to callable value in
ExceptionRespondermiddleware.
Yii Error Handler version 4.3 was released. In this version:
ExceptionResponder middleware.The first stable release of the Yii3 web application template.
The template helps you quickly start with a classic web application and already includes the essentials:
Yii Error Handler version 4.2 was released. In this version:
$traceLink parameter to HtmlRenderer to allow linking to trace files;UserException attribute to mark user exceptions;Yii Aliases version 3.1 was released. In this version:
AliasReferencecomposer.json to 8.1 - 8.4Yii Middleware Dispatcher version 5.3 was released. In this version:
MiddlewareCollector for Yii Debug package;Psr\Http\Server\RequestHandlerInterface as middleware definition;composer.json to 8.1 - 8.4;MiddlewareStack::$fallbackHandler readonly;Yii Validator version 2.5 was released.
In this version added Result::getPropertyErrorMessagesByPath() method.
Yii Dummy Provider version 1.1 was released. In this version:
yiisoft/db-implementation virtual packageYii Validator version 2.4.0 was released. In this version:
NestedWhenMissing not working in nested rulesNested rule processing within EachWe are pleased to announce the release of Yii Framework version 2.0.53.
Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version.
This release fixes bugs including issues with MSSQL, enhances compatibility with recent PHP features and versions. Our community members added types for PHPStan/Psalm through whole codebase. It is still work in progress but significant part of the framework is covered.
Minor version of Yii HTTP Runner were tagged. In this version made several changes and improvements.
HttpApplicationRunner::runAndGetResponse() method that returns response without emit.$emitter, $useRemoveBodyByStatusMiddleware, $useContentLengthMiddleware and $useHeadRequestMiddleware parameters to HttpApplicationRunner constructor.RequestFactory: explicitly mark read-only properties and add type to parameter of create() method.Content-Length header if it is set and emit is called without body.Minor version of Yii Middleware has been released. Here are the list of improvements and fixes included in the new version:
composer.json to 8.1 - 8.4;yiisoft/router version to ^4.0;yiisoft/session version to ^3.0;Version 3.11 of Yii HTML package is released. Here are the list of improvements and fixes included in the new version:
Code and Pre tags, Html::code() and Html::pre() methods;OptionsData in Select class;Minor version of Yii HTTP Middleware has been released.
This release adds RemoveBodyMiddleware, which removes the response body for specific HTTP status codes.
We've tagged Yii2 debug extension version 2.1.27. It fixes a bug of unnecessary usage of backticks in UserPanel resulting in inability to work with environments where shell_exec is not available. No security was affected.
It seems, we've also forgot to write about 2.1.26:
Module::$toolbarPosition was added to configure toolbar position.yii\debug\Module::$authManager was added to select RBAC manager used by UserPanel (default is authManager).We are very pleased to announce the release of Redis extension version 2.0.20.
This version removes logging of AUTH command parameters in non debug mode which may pose security issue. Also, it fixes one PHP 8.4 compatibility issue that was found since last release.
See the CHANGELOG for details.
First stable version of Yii HTTP Middleware was released.
The package provides a collection of PSR-15 middleware focused on HTTP features:
ContentLengthMiddleware — manages the Content-Length header in the response;CorsAllowAllMiddleware — adds CORS headers allowing any request origins in later requests;ForceSecureConnectionMiddleware — redirects insecure requests from HTTP to HTTPS and adds headers necessary to enhance the security policy;HeadRequestMiddleware — removes body from response for HEAD request;Version 3.1 of Yii Caching Library is released.
SerializerInterface for data serialization, and PhpSerializer implementation.normalize() method static in CacheKeyNormalizer class.composer.json to 8.1 - 8.4.Version 1.4 of Yii Dependency Injection container is released.
TagReference::id() method.composer.json to 8.1 - 8.4.BuildingException and NotFoundException friendly.$config parameter in Container constructor optional.First release of Yii PSR Emitter package was done. It provides EmitterInterface that is responsible for sending PSR-7 HTTP responses as well as several implementations of the interface:
SapiEmitter - sends a response using standard PHP Server API;FakeEmiiter - a fake emitter that does nothing, except for capturing response (useful for testing purposes).Additionally, the package provides EmitterMiddleware PSR-15 middleware that can be used in an application to send a response by any EmitterInterface implementation.
General usage:
/**
* @var \Psr\Http\Message\ResponseInterface $response
*/
$emitter = new \Yiisoft\PsrEmitter\SapiEmitter();
$emitter->emit($response);
Version 12.2 of Yii View package has been released. Here are the list of improvements and fixes included in the new version:
Stringable objects to WebView::setTitle() method;yiisoft/view → theme → pathMap package parameter.