Release Date: December 12, 2025
4.6.4 release of CodeIgniter4
- Added
Honeypot.noTemplate,Honeypot.noNameField,Honeypot.theClientIsABot.
- Config: Added the
synchronouskey forConfig\Database::$tests. For SQLite3 driver only.
- Exception:
- The
CodeIgniter\Honeypot\Exceptions\HoneypotException::forNoHiddenValue()method has been deprecated. Never used.
- The
- Cache: Fixed a bug in
PredisHandler::deleteMatching()causing Redis error when no keys match the pattern. - Cache: Fixed a bug in
RedisHandler::deleteMatching()returningfalseinstead ofintwhen no keys match the pattern. - Database: Fixed a bug in
Database::connect()which was causing to store non-shared connection instances in shared cache. - Database: Fixed a bug in
Connection::getFieldData()forSQLSRVandOCI8where extra characters were returned in column default values (specific to those handlers), instead of following the convention used by other drivers. - Database: Fixed a bug in
BaseBuilder::compileOrderBy()where the method could overwriteQBOrderBywith a string instead of keeping it as an array, causing type errors and preventing additionalORDER BYclauses from being appended. - Database: Fixed a bug in
SQLite3where the password parameter was ignored unless it was an empty string. - Debug: Fixed a bug in
ExceptionHandlerwhere JSON encoding would fail when exception traces contained resources (e.g., database connections), closures, or circular references. - Forge: Fixed a bug in
PostgreandSQLSRVwhere changing a column's default value usingForge::modifyColumn()method produced incorrect SQL syntax. - Migrations: Fixed a bug in the session table migration template where the
timestampfield name conflicted with reserved keywords in MySQL/MariaDB. - Model: Fixed a bug in
Model::replace()wherecreated_atfield (when available) wasn't set correctly. - Model: Fixed a bug in
Model::insertBatch()andModel::updateBatch()where casts were not applied to inserted or updated values. - Toolbar: Fixed bugs in
Collectors\Logsthat were preventing the "Logs" tab from appearing on the Debug Toolbar. - Toolbar: Fixed bugs in
toolbar.jswhich caused "Uncaught TypeError" in some scenarios. - Validation: Fixed a bug in the
FormatRules::valid_base64()validation rule that caused a TypeError when checking invalid base64 strings.
See the repo's CHANGELOG.md for a complete list of bugs fixed.