Code Igniter 4.6.4
16 December 2025
Code Igniter version 4.6.4 is now available.
Upgrading to Code Igniter 4.6.4
Code Igniter 4.6.4 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Code Igniter updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Code Igniter install to test the 4.6.4 upgrade prior to applying it live. Get started managing your Code Igniter installations with Installatron
What's New in Code Igniter 4.6.4
Bug Fixes
- fix: prevent non-shared DB instances from polluting shared cache by @michalsn in #9679
- fix: Connection::getFieldData() default value convention for SQLSRV and OCI8 by @michalsn in #9680
- fix: Forge::modifyColumn() for Postgre handler by @michalsn in #9676
- fix: setting created_at field in Model::replace() method by @michalsn in #9693
- fix: Casting in insertBatch and updateBatch methods. by @patel-vansh in #9698
- fix: compileOrderBy() method by @michalsn in #9697
- fix: SQLite3 password handling for empty string by @michalsn in #9729
- fix: TypeError in valid_base64 rule when checking invalid base64 strings by @michalsn in #9733
- fix: debug toolbar logs collector behavior on isEmpty() by @mjomble in #9724
- fix: crash in toggleViewsHints - debugDiv.appendChild (toolbar.js) by @mjomble in #9735
- fix: cannot read properties of null in toggleViewsHints (toolbar.js) by @michalsn in #9736
- fix: type error in controlled cell by @michalsn in #9784
- fix: handle resources and closures in JSON exception responses by @michalsn in #9788
- fix: quote reserved keyword timestamp used as a field name for session table by @michalsn in #9805
- fix: Add an IDs for toolbar form fields by @neznaika0 in #9823
- fix: disable echo in the preload file by @michalsn in #9825
- fix(cache): prevent Redis error when deleteMatching() finds no keys by @michalsn in #9829
Refactoring
- refactor: change $request to CLIRequest|IncomingRequest in ResponseTrait by @paulbalandan in #9658
- refactor: fix phpdoc and improve code in Language by @paulbalandan in #9656
- refactor: remove redundant property declarations in BaseController by @paulbalandan in #9659
- refactor: update CheckPhpIni code by @paulbalandan in #9672
- refactor: Improve types for phpstan by @neznaika0 in #9685
- refactor: fix phpstan issues on magic properties by @paulbalandan in #9728
- refactor: use superglobals service in the UserAgent class by @michalsn in #9783