Version 4.4.2¶
Release Date: October 19, 2023
4.4.2 release of CodeIgniter4
Message Changes¶
- Added
Language.invalidMessageFormaterror message.
Changes¶
- Database Migrations: The
-goption for thespark migrate:rollbackcommand was removed. It did not work from the beginning. Also, the rollback command returns the database(s) state to a specified batch number and cannot specify only a specific database group. - Security: The presence of the CSRF token is now also checked in the raw body (not JSON format) for PUT, PATCH, and DELETE requests.
Deprecations¶
- Filters: The Auto-Discovery for Filters and
Filters::discoverFilters()are deprecated. Use Registrars instead. See Filters for details. - CLI: The public properties
CLI::$readline_supportandCLI::$wait_msgare deprecated. These properties will be protected. - CodeIgniter: The parameter
$configfor thedisplayCache()method is deprecated. It was not used.
Bugs Fixed¶
- CodeIgniter: Fixed a bug that returned a "200 OK" response status code on Page Not Found.
- Spark: Fixed a bug that caused spark to not display exceptions in production mode or to display a backtrace in JSON when an exception occurred.
- Forge: Fixed a bug where adding a Primary Key to an existing table was ignored if there were no other Keys added too.
- Routing: Fixed a bug where
spark routescould show incorrect route names.
See the repo's CHANGELOG.md for a complete list of bugs fixed.