Skip to content

Latest commit

 

History

History
349 lines (295 loc) · 32.1 KB

File metadata and controls

349 lines (295 loc) · 32.1 KB

Changelog 4.5

v4.5.8 (2025-01-19)

Full Changelog

Security

  • HTTP Validation of header name and value: Fixed a potential vulnerability on lack of proper header validation for its name and value. See the security advisory for more information. Credits to @neznaika0 for reporting.
  • Security fix: ensure csrf token is string by @datlechin in codeigniter4#9365

Fixed Bugs

  • fix: gather affected rows after query call failed by @michalsn in codeigniter4#9363

Refactoring

v4.5.7 (2024-12-31)

Full Changelog

Fixed Bugs

  • fix: handle namespaced helper found on Common helper by @samsonasik in codeigniter4#9354
  • fix: Forge::dropColumn() always returns false on SQLite3 driver by @paulbalandan in codeigniter4#9351

Refactoring

  • refactor: enable AddArrowFunctionReturnTypeRector by @samsonasik in codeigniter4#9343

v4.5.6 (2024-12-28)

Full Changelog

Fixed Bugs

  • fix: auto_link() converts invalid strings like ://codeigniter.com by @kenjis in codeigniter4#9180
  • fix: change session start log level by @element-code in codeigniter4#9221
  • fix: getValidated() when validation multiple asterisk by @ddevsr in codeigniter4#9220
  • fix: Parser - Equal key name replace conflict by @CosDiabos in codeigniter4#9246
  • fix: case-insensitivity in the like() method when in use with accented characters by @michalsn in codeigniter4#9238
  • fix: TypeError for routes when translateURIDashes is enabled by @maniaba in codeigniter4#9209
  • fix: fetchGlobal() with numeric key by @neznaika0 in codeigniter4#9251
  • fix: curl request crashes with params that give an int once hexed. by @ping-yee in codeigniter4#9198
  • docs: allow boolean values in the model for PHPStan by @ping-yee in codeigniter4#9276
  • fix: respect complex language strings when using validation by @michalsn in codeigniter4#9201
  • fix: DownloadResponse cache headers by @michalsn in codeigniter4#9237
  • docs: fix @param ResponseInterface::setJSON() also accepts objects by @JulianAtkins in codeigniter4#9287
  • fix: [CURLRequest] body contains "HTTP/1.0 200 Connection established" by @ping-yee in codeigniter4#9285
  • fix: Postgre\Connection::reconnect() TypeError in pg_ping() by @ping-yee in codeigniter4#9279
  • fix: primary key mapping in the model for the entity by @michalsn in codeigniter4#9307
  • fix: check if defined WRITEPATH exists by @michalsn in codeigniter4#9317
  • fix: handling binary data for prepared statement by @michalsn in codeigniter4#9337

