github codeigniter4/CodeIgniter4 v4.2.2
CodeIgniter 4.2.2

latest releases: v4.5.5, v4.5.4, v4.5.3...
2 years ago

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: v4.2.1...v4.2.2

Don't miss a new CodeIgniter4 release

NewReleases is sending notifications on new releases.