Version 4.6.1

Release Date: Unreleased

4.6.1 release of CodeIgniter4

BREAKING

Message Changes

Changes

Deprecations

  • Cache: The FileHandler::writeFile() method is deprecated. Use write_file() instead.

  • Cache: The FileHandler::deleteFiles() method is deprecated. Use delete_files() instead.

  • Cache: The FileHandler::getDirFileInfo() method is deprecated. Use get_dir_file_info() instead.

  • Cache: The FileHandler::getFileInfo() method is deprecated. Use get_file_info() instead.

Bugs Fixed

  • CURLRequest: Fixed an issue where multiple header sections appeared in the CURL response body during multiple redirects from the target server.

  • Cors: Fixed a bug in the Cors filter that caused the appropriate headers to not be added when another filter returned a response object in the before filter.

  • Database: Fixed a bug in Postgre and SQLite3 handlers where composite unique keys were not fully taken into account for upsert type of queries.

  • Database: Fixed a bug in the OCI8 and SQLSRV drivers where getVersion() returned an empty string when the database connection was not yet established.

  • Logger: Fixed a bug where the {line} variable couldn’t be used without specifying the {file} variable when logging the message.

  • Toolbar: Fixed a bug where setting maxHistory to 0 would produce a JavaScript error in the Debug Toolbar.

  • Toolbar: Fixed a bug where setting maxHistory to 0 prevented log files from being properly cleared.

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