Skip to content

CodeIgniter 4.2.2

Compare
Choose a tag to compare
@lonnieezell lonnieezell released this 05 Aug 14:57
· 32 commits to master since this release

CodeIgniter 4.2.2 release.

See the changelog: https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md

Breaking Changes

  • Now Services::request() returns IncomingRequest or CLIRequest.
  • The method signature of 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.
  • The method signature of BaseBuilder.php::insert() and BaseBuilder.php::update() have been changed. The ?array typehint on the $set parameter was removed.
  • A bug that caused pages to be cached before after filters were executed when using page caching has been fixed. Adding response headers or changing the response body in after filters now caches them correctly.
  • Due to a bug fix, now random_string with the first parameter 'crypto' throws InvalidArgumentException if the second parameter $len is an odd number.

New Contributors

Full Changelog: codeigniter4/CodeIgniter4@v4.2.1...v4.2.2