Version 4.6.1
Release Date: May 2, 2025
4.6.1 release of CodeIgniter4
Changes
Mimes: Added the
model/stl
andapplication/octet-stream
mime types for thestl
extension inside theConfig\Mimes
class.
Deprecations
Cache: The
FileHandler::writeFile()
method is deprecated. Usewrite_file()
instead.Cache: The
FileHandler::deleteFiles()
method is deprecated. Usedelete_files()
instead.Cache: The
FileHandler::getDirFileInfo()
method is deprecated. Useget_dir_file_info()
instead.Cache: The
FileHandler::getFileInfo()
method is deprecated. Useget_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
andSQLite3
handlers where composite unique keys were not fully taken into account forupsert
type of queries.Database: Fixed a bug in the
OCI8
andSQLSRV
drivers wheregetVersion()
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.Session: Fixed a bug where
Session::markAsTempdata()
would give the wrong TTL when array data is supplied toSession::setTempdata()
.Toolbar: Fixed a bug where setting
maxHistory
to0
would produce a JavaScript error in the Debug Toolbar.Toolbar: Fixed a bug where setting
maxHistory
to0
prevented log files from being properly cleared.
See the repo’s CHANGELOG.md for a complete list of bugs fixed.