Version 4.6.4

Release Date: Unreleased

4.6.4 release of CodeIgniter4

BREAKING

Message Changes

Changes

  • Config: Added the synchronous key for Config\Database::$tests. For SQLite3 driver only.

Deprecations

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() for SQLSRV and OCI8 where 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 overwrite QBOrderBy with a string instead of keeping it as an array, causing type errors and preventing additional ORDER BY clauses from being appended.

  • Forge: Fixed a bug in Postgre and SQLSRV where changing a column’s default value using Forge::modifyColumn() method produced incorrect SQL syntax.

  • Model: Fixed a bug in Model::replace() where created_at field (when available) wasn’t set correctly.

  • Model: Fixed a bug in Model::insertBatch() and Model::updateBatch() where casts were not applied to inserted or updated values.

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