user_guide_src/source/changelogs/v4.2.2.rst
Version 4.2.2 #############
Release Date: August 6, 2022
4.2.2 release of CodeIgniter4
.. contents:: :local: :depth: 2
BREAKING
Services::request() returns IncomingRequest or CLIRequest.CodeIgniter\Debug\Exceptions::__construct() has been changed. The IncomingRequest typehint on the $request parameter was removed. Extending classes should likewise remove the parameter so as not to break LSP.BaseBuilder.php::insert() and BaseBuilder.php::update() have been changed. The ?array typehint on the $set parameter was removed.random_string() with the first parameter 'crypto' throws InvalidArgumentException if the second parameter $len is an odd number.Message Changes
invalidRoute message in Language/en/HTTP.php.Changes
BaseBuilder::increment() and BaseBuilder::decrement() do not reset the BaseBuilder state after a query.CLIRequest::isCLI() always returns true.IncommingRequest::isCLI() always returns false.CodeIgniter DevKit <https://github.com/codeigniter4/devkit>_.Deprecations
Services::request() are deprecated.$cacheConfig of CodeIgniter::gatherOutput() is deprecated.$ifNotExists of Forge::_createTable() is deprecated.Bugs Fixed
See the repo's
CHANGELOG_4.2.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/changelogs/CHANGELOG_4.2.md>_
for a complete list of bugs fixed.