Code Igniter 4.4.4
29 December 2023
Code Igniter version 4.4.4 is now available.
What's New in Code Igniter 4.4.4
Breaking Changes
- fix: Validation rule with * gets incorrect values as dot array syntax by @kenjis in #8129
- fix: validation rule matches and differs by @kenjis in #8122
- fix: [CURLRequest] skip hostname checks if options 'verify' false by @NicolaeIotu in #8258
- fix: get_filenames() does not follow symlinks by @kenjis in #8298
Bug Fixes
- fix: change make:command default $group to App by @kenjis in #8109
- fix: typo in help message in spark filter:check by @kenjis in #8118
- fix: Hot reloading when session is enabled by @michalsn in #8112
- fix: make:cell help message by @kenjis in #8133
- fix: [DebugBar] dark mode timeline "Controller" by @kenjis in #8125
- fix: PHPDoc types in controller.tpl.php by @kenjis in #8144
- fix: @return in filter.tpl.php by @kenjis in #8145
- fix: when request body is 0, $body will be null by @kenjis in #8161
- fix: spark routes outputs <unknown> only when {locale} with useSupportedLocalesOnly(true) by @kenjis in #8167
- fix: Undefined array key error in spark db:table by @kenjis in #8173
- fix: force_https() redirects to wrong URL when baseURL has subfolder by @kenjis in #8191
- fix: Validation raises TypeError when invalid JSON comes by @kenjis in #8153
- fix: FilterTestTrait Undefined variable $filterClasses by @kenjis in #8195
- fix: Image::save() causes error with webp by @kenjis in #8210
- fix issue where running FileLocator::getClassname() on a directory would cause a PHP error by @colethorsen in #8216
- fix: make Request::getEnv() deprecated by @kenjis in #8234
- fix: ExceptionHandler displays incorrect Exception classname by @kenjis in #8239
- fix: [Cache] Double prefix for increment in FileHandler by @il-coder in #8255
- docs: fix Database Utility Class getXMLFromResult() by @kenjis in #8276
- fix: autoload helpers in test bootstrap by @kenjis in #8275
- fix: Model handling of Entity $primaryKey casting by @kenjis in #8282
- fix: Handle non-array JSON in validation by @woodongwong in #8288
- fix: DEPRECATED error in Honeypot by @kenjis in #8316
- fix: [Auto Routing Improved] spark routes shows incorrect routes when translateURIDashes is enabled by @kenjis in #8320
- fix: migrations not using custom DB connection of migration runner by @paulbalandan in #8221
- Always return a new instance of a Cell by @michalsn in #8330
- fix: DOMParser cannot see element with id="0" by @kenjis in #8360
Refactoring
- [Rector] Apply SingleInArrayToCompareRector by @samsonasik in #8102
- refactor: RedisHandler ttl() calls by @kenjis in #8155
- [Testing] Use assertEqualsWithDelta() when possible by @samsonasik in #8158
- refactor: replace non-boolean if conditions in Model by @kenjis in #8193
- refactor: View classes to fix PHPStan errors by @kenjis in #8208
- refactor: Model by @kenjis in #8260
- replace -1 with E_ALL in error_reporting calls by @ThomasMeschke in #8212
- refactor: apply SimplifyEmptyCheckOnEmptyArrayRector by @kenjis in #8341
- refactor: apply DisallowedEmptyRuleFixerRector by @kenjis in #8344
- refactor: rely on $config property in ViewDecoratorTrait by @mostafakhudair in #8021
- refactor: replace empty() Part 1 by @kenjis in #8345