Minor version of Yii Middleware has been released. Here are the list of improvements and fixes included in the new version:
- bumped PHP minimal version to 8.1 and refactor code to use new features;
- changed PHP constraint in
composer.jsonto8.1 - 8.4; - bumped
yiisoft/routerversion to^4.0; - bumped
yiisoft/sessionversion to^3.0; - bumped minimal version of
yiisoft/cookieto^1.2.3; - marked
CorsAllowAll,ForceSecureConnection,HttpCacheandTagRequestmiddlewares as deprecated; - allowed to use PSR-20 clock interface to get current time into
Localemiddleware; - explicitly marked nullable parameters.