user_guide_src/source/changelogs/v4.1.6.rst
Version 4.1.6 #############
Release Date: January 3, 2022
4.1.6 release of CodeIgniter4
.. contents:: :local: :depth: 2
SECURITY
old() function was fixed. See the Security advisory <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-w6jr-wj64-mc9x>_ for more information.BREAKING
BaseBuilder::$tableName - an empty string will be used instead... _changelog-v416-validation-changes:
TypeError.
But the previous version's results are probably incorrect.contacts.*.name and 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.Enhancements
Subqueries <query-builder-where-subquery> in QueryBuilder can now be an instance of the BaseBuilder class.Changes
Response class. Now the Security and CookieStore class don't send cookies, set them to the Response.Deprecations
Seeder::faker() and Seeder::$faker are deprecated.BaseBuilder::cleanClone() is deprecated.The process of sending cookies has been moved to the Response class.
And the following methods are deprecated:
CookieStore::dispatch()CookieStore::setRawCookie()CookieStore::setCookie()Security::sendCookie()Security::doSendCookie()Bugs Fixed
See the repo's
CHANGELOG_4.1.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/changelogs/CHANGELOG_4.1.md>_
for a complete list of bugs fixed.