Refactoring

  • refactor: enable TypedPropertyFromAssignsRector by @samsonasik in codeigniter4#9184
  • refactor: enable ClosureReturnTypeRector by @samsonasik in codeigniter4#9187
  • refactor: remove unnecessary is_countable() check in getMethodParams() by @datamweb in codeigniter4#9206
  • refactor: add more readonly property definitions on AutoRouteCollector and SiteURI by @samsonasik in codeigniter4#9210
  • refactor: starter key handling in SodiumHandler by @datamweb in codeigniter4#9207
  • refactor: enable rector code quality level 14 by @samsonasik in codeigniter4#9232
  • refactor: cleanup DatabaseHandler::gc() for session by @grimpirate in codeigniter4#9230
  • refactor: enable rector code quality level 15 by @samsonasik in codeigniter4#9243
  • refactor: enable SimplifyBoolIdenticalTrueRector by @samsonasik in codeigniter4#9244
  • refactor: enable FlipTypeControlToUseExclusiveTypeRector by @samsonasik in codeigniter4#9253
  • refactor: flip assert and actual value position on tests by @samsonasik in codeigniter4#9260
  • perf: Improve call as service() by @neznaika0 in codeigniter4#9248
  • refactor: use compare empty array on Forge on keys property by @samsonasik in codeigniter4#9267
  • refactor: Fix phpstan errors related to Autoloader by @neznaika0 in codeigniter4#9249
  • refactor: use Superglobals in setting 'REQUEST_METHOD' in `FeatureT… by @paulbalandan in codeigniter4#9294
  • refactor: use baseURI instead of base_uri by @paulbalandan in codeigniter4#9296
  • refactor: Apply code quality level 31 for rector by @samsonasik in codeigniter4#9303
  • refactor: rename stdclass to stdClass by @paulbalandan in codeigniter4#9312
  • refactor: fix phpDoc.parseError errors by @paulbalandan in codeigniter4#9313
  • refactor: fix method.nameCase errors by @paulbalandan in codeigniter4#9315
  • refactor: rename controller to Controller by @paulbalandan in codeigniter4#9314
  • refactor: fix implicit array creation by @paulbalandan in codeigniter4#9316
  • refactor: follow up implicit variable array by @ddevsr in codeigniter4#9319
  • refactor: split phpstan-baseline into smaller files by @paulbalandan in codeigniter4#9299
  • refactor: upgrade to use phpstan 2 and rector 2 by @samsonasik in codeigniter4#9322
  • refactor: fix Forge::processIndexes() for empty $this->fields by @paulbalandan in codeigniter4#9330
  • refactor: Reflection*::setAccessible() is now no-op in PHP 8.1 by @paulbalandan in codeigniter4#9331
  • refactor: add @throws RedirectException in Controller::initController by @paulbalandan in codeigniter4#9327
  • refactor: fix warning on new static usage by @paulbalandan in codeigniter4#9342
  • refactor: fix used void return type by @paulbalandan in codeigniter4#9341
  • refactor: enable instanceof and strictBooleans rector set by @samsonasik in codeigniter4#9339

v4.5.5 (2024-09-07)

Full Changelog

Fixed Bugs

Refactoring

v4.5.4 (2024-07-27)

Full Changelog

Fixed Bugs

Refactoring

  • refactor: use first class callable on function call by @samsonasik in codeigniter4#9004
  • refactor: enable AddClosureVoidReturnTypeWhereNoReturnRector to add void return on closure by @samsonasik in codeigniter4#9008
  • refactor: enable AddFunctionVoidReturnTypeWhereNoReturnRector to add void to functions by @samsonasik in codeigniter4#9014
  • refactor: Enable phpunit 10 attribute Rector rules by @samsonasik in codeigniter4#9015
  • refactor: fix Throttler::check() $tokens by @paulbalandan in codeigniter4#9067

v4.5.3 (2024-06-25)

Full Changelog

Fixed Bugs

  • fix: RedisHandler::deleteMatching() not deleting matching keys if cache prefix is used by @paulbalandan in codeigniter4#8952
  • fix: TypeError in DefinedRouteCollector::collect() by @kenjis in codeigniter4#8957
  • fix: migrate:rollback -b does not work due to TypeError by @kenjis in codeigniter4#8958
  • fix: [Validation] if_exist does not work with array data by @kenjis in codeigniter4#8959
  • chore: add Config namespace to appstarter autoload.psr4 by @kenjis in codeigniter4#8963
  • fix: spark routes may show BadRequestException when a route has a regexp by @kenjis in codeigniter4#8974
  • docs: fix incorrect description for route group filter by @kenjis in codeigniter4#8978
  • fix: return and param types of BaseConnection by @paulbalandan in codeigniter4#8983
  • fix: precedence of command classes with the same $name by @kenjis in codeigniter4#8898
  • fix: [OCI8] if conditions to build DSN by @kenjis in codeigniter4#8986
  • fix: [Auto Routing Improved] Default Method Fallback does not work with $translateUriToCamelCase by @kenjis in codeigniter4#8980
  • fix: command() may execute rewrite.php by @kenjis in codeigniter4#8995

Refactoring

  • refactor: BaseBuilder::orderBy() by @kenjis in codeigniter4#8970
  • refactor: using phpunit 10 assertObjectHasNotProperty() and assertObjectHasProperty() by @samsonasik in codeigniter4#8991

v4.5.2 (2024-06-10)

Full Changelog

Fixed Bugs

Refactoring

  • refactor: remove unused path parameter on PhpStreamWrapper::stream_open() by @samsonasik in codeigniter4#8926

v4.5.1 (2024-04-14)

Full Changelog

Fixed Bugs

  • fix: TypeError in form() by @kenjis in codeigniter4#8736
  • fix: [DebugBar] TypeError in Toolbar by @kenjis in codeigniter4#8727
  • fix: TypeError when Time is passed to Model by @kenjis in codeigniter4#8738
  • docs: added Config\Feature::$oldFilterOrder to app/Config/Feature.php… by @mullernato in codeigniter4#8749
  • fix: Factories::get() cannot get defined classes by @kenjis in codeigniter4#8744
  • fix: BaseConnection::escape() does not accept Stringable by @kenjis in codeigniter4#8756
  • fix: [CURLRequest] getHeaderLine('Content-Type') causes InvalidArgumentException by @kenjis in codeigniter4#8760
  • fix: [CURLRequest] construct param $config is not used by @kenjis in codeigniter4#8761
  • fix: [FileLocator] Cannot declare class XXX, because the name is already in use by @kenjis in codeigniter4#8745
  • fix: [DebugBar] Toolbar display may be broken by @kenjis in codeigniter4#8772
  • fix: Cannot declare class CodeIgniter\Config\Services, because the name is already in use by @kenjis in codeigniter4#8776
  • docs: fix Postgre DSN sample by @kenjis in codeigniter4#8774

Refactoring

v4.5.0 (2024-04-07)

Full Changelog

Breaking Changes

Fixed Bugs

New Features

Enhancements

Refactoring

For the changelog of v4.4, see CHANGELOG_4.4.md.