Skip to content
Edit this page

Version 4.4.2

Release Date: October 19, 2023

4.4.2 release of CodeIgniter4

Message Changes

  • Added Language.invalidMessageFormat error message.

Changes

  • Database Migrations: The -g option for the spark migrate:rollback command 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_support and CLI::$wait_msg are deprecated. These properties will be protected.
  • CodeIgniter: The parameter $config for the displayCache() 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 routes could show incorrect route names.

See the repo's CHANGELOG.md for a complete list of bugs fixed.