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.json
to8.1 - 8.4
; - bumped
yiisoft/router
version to^4.0
; - bumped
yiisoft/session
version to^3.0
; - bumped minimal version of
yiisoft/cookie
to^1.2.3
; - marked
CorsAllowAll
,ForceSecureConnection
,HttpCache
andTagRequest
middlewares as deprecated; - allowed to use PSR-20 clock interface to get current time into
Locale
middleware; - explicitly marked nullable parameters.