Version 4.6.4
Release Date: Unreleased
4.6.4 release of CodeIgniter4
BREAKING
Message Changes
Added
Honeypot.noTemplate,Honeypot.noNameField,Honeypot.theClientIsABot.
Changes
Config: Added the
synchronouskey forConfig\Database::$tests. For SQLite3 driver only.
Deprecations
- Exception:
The
CodeIgniter\Honeypot\Exceptions\HoneypotException::forNoHiddenValue()method has been deprecated. Never used.
Bugs Fixed
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.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.