Release Date: January 3, 2022
4.1.6 release of CodeIgniter4
Deserialization of Untrusted Data found in the
old()function was fixed. See the Security advisory for more information.
Multiple table names will no longer be stored in
BaseBuilder::$tableName- an empty string will be used instead.
The previous version of the Validation can’t handle an array item. Because of the bug fix, the validation results may be different, or raise a
TypeError. But the previous version’s results are probably incorrect.
The Validation separated the validation process of multiple field like
contacts.*.nameand single field. When a single field has an array data, the previous version validates each element of the array. The validation rule gets an element of the array as the parameter. On the other hand, the current version passes the array to the validation rule as a whole.
Full support for PHP 8.1.
Database pane on debug toolbar now displays location where Query was called from. Also displays full backtrace.
Subqueries in QueryBuilder can now be an instance of the BaseBuilder class.
Kint was updated from ^3.3 to ^4.0.
The process of sending cookies has been moved to the
Responseclass. Now the
CookieStoreclass don’t send cookies, set them to the Response.
See the repo’s CHANGELOG.md for a complete list of bugs fixed.