Version 4.2.7¶
Release Date: October 6, 2022
4.2.7 release of CodeIgniter4
SECURITY¶
- Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued was fixed. See the Security advisory GHSA-745p-r637-7vvp for more information.
- Fixed a bug that prevents CSP headers from being sent when
Config\ContentSecurityPolicy::$autoNonceis false.
BREAKING¶
- The default values of the parameters in
set_cookie()andCodeIgniter\HTTP\Response::setCookie()have been fixed. Now the default values of$secureand$httponlyarenull, and these values will be replaced with theConfig\Cookievalues. Time::__toString()is now locale-independent. It returns database-compatible strings like '2022-09-07 12:00:00' in any locale.- The parameters of the Validation rules
Validation\Rule::required_without()andValidation\StrictRules\Rule::required_without()have been changed, and the logic of these rules has also been fixed.
Message Changes¶
- Fixed typos in some items in
Language/en/Email.php. - Added missing item
valid_jsoninLanguage/en/Validation.php.
Bugs Fixed¶
See the repo's CHANGELOG_4.2.md for a complete list of bugs fixed.