user_guide_src/source/changelogs/v4.6.1.rst
############# Version 4.6.1 #############
Release Date: May 2, 2025
4.6.1 release of CodeIgniter4
.. contents:: :local: :depth: 3
Changes
model/stl and application/octet-stream mime types for the stl extension inside the Config\Mimes class.Deprecations
FileHandler::writeFile() method is deprecated. Use write_file() instead.FileHandler::deleteFiles() method is deprecated. Use delete_files() instead.FileHandler::getDirFileInfo() method is deprecated. Use get_dir_file_info() instead.FileHandler::getFileInfo() method is deprecated. Use get_file_info() instead.Bugs Fixed
before filter.Postgre and SQLite3 handlers where composite unique keys were not fully taken into account for upsert type of queries.OCI8 and SQLSRV drivers where getVersion() returned an empty string when the database connection was not yet established.{line} variable couldn't be used without specifying the {file} variable when logging the message.Session::markAsTempdata() would give the wrong TTL when array data is supplied to Session::setTempdata().maxHistory to 0 would produce a JavaScript error in the Debug Toolbar.maxHistory to 0 prevented log files from being properly cleared.See the repo's
CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>_
for a complete list of bugs fixed.