Code Igniter 4.5.6
30 December 2024
Code Igniter version 4.5.6 is now available.
What's New in Code Igniter 4.5.6
Bug Fixes
- auto_link() converts invalid strings like ://codeigniter.com by @kenjis in #9180
- change session start log level by @element-code in #9221
- getValidated() when validation multiple asterisk by @ddevsr in #9220
- Parser - Equal key name replace conflict by @CosDiabos in #9246
- case-insensitivity in the like() method when in use with accented characters by @michalsn in #9238
- TypeError for routes when translateURIDashes is enabled by @maniaba in #9209
- fetchGlobal() with numeric key by @neznaika0 in #9251
- curl request crashes with params that give an int once hexed. by @ping-yee in #9198
- respect complex language strings when using validation by @michalsn in #9201
- DownloadResponse cache headers by @michalsn in #9237
- [CURLRequest] body contains "HTTP/1.0 200 Connection established" by @ping-yee in #9285
- Postgre\Connection::reconnect() TypeError in pg_ping() by @ping-yee in #9279
- primary key mapping in the model for the entity by @michalsn in #9307
- check if defined WRITEPATH exists by @michalsn in #9317
- handling binary data for prepared statement by @michalsn in #9337
- allow boolean values in the model for PHPStan by @ping-yee in #9276
- fix @param ResponseInterface::setJSON() also accepts objects by @JulianAtkins in #9287
Refactoring
- enable TypedPropertyFromAssignsRector by @samsonasik in #9184
- enable ClosureReturnTypeRector by @samsonasik in #9187
- remove unnecessary is_countable() check in getMethodParams() by @datamweb in #9206
- add more readonly property definitions on AutoRouteCollector and SiteURI by @samsonasik in #9210
- starter key handling in SodiumHandler by @datamweb in #9207
- enable rector code quality level 14 by @samsonasik in #9232
- cleanup DatabaseHandler::gc() for session by @grimpirate in #9230
- enable rector code quality level 15 by @samsonasik in #9243
- enable SimplifyBoolIdenticalTrueRector by @samsonasik in #9244
- enable FlipTypeControlToUseExclusiveTypeRector by @samsonasik in #9253
- flip assert and actual value position on tests by @samsonasik in #9260
- perf: Improve call as service() by @neznaika0 in #9248
- use compare empty array on Forge on keys property by @samsonasik in #9267
- Fix phpstan errors related to Autoloader by @neznaika0 in #9249
- use Superglobals in setting 'REQUEST_METHOD' in `FeatureT… by @paulbalandan in #9294
- use baseURI instead of base_uri by @paulbalandan in #9296
- Apply code quality level 31 for rector by @samsonasik in #9303
- rename stdclass to stdClass by @paulbalandan in #9312
- fix phpDoc.parseError errors by @paulbalandan in #9313
- fix method.nameCase errors by @paulbalandan in #9315
- rename controller to Controller by @paulbalandan in #9314
- fix implicit array creation by @paulbalandan in #9316
- follow up implicit variable array by @ddevsr in #9319
- split phpstan-baseline into smaller files by @paulbalandan in #9299
- upgrade to use phpstan 2 and rector 2 by @samsonasik in #9322
- fix Forge::processIndexes() for empty $this->fields by @paulbalandan in #9330
- Reflection*::setAccessible() is now no-op in PHP 8.1 by @paulbalandan in #9331
- add @throws RedirectException in Controller::initController by @paulbalandan in #9327
- fix warning on new static usage by @paulbalandan in #9342
- fix used void return type by @paulbalandan in #9341
- enable instanceof and strictBooleans rector set by @samsonasik in #9339