Changelog History
Page 2
-
v4.1.6 Changes
January 03, 2022๐ SECURITY
- Deserialization of Untrusted Data found in the
old()
function was fixed. See the Security advisory for more information.
๐ฅ Breaking Changes
- ๐ fix: Incorrect type
BaseBuilder::$tableName
by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5378 - ๐ fix: Validation cannot handle array item by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5405
๐ Fixed Bugs
- ๐ fix: FileLocator cannot find files in sub-namespaces of the same vendor by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5292
- ๐ fix: add a workaround for upgraded users who do not update Config\Exceptions by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5314
- ๐ Fix db escape negative integers by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5277
- ๐ Fix: remove incorrect processing of CLI params by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5274
- ๐ fix: table alias is prefixed when LIKE clause by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5361
- fix:
dot_array_search()
unexpected array structure causes Type Error by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5372 - ๐ fix: UploadedFile::move() may return incorrect value by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5302
- ๐ fix: BaseModel::insert() may not pass all the values from Entity by @katie1348 in https://github.com/codeigniter4/CodeIgniter4/pull/4980
- ๐ fix:
IncomingRequest::getJsonVar()
may cause TypeError by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5392 - โ chore: fix example test code for appstarter and module by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5421
- ๐ fix: Model::save() may call unneeded countAllResults() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5439
- ๐ fix: errors when MariaDB/MySQL has
ANSI_QUOTES
enabled by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5425 - ๐ fix: Security class sends cookies immediately by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5429
- fix:
is_cli()
returnstrue
when$_SERVER['HTTP_USER_AGENT']
is missing by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5393 - ๐ fix:
MySQLi\Connection::_foreignKeyData()
may return duplicated rows by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5416 - fix:
number_to_currency()
error on PHP 8.1 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5454 - ๐ fix: VENDORPATH definition by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5453
- ๐ fix: Throttler does not show correct token time by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5470
- ๐ fix: directory_mirror() throws an error if destination directory exists by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5493
- ๐ fix: KINT visual error when activating CSP by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5501
๐ New Features
- feat: add filter to check invalid chars in user input by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5227
โจ Enhancements
- โ Add support for PHP 8.1 by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4883
- Toolbar - Make it possible to turn off var data collection by @najdanovicivan in https://github.com/codeigniter4/CodeIgniter4/pull/5295
- feat: add CSRF token randomization by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5283
- Display file:line and trace information to database queries in debug toolbar by @lonnieezell in https://github.com/codeigniter4/CodeIgniter4/pull/5334
- feat: add SecureHeaders filter by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5419
- ๐ Feature: BaseBuilder instance as subquery. by @iRedds in https://github.com/codeigniter4/CodeIgniter4/pull/5488
๐จ Refactoring
- Do not inappropriately register bind when the value is a closure by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5247
- ๐จ refactor: replace $request->uri with $request->getUri() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5346
- Determine if binds are simple or named by looking at the $binds array by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5138
- โ Remove unneeded cast to array by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5379
- โ Additional fix for deprecated
null
usage by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5388 - refactor: dot_array_search() regex by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5443
- ๐จ refactor: Time::getDst() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5415
- โก๏ธ The View class. Optimizing duplicate code. by @iRedds in https://github.com/codeigniter4/CodeIgniter4/pull/5455
- ๐จ refactor: fix
ThrottleTest::testFlooding
by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5463 - ๐จ refactor: update deprecated method in DatetimeCast by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5474
- โ Remove semicolons from SQL statements. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5513
๐ New Contributors
- @katie1348 made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/4980
- Deserialization of Untrusted Data found in the
-
v4.1.5 Changes
November 08, 2021๐ Fixed bugs:
- ๐ Fix entity name generation when bundled in model by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5055
- ๐ Fix
Model::__call
throwingBadMethodCallException
on empty results by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5139 - ๐ Fixed an issue where the dropForeginKey method would execute an empty query when the dropConstraintStr property was empty. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5173
- โก๏ธ Update 'updated_at' when enabled in replace() by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4684
- ๐ Fix query binding with two colons in query by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5117
- ๐ Fixed the problem that _createTable does not take into account that it returns true. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5133
- ๐ Fixed a problem with not run escape for identities in like when
insensitiveSearch
is true. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5170 - ๐ Fixed an issue where an unnecessary prefix was given when the random number was a column. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5179
- โก๏ธ Always escape identifiers in the set(), setUpdateBatch(), and insertBatch() by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5132
- Error when value is an object - validating api data by @daycry in https://github.com/codeigniter4/CodeIgniter4/pull/5142
- ๐ Fix color not updated in several places of the precompiled CSS by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5155
- ๐ Fix debugbar styles printing by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5100
- ๐ Fix highlighting in database debug toolbar by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5129
- ๐ Fix debug toolbar db connection count by @danielTiringer in https://github.com/codeigniter4/CodeIgniter4/pull/5172
- ๐ Fix CSRF filter does not work when set it to only post by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5194
- โ Add CSRF Protection for PUT/PATCH/DELETE by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5228
- ๐ Fix GC issue when session lifetime is set to 0 by @lf-uraku-yuki in https://github.com/codeigniter4/CodeIgniter4/pull/4744
- ๐ Fix wrong helper path resolution by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5246
- ๐ Fix: remove CURLRequest headers sharing from $_SERVER by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5249
- ๐ Fix Localization not working/being ignored for 404 page by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5267
- ๐ fix: module filters are not discovered when using route filters by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5280
- IncomingRequest - Trim trailing slash by @najdanovicivan in https://github.com/codeigniter4/CodeIgniter4/pull/4974
- Previous Responses by @MGatner in https://github.com/codeigniter4/CodeIgniter4/pull/5034
- (Paging) Ensure page validity by @puschie286 in https://github.com/codeigniter4/CodeIgniter4/pull/5125
- ๐ Fix variable variable
$$id
in RedisHandler by @Terrorboy in https://github.com/codeigniter4/CodeIgniter4/pull/5062 - ๐ Fixes and enhancements to Exceptions by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5052
Implemented enhancements:
- feat:
_
can be used as separators in environment variable names by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5156 - Multiple filters for a route and classname filter by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5128
- ๐ Feature - Mark duplicate queries by @danielTiringer in https://github.com/codeigniter4/CodeIgniter4/pull/5185
- [Debug] Add formatted query string to timeline. by @sfadschm in https://github.com/codeigniter4/CodeIgniter4/pull/5196
- [Debug] Improve keyword highlighting and escaping of query strings. by @sfadschm in https://github.com/codeigniter4/CodeIgniter4/pull/5200
- โ Add
dropKey
method toForge
by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5171 - โก๏ธ Reduce memory usage of insertBatch(), updateBatch() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5202
- โ Add Session based CSRF Protection by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5201
- feat: add valid_url_strict rule by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5268
๐ Merged pull requests:
- ๐ Merge branch '4.2' by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5060
- โก๏ธ Update to latest laminas-escaper 2.9.0 by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/5065
- โ Remove unintended dead code in pre-commit by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5116
- Adjust orange color in debug toolbar by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5136
- Extract method to get prefix for DB access function by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5178
- ๐ Improve
model()
auto-completion by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5186 - ๐ Rename toolbar loader to be a regular JS file by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5224
- โก๏ธ [HTTP] Update Http Status Description based on latest iana.org by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/5235
- โ Remove CSRF properties by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5231
- โ Remove static variables for PHP 8.1 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5262
- Replace usage of
FILTER_SANITIZE_STRING
by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5263 - Simplify logic of
number_to_roman
function by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5270 - ๐ Fix compatibility of
PgSql\Result
on closing the result instance by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5279 - ๐ Fix compatibility of Postgres result for PHP 8.1 by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5278
๐ New Contributors
- @Terrorboy made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5062
- @vlakoff made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5136
- @Felipebros made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5152
- @daycry made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5142
- @danielTiringer made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5172
-
v4.1.4 Changes
September 06, 2021๐ This release focuses on code style. All changes (except those noted below) are cosmetic to bring the code in line with the new CodeIgniter Coding Standard (based on PSR-12).
What's Changed
- ๐ Use php-cs-fixer as coding style tool by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4770
- โ Remove unused local variables by @jeromegamez in https://github.com/codeigniter4/CodeIgniter4/pull/4783
- ๐ Use static lambda if a binding to
$this
is not required. by @jeromegamez in https://github.com/codeigniter4/CodeIgniter4/pull/4784 - ๐ Use/Fix
preg_quote()
delimiters by @jeromegamez in https://github.com/codeigniter4/CodeIgniter4/pull/4789 - Don't override
$path
parameter by @jeromegamez in https://github.com/codeigniter4/CodeIgniter4/pull/4787 - Don't override
$value
parameter by @jeromegamez in https://github.com/codeigniter4/CodeIgniter4/pull/4788 - โ Add brackets to clarify intent and avoid unwanted side-effects by @jeromegamez in https://github.com/codeigniter4/CodeIgniter4/pull/4791
- โ Remove removed
safe_mode
ini Option by @jeromegamez in https://github.com/codeigniter4/CodeIgniter4/pull/4795 - It will fix undefined index cid error when sending emails with embedded images by @mmfarhan in https://github.com/codeigniter4/CodeIgniter4/pull/4798
- โช Revert Model coalesce by @MGatner in https://github.com/codeigniter4/CodeIgniter4/pull/4819
- Master language constructs shall be used instead of aliases. by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4847
- ๐ [Commands] Remove unused $minPHPVersion property at Serve command by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/4852
- โก๏ธ Update to latest laminas-escaper 2.8 by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/4878
- โ Remove 'memory_usage' from 'displayPerformanceMetrics()' comment by @Mauricevb in https://github.com/codeigniter4/CodeIgniter4/pull/4939
- โ Remove useless code separator comments by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4946
- โก๏ธ Optimize Filters by @mostafakhudair in https://github.com/codeigniter4/CodeIgniter4/pull/4965
- ๐ Fix properly the phpstan error in 0.12.93 by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4970
- Manual cleanup of docblocks and comments by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4964
- ๐ Make Cookie compatible with ArrayAccess by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5004
- Replace deprecated FILTER_SANITIZE_STRING by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5005
- ๐ Make CookieStore compatible with IteratorAggregate::getIterator by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5010
- ๐ Make the session handlers all compatible with SessionHandlerInterface by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5012
- ๐ Make CITestStreamFilter compatible with php_user_filter by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5014
- ๐ Make Time compatible with DateTime by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5022
- โ Add
ReturnTypeWillChange
attribute to Entity by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5028 - Replace unused Entity private method by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5029
- ๐ Make File compatible with SplFileInfo by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5040
- ๐ Update documentation code samples by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5039
- PHP Copy-Paste Detector by @MGatner in https://github.com/codeigniter4/CodeIgniter4/pull/5031
- ๐ Fix key casting in form_dropdown helper. by @sfadschm in https://github.com/codeigniter4/CodeIgniter4/pull/5035
- Switch to official coding standard by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5038
๐ New Contributors
- @mmfarhan made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/4798
- @Mauricevb made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/4939
-
v4.1.3 Changes
June 06, 2021๐ Fixed bugs:
- ๐ Bug: Error using SQLITE3 strftime in CodeIgniter 4.1.2 #4760
- ๐ Bug: Caching something through cron, is not accessible in the web application #4751
- ๐ Bug: SQLite Drop Column #4746
- ๐ Bug: CURL Class - BaseURI options notworking #4713
- ๐ Bug: autorouting #4711
- ๐ Bug: curlrequest not using baseURI on localhost #4707
- ๐ Bug: cli not working with cron #4699
Closed issues:
- ๐ Bug: Class 'Locale' not found #4775
- ๐ Bug: deprecated notice on CodeIgniter\HTTP\RequestInterface::getMethod() #4717
- ๐ Allow to join models between primary keys and foreign keys #4714
- DateTime::__construct(): Failed to parse time string () at position 0 (๏ฟฝ): Unexpected character #4708
- ๐ Bug: Query Builder breaks with SQL function LENGTH() and column name "row" #4687
๐ Merged pull requests:
- Expand Query named binds recognition #4769 (paulbalandan)
- ๐ [Rector] Remove @var from class constant #4766 (samsonasik)
- โ Set WarningsReturnAsErrors = 0 before connection #4762 (obelisk-services)
- [Rector] Apply Rector: VarConstantCommentRector #4759 (samsonasik)
- [Autoloader] include_once is not needed on Autoloader::loadClass() with no namespace #4756 (samsonasik)
- ๐ Fix imagemagick build #4755 (michalsn)
- ๐ [Rector] Apply Rector: MoveVariableDeclarationNearReferenceRector #4752 (samsonasik)
- SQLite3 "nullable" #4749 (MGatner)
- Remove $response variable at ControllerResponse::__construct() as never defined #4747 (samsonasik)
- ๐ Use variable for Config/Paths config to reduce repetitive definition #4745 (samsonasik)
- [Rector] Apply Rector : ListToArrayDestructRector #4743 (samsonasik)
- โ Add default TTL #4742 (MGatner)
- โก๏ธ update return sample of
dot array\_search\(\)
#4740 (totoprayogo1916) - โ Additional check for
$argv
variable when detecting CLI #4739 (paulbalandan) - Ensure variable declarations #4737 (jeromegamez)
- ๐ Fix setting of value in Cookie's flag attributes #4736 (paulbalandan)
- โ Add missing imports #4735 (jeromegamez)
- โ Add environment spark command #4734 (paulbalandan)
- โ Remove explicit condition that is always true #4731 (jeromegamez)
- Deduplicate code #4730 (jeromegamez)
- Replace
isset\(\)
with the??
null coalesce operator #4729 (jeromegamez) - โ Remove unused imports #4728 (jeromegamez)
- ๐ Fix truncated SCRIPT_NAME #4726 (MGatner)
- Expand CLI detection #4725 (paulbalandan)
- ๐ [Rector] Add custom Rector Rule: RemoveErrorSuppressInTryCatchStmtsRector rector rule #4724 (samsonasik)
- โ Test with MySQL 8 #4721 (jeromegamez)
- Replace URI string casts #4716 (MGatner)
- Format URI directly #4715 (MGatner)
- โ Additional File functions #4712 (MGatner)
- โ Remove unused private rowOffset property in Database/SQLSRV/Result.php #4709 (samsonasik)
- ๐ง Check for configured instead of hard-coded database in DbUtilsTest #4705 (jeromegamez)
- โช Revert UG margins #4704 (MGatner)
- Create .git/hooks directory if not already present #4703 (jeromegamez)
- โ Annotate specifically designed slow tests with custom limits #4698 (paulbalandan)
- Cache robustness #4697 (MGatner)
-
v4.1.2 Changes
May 17, 2021Implemented enhancements:
- ๐ New HTTP classes,
Cookie
andCookieStore
, for abstracting web cookies. - ๐ New
assertRedirectTo()
assertion available for HTTP tests. - ๐ New logger handler,
ErrorlogHandler
, that writes toerror_log()
. - Entity. Added custom type casting functionality.
- ๐ New option in routing. The
priority
option lower the priority of specific route processing. - The
Autoloader
class can now load files which do not contain PHP classes. The list ofnon-class
files will be listed in the$files
property ofConfig\Autoload
class.
๐ Deprecations:
- ๐ Deprecated
Codeigniter\View\View::$currentSection
property. - ๐ Language strings and exceptions on invalid cookie samesite are deprecated for the
CookieException
's own exception message. - ๐ Deprecated
CodeIgniter\Entity
in favor ofCodeIgniter\Entity\Entity
- ๐ Deprecated cookie-related properties of
Response
in order to use theCookie
class. - ๐ Deprecated cookie-related properties of
Security
in order to use theCookie
class. - ๐ Deprecated cookie-related properties of
Session
in order to use theCookie
class. - ๐ Deprecated
Security::isExpired()
to use theCookie
's internal expires status. - โ
Deprecated
CIDatabaseTestCase
to use theDatabaseTestTrait
instead. - โ
Deprecated
FeatureTestCase
to use theFeatureTestTrait
instead. - โ
Deprecated
ControllerTester
to use theControllerTestTrait
instead. - โ
Consolidated and deprecated
ControllerResponse
andFeatureResponse
in favor ofTestResponse
. - ๐ Deprecated
Time::instance()
, useTime::createFromInstance()
instead (now acceptsDateTimeInterface
). - ๐ Deprecated
IncomingRequest::removeRelativeDirectory()
, useURI::removeDotSegments()
instead - ๐ Deprecated
\API\ResponseTrait::failValidationError
to use\API\ResponseTrait::failValidationErrors
instead
๐ Fixed bugs:
- ๐ Bug: NULL Fields definition not working for MSQLi Forge in Migration due property $_null and $null names difference #4693
- ๐ Bug: Missing Cookie Config #4619
- ๐ Bug: #4610
- ๐ Bug: Customized Validation language does not take effect #4597
- ๐ Bug: colon issue in query binding #4595
- ๐ Bug: set_checkbox() default value not working #4582
- ๐ Bug: Request & Response objects stored multiple times #4580
- ๐ Bug: Class information on output is missing during migrate:rollback command #4579
- ๐ Bug: Cookie path replaced with system's PATH env variable #4559
- ๐ Bug: Validation::withRequest() method does not receive data. #4552
esc
andnl2br
combo gives nasty HTML error output #4533- ๐ Bug: typo error when creating a model using php spark make:model #4525
- Bug: if_exist not working with ".*" notation #4521
- ๐ Bug: Query::matchSimpleBinds index problem only toolbar. #4518
- ๐ Bug: Unable to use debugger toolbar on a live server #4516
- Missing config options and config options repetition #4504
- ๐ Bug: db:create command should create database even database not exists yet, and defined in .env #4498
- ๐ Bug: Differences in file names created with CLI command #4495
- ๐ Bug: Session removeTempdata() method not accepting arrays. #4490
- ๐ Bug: Session remove() method not removing tempdata sessions. #4489
- ๐ Bug: Session getFlashdata() not support for dot notation. #4488
- ๐ Bug: New Service replacement fails at service provider precedence on core factory implementations #4483
- ๐ Bug: Filter is not work ! #4482
- ๐ Bug: PHPStorm anlysis fault #4474
- ๐ Bug: apache mod_userdir causes weird URL segment duplication #4471
- Postgre Forge doesn't use schema in creating tables #4469
- ๐ Bug: UG QueryBuilder::from() wrong SQL example. #4464
- ๐ Bug: results on getX() not equal #4452
- ๐ Bug: Queries with LOWER( throwing errors #4443
- ๐ Bug: RouteCollection::getHTTPVerb() can return null #4435
- ๐ Bug: can't run
spark migrate
on CI server #4428 - ๐ Bug: URI Routing Placeholders #4421
- ๐ Bug: Third Flags needs default #4411
- ๐ Bug: another Flags needs default #4410
- ๐ Bug: Flags needs default value #4409
- ๐ Bug: log_message passed object #4407
- ๐ Bug: Model creation error #4393
- ๐ Bug: If the file name contains "app", "php spark make: migration" will not create it successfully. #4383
- ๐ Bug: IncomingRequest.php getVar() #4381
- ๐ Bug: Minimum PHP Version Discrepancy #4361
- ๐ Bug: insertBatch generates an incorrect SQL query if the fields differ only in number at the end #4345
- ๐ Bug: Database/Live tests fail #4336
- ๐ Bug: red line on model by setPrefix & prefixTable #4329
- ๐ Bug: $model->errors() produce output when no error #4323
- ๐ Bug: Can't Rewrite System Validation Messages #4318
- ๐ Bug: "useSoftDelete" for model files generated by
phpspark
#4316 - ๐ Bug: require the unused namespace #4309
- ๐ Bug: FeatureTest cannot assert Status(404) #4306
- ๐ Bug: BaseBuilder->_insert #4302
- ๐ Bug: previous_url() contains current URL after reloading a page. #4299
- ๐ Bug: Cannot add route to controller in filename with dash/hyphen #4294
- ๐ Bug: FeatureTest dies when throws RedirectException/cached page #4288
- ๐ Bug: /test.php show home page #4263
- ๐ Bug: Fabricator::fake() function is breaking when it returns an array #4261
- ๐ Bug: Session issue with CI Environment set to Testing (CI4) #4248
- ๐ Bug: Wrong HTML code in output of "form_input" helper function #4235
- ๐ make:scaffold input information is missing #4230
- ๐ Bug: CodeIgniter 4.1.1 - csrf token is always regenerated #4224
- ๐ Bug: getFileMultiple expects an "0" index but string is given #4221
- ๐ Bug: cannot resolve Services::xxx() #4220
- Bug: tfoot_open / tfoot_close have no default when using custom table template #4219
- ๐ Bug: Spark PHP version #4213
- ๐ Bug: Soft deletes and model validation when unique #4162
- ๐ Bug: Debug Toolbar - Memory Leak - Allocation Exception #4137
- current_url() global method returning URLs without the index.php part. #4116
- ๐ Bug: appstarter HealthTest::testBaseUrlHasBeenSet fails #3977
- ๐ Bug: Time::createFromTimestamp() uses default timezone, not UTC for timestamp #3951
- ๐ Bug: Unexpected filter behavior #3874
- ๐ Bug: Double initializing of class #3855
- ๐ Bug: Registrars take priority over .env #3845
- ๐ Bug: SQLite3 NOT NULL prevents inserts #3599
- ๐ Bug: Model doesn't reset errors in FeatureTestCase #3578
- ๐ Bug: Problem in "/system/Database/Query.php" function "compileBinds()" #3566
- ๐ Bug: Exceptions cause risky Feature Tests #3114
- ๐ Bug: current_url() loses subdomain #3004
Closed issues:
- mysqli_sql_exception #2002 #4640
- ๐ป intl - Name missing exception #4636
- โก๏ธ HUGE BUG: update() function updates all records if id is empty #4617
- ๐ Bug: Validation rule "matches" doesn't work #4615
- ๐ Bug: chmod 777 writable/cache fixed codeignitor install for me #4598
- Model->where method does not exist #4583
- Transactions between two databases #4578
- Bug: Mysql connection issue with MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT #4558
- ๐ Release cycle #4526
- Call to a member function setContentType() on null - Responsetrait #4524
- ๐ Bug: mock single_service #4515
- ๐ Bug: failed to open stream #4514
- Array Validation Fails #4510
- ๐ Bug: return $this->failValidationError($validation->getErrors()) Has Invalid Signature #4506
- ๐ Bug: Ok The Model ERRORS came right back with the newest build again! #4491
- ๐ Bug: Composer install loads require-dev when I require another package #4477
- Logger #4460
- ๐ Bug: Improve creation of scaffolds with the CLI #4441
- โ Request: Feature Test Optimization #4438
- request.getVar not populated with GET parameters | unexpected behavior #4418
- 0๏ธโฃ Running via CLI - Only Default Controller works #4415
- ๐ Parser content typehint [strict_types=1] #4412
- Toolbar::setFiles() requires int [strict_types=1] #4408
- ๐ FeatureTest currently supports file testing? #4405
- ๐ Bug: set404Override now working in group rotes #4400
- Dynamic URL #4394
- ErrorException preg_replace_callback(): Unknown modifier '{' SYSTEMPATH/View/Parser.php at line 584 #4367
- ๐ Feature: In HTTP Feature Testing, delivering in body in application/json format #4362
- โ [Dev] Database Live Tests should depart from using deprecated CIDatabaseTestCase #4351
- ๐ Bug: Migration in module (different namespace) do not find migrations #4348
- ๐ Bug: getVar does not look at $_SESSION as documentation suggests #4284
- QBSelect, QBFrom, other properties cannot be accessed, modified from the model. #4255
- Dev: Restrictions on trait "ResponseTrait" #4238
- ๐ ResponseTrait trait > Can the description support array? #4237
- ๐ Feature: add old data in afterUpdate model event #4234
- Dev: #4233
- โ Cache unable to write to /var/www/html/ci4test/writable/cache/ #4227
- ๐ Documentation: multiple databases setup in the ENV also need to be setup in the database config file #4218
- ๐ Documentation: $this->request->setLocale() is missing in documentation #4091
- vars in .env sometimes returns null #3992
- ๐ parseRequestURI dose not override globals['server'] ? #3976
- ๐ Feature: Spark header Suppression #3918
- ๐ Feature: AJAX filters don't work #2314
- Request: Bulk route filters with parameters #2078
- Need a global way to set config values dynamically #1661
- ๐ Feature Request : support the db config instead of .env while the core is initialzed #1618
- ๐ TODO Database BaseConnection needs better connections #1253
๐ Merged pull requests:
- ๐ Fix nullable type not showing in SQL string #4696 (paulbalandan)
- โ Add reference to cache repo #4694 (MGatner)
- ๐ Allow CI Environments #4692 (MGatner)
- โ Add URI cast #4691 (MGatner)
- ๐คก MockCache::getCacheInfo() #4689 (MGatner)
- โ Remove Psr\Cache #4688 (MGatner)
- Spacing issues #4686 (MGatner)
- โก๏ธ [Rector] Update rector 0.11.2 and phpstan 0.12.86 #4685 (samsonasik)
- โก๏ธ Optimize CommandRunner and Commands #4683 (paulbalandan)
- โช Revert Actions minor version #4682 (MGatner)
- โช Revert Actions minor versioning #4681 (MGatner)
- โฌ๏ธ Bump shivammathur/setup-php from 2 to 2.11.0 #4679 (dependabot[bot])
- โฌ๏ธ Bump actions/checkout from 2 to 2.3.4 #4678 (dependabot[bot])
- โก๏ธ [Rector] Update rector to 0.10.22, remove symplify/composer-json-manipulator #4677 (samsonasik)
- URL Functions #4675 (MGatner)
- โ Remove unused imports #4674 (paulbalandan)
- โ Split URL Helper tests #4672 (MGatner)
- ๐ [Rector] Apply Rector: RemoveUnusedPrivatePropertyRector #4671 (samsonasik)
- โก๏ธ [UG] update line number for "managing apps" #4670 (totoprayogo1916)
- โ Add setLocale to UG #4669 (MGatner)
- UTC Time from timestamp #4668 (MGatner)
- PSR: Cache #4667 (MGatner)
- Limit cache filenames #4666 (MGatner)
- ๐ Use descriptive failure message for
assertLogged
#4665 (paulbalandan) - [Rector] Use $containerConfigurator->import() instead of "sets" Option #4664 (samsonasik)
- โก๏ธ Update rector/rector requirement from 0.10.19 to 0.10.21 #4663 (dependabot[bot])
- Spark header suppression #4661 (MGatner)
- Registrar and .env priority #4659 (MGatner)
- Reset Single Service #4657 (MGatner)
- โช Unify migration message format for
migrate
andmigrate:rollback
#4656 (paulbalandan) - ๐ [Scripts] Make sure bash script still works in Windows #4655 (paulbalandan)
- ๐ change instance() to createFromInstance() #4654 (totoprayogo1916)
- โ Add branch alias for develop branch #4652 (paulbalandan)
- ๐จ Refactor URI detection #4651 (MGatner)
- [Scipts] Ensure admin/setup.sh exists before run bash admin/setup.sh #4650 (samsonasik)
- โก๏ธ Update rector/rector requirement from 0.10.17 to 0.10.19 #4649 (dependabot[bot])
- ๐ [ci skip] Remove ajax filter reference from docs. Fixes #2314 #4648 (lonnieezell)
- Internal URI handling #4646 (MGatner)
- ๐ URI::removeDotSegments() #4644 (MGatner)
- ๐ [Rector] Pin "nikic/php-parser": "4.10.4" #4642 (samsonasik)
- โก๏ธ Update to psr/log v1.1.4 #4641 (paulbalandan)
- โก๏ธ Update rector/rector requirement from 0.10.15 to 0.10.17 #4639 (dependabot[bot])
- โก๏ธ Update MockCache #4638 (MGatner)
- Cache Key Validation #4637 (MGatner)
- โก๏ธ [Cache] Allow covariant returns and optimize code #4635 (paulbalandan)
- ๐จ Refactor ComposerScripts #4634 (paulbalandan)
- Expand Time for interface #4633 (MGatner)
- ๐ฒ Patch Log code #4631 (MGatner)
- Cache Returns Types #4630 (MGatner)
- ๐ Cache getMetadata() Format #4629 (MGatner)
- ๐ fix(cache): add check for redis empty results in deleteMatching #4628 (yassinedoghri)
- โก๏ธ Update rector/rector requirement from 0.10.12 to 0.10.15 #4627 (dependabot[bot])
- โ Add fallback for Config\Cookie #4625 (paulbalandan)
- โ [Test] Use @codeCoverageIgnore for deprecated class/method #4623 (samsonasik)
- ๐ Fix: Nested sections rendering #4622 (iRedds)
- โก๏ธ Update rector/rector requirement from 0.10.11 to 0.10.12 #4621 (dependabot[bot])
- โก๏ธ Update phpstan/phpstan requirement from 0.12.84 to 0.12.85 #4620 (dependabot[bot])
- โฌ๏ธ Bump actions/github-script from v4.0.1 to v4.0.2 #4614 (dependabot[bot])
- โก๏ธ Update rector/rector requirement from 0.10.9 to 0.10.11 #4613 (dependabot[bot])
- ๐จ [Rector] Refactor UnderscoreToCamelCaseVariableNameRector with latest Rector compatible code #4612 (samsonasik)
- [Feat][Autoloader] Allow autoloading non-class files #4611 (paulbalandan)
- failValidationError can take an array of errors #4609 (caswell-wc)
- assertJsonFragment fails gracefully with invalid json #4608 (caswell-wc)
- Non-persistent fake #4607 (caswell-wc)
- ๐ Fix validation of array data #4606 (paulbalandan)
- ๐ Use realpath() to fix app prioritization of validation messages #4605 (paulbalandan)
- Optimizations for Autoloader #4604 (paulbalandan)
- ๐ format style #4603 (totoprayogo1916)
- whitespaces #4602 (totoprayogo1916)
- [Rector] Apply Full PHP 7.3 Rector Set List (Skip JsonThrowOnErrorRector & StringifyStrNeedlesRector) #4601 (samsonasik)
- โฌ๏ธ Bump actions/github-script from v3 to v4.0.1 #4599 (dependabot[bot])
- Simplify Cookie Class #4596 (mostafakhudair)
- ๐ Fix service methods โฆ$params type #4594 (najdanovicivan)
- ๐ Fix new service replacement service provider precedence on core factory implementations #4593 (element-code)
- โก๏ธ Update rector/rector requirement from 0.10.6 to 0.10.9 #4592 (dependabot[bot])
- Debug/Toolbar - Memory issue fix #4590 (najdanovicivan)
- BaseModel - Add public getIdValue() method #4589 (najdanovicivan)
- ๐ Feature: Escaping array dot notation #4588 (iRedds)
- โก๏ธ Update phpstan/phpstan requirement from 0.12.83 to 0.12.84 #4587 (dependabot[bot])
- extra </li> in tabs area #4586 (jbrahy)
- โก๏ธ user_guide update: remove whitespaces, convert tabs to spaces & adjust the over-extended lines #4585 (totoprayogo1916)
- ๐ Fix: BaseModel. Removed duplicate code. #4581 (iRedds)
- ๐ Change Entity Namespace #4577 (mostafakhudair)
- ๐ [Rector] Remove RemoveDefaultArgumentValueRector #4576 (samsonasik)
- ๐ [Rector] Add Comment for reason RemoveDefaultArgumentValueRector copied to utils/Rector #4575 (samsonasik)
- ๐ [Rector] Copy RemoveDefaultArgumentValueRector to utils/Rector #4574 (samsonasik)
- ๐ Fix: Validation::withRequest() with Content-Type: multipart/form-data #4571 (iRedds)
- โก๏ธ [Rector] Update Rector 0.10.6, re-enable auto imports #4569 (samsonasik)
- ๐ feat(cache): add deleteMatching method to remove multiple cache items #4567 (yassinedoghri)
- Mysql connection issue with MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT #4566 (fedeburo)
- โฌ๏ธ Bump actions/cache from v2.1.4 to v2.1.5 #4564 (dependabot[bot])
- [Rector] Apply Rector: UnnecessaryTernaryExpressionRector #4563 (samsonasik)
- Check intl extension loaded on check min PHP version #4562 (samsonasik)
- Prefix calls to getenv() during config resolution #4561 (paulbalandan)
- [Rector] Apply Rector: ChangeArrayPushToArrayAssignRector #4560 (samsonasik)
- โ [Rector] Enable check tests/system/Models #4557 (samsonasik)
- Debugging SQL Server in Actions #4554 (paulbalandan)
- ๐ Support for masking sensitive debug data #4550 (pixobit)
- ๐ Use message directly if intl is not available #4549 (paulbalandan)
- โ Add compatibility for strict types #4548 (paulbalandan)
- โ Removes deprecated settings in env file #4547 (paulbalandan)
- ๐ Fix wrong argument passed in doc #4546 (paulbalandan)
- ๐ Fix dot notation for if_exist #4545 (paulbalandan)
- ๐ป Relocate cookie exception #4544 (mostafakhudair)
- ๐ [Rector] Apply RemoveDefaultArgumentValueRector #4543 (samsonasik)
- ๐ Fix html formatting for exceptions and errors #4542 (musmanikram)
- Create Config::Cookie Class #4508 (mostafakhudair)
- ๐ New HTTP classes,
-
v4.1.1 Changes
February 01, 2021๐ Fixed bugs:
- Fixed an issue where .gitattributes was preventing framework downloads
-
v4.1.0 Changes
January 31, 2021Implemented enhancements:
- ๐ Rector 0.9 fixes #4196
- Cannot declare class Config\App error on running PHPUnit #4114
- Backfill non-optional parameters (https://github.com/codeigniter4/CodeIgniter4/pull/3938)
- ๐ Change deprecated assertFileNotExists (https://github.com/codeigniter4/CodeIgniter4/pull/3862)
-
v4.0.5 Changes
January 31, 2021๐ Deprecations:
- ๐
CodeIgniter\Database\ModelFactory
is now deprecated in favor ofCodeIgniter\Config\Factories::models()
- ๐
CodeIgniter\Config\Config
is now deprecated in favor ofCodeIgniter\Config\Factories::config()
- HTTP Layer Refactor: Numerous deprecations have been made towards a transition to a PSR-compliant HTTP layer. [See the User Guide](user_guide_src/source/installation/upgrade_405.rst)
Mime Type Detection
Config\Mimes::guessExtensionFromType
now only reverse searches the$mimes
array if no extension is proposed (i.e., usually not for uploaded files).- The fallback values of
UploadedFile->getExtension()
andUploadedFile->guessExtension()
have been changed.UploadedFile->getExtension()
now returns$this->getClientExtension()
instead of''
;UploadedFile->guessExtension()
now returns''
instead of$this->getClientExtension()
. ๐ These changes increase security when handling uploaded files as the client can no longer force a wrong mime type on the application. However, these might affect how file extensions are detected in your application.
Implemented enhancements:
- ๐ Bug: controller routing on modules not working #3927
- CLI: method prompt should accept array validation rules #3766
- Validation: permit_empty, optional arguments #3670
- ๐ php 8 support #3498
- getRoutesOptions should return the controller and method if available #3445
- before function in FilterInterface is missing response param #2085
- ๐ Feature Request: Centralized loggedInUser before RC #2055
๐ Fixed bugs:
- ๐ Bug: UploadedFile::store() can't return null #4183
- ๐ Bug: BaseBuilder::getCompiledDelete() runs real query #4180
- ๐ Bug: Deprecated: Required parameter $userAgent follows optional parameter $body in /opt/lampp/htdocs/framework-4.0.4/system/HTTP/IncomingRequest.php on line 161 #4172
- ๐ Bug: table template closes tbody after tfoot #4155
- ๐ Bug: delete_cookie() helper not working #4149
- ๐ Bug: Required parameter $userAgent follows optional parameter $body in #4148
- ๐ Bug: spark issue #4144
- ๐ Bug: PostgreSQL driver issues #4142
- ๐ Bug: phpunit coverage report causes
Cannot declare class Config\App, because the name is already in use
#4114 - ๐ Bug: Wrong file/line in exceptions created by "factory" methods #4110
- ๐ Bug: Request::withMethod() uses deprecated code #4109
- ๐ Bug: View rendering, extracted variables overwrites existed variables(arguments and etc.) #4108
- ๐ Bug: Loss of escape value and data in the model #4087
- ๐ Bug: classes overwrites parameter defaults, phpDoc's defined in interfaces #4086
- ๐ Bug: getRandomName Return file extension .csv when upload docx or xlsx becouse mimetype application/octet-stream are set #4084
- ๐ Bug: Required parameter $from follows optional parameter $verbs #4076
- ๐ Bug: username input form shows root as a default value #4062
- ๐ Bug: Issue with pagination #4045
- ๐ Bug: Model calls builder before initializing #4036
- ๐ Bug: can't run migrations when CI_ENVIRONMENT = testing #4033
- ๐ Bug: can't get environment variable with dot #4026
- ๐ Bug: CodeIgniter model not recognizing custom deletedField in find queries #3999
- ๐ Bug: assertSee() can not assert title tag. #3984
- ๐ Bug: RAR file detected as CSV #3979
- ๐ Bug: Session Initialization via DatabaseHandler #3978
- ๐ Bug: required_with validation rule does not work with arrays #3965
- ๐ Bug: helper cookie not working #3939
- ๐ Bug: Uploaded SRT files are saved as CSV #3921
- ๐ Bug: Pre-commit hook for Phpstan and sniffer stop working after e111f04d74569e413c5aede3ed9bd9fa1ce7dca2 #3920
- ๐ Bug: Documentation Example Leads to Bug #3914
- ๐ Bug: Route filter runs twice #3902
- ๐ Bug: Premature empty check in Model->update function. #3896
- ๐ Bug: Sqldrv problems to insert when change DBPrefix #3881
- ๐ Bug: CI4 won't recognise current namespace for language files #3867
- Unexpected validation bug #3859
- ๐ Bug: single_service does not set service's arguments correctly #3854
- ๐ Bug: debugbar should not insert code in code tag #3847
- ๐ Parser won't properly parse tags that have a similar name #3841
- ๐ Bug: insertBatch not generating createdField #3838
- ๐ Bug: Parser - Replacements happening even if key does not fully matches { value } #3825
- Bug: Parser preg_replace_callback exception if template has # #3824
- ๐ Translation function 'lang' does not work as described #3822
- ๐ Bug: File rewrite.php is always lost in large-request unhandled error #3818
- ๐ Bug: Model::builder() ignores parameter #3793
- ๐ Bug: Warning no tests found in CodeIgiter\Tests... #3788
- ๐ Bug: Class '\CodeIgniter\Database\pdo\Connection' not found #3785
- ๐ Bug: Composer php spark migrate error #3771
- ๐ Bug: ORDER BY RANDOM ON SQLite3 #3768
- ๐ Bug: CLI: generateDimensions fails with a uncaught exception when exec is disabled #3762
- ๐ Bug: createTable if not exists not working #3757
- ๐ Bug: SQLite drop column corrupts table cache #3752
- ๐ Bug: route filters don't apply for different methods #3733
- /system/Images/Image.php image()->copy() mkdir #3732
- ๐ Bug: route bug #3731
- page not redirecting. when i redirecting by calling function #3729
- ๐ Bug: \Config\Services::image()->flatten() #3728
- ๐ Bug: Parser will overwrite the value if the initial variable is same #3726
- ๐ Bug: Validating Json Requests #3719
- ๐ Bug: view caching not work on windows #3711
- ๐ Bug: getRoutesOptions return wrong when I have >2 routes has same name, but different method (HTTPVerb) #3700
- ๐ Bug: Validation with request raw body. #3694
- Image format webp is not preserve transparent #3690
- problem: #3686
- ๐ Documentation Error #3668
- ๐ Bug: BaseBuilder's query is wrong #3659
- ๐ Bug: The lifetime of the CSRF check cookie cannot be set to 0 (Session). #3655
- ๐ Bug: isRedirect does not respond depending on how redirects are set up. #3654
- ๐ Bug: SQL Error when countAllResults, groupBy and DBPrefix used together #3651
- ๐ Bug: helper current_url() return wrong protocol #3648
- ๐ Bug: IncomingRequest::setLocale() #3640
- ๐ CodeIgniter\Database\Exceptions\DatabaseException #8 Unable to connect to the database. #3639
- ๐ Bug: Cannot use view filter on array values #3630
- ๐ Bug: Changelog navigation is not working properly #3625
- ๐ Bug: Routing 404 Override confusion under route group #3623
- ๐ Bug: Target batch not found when running
php spark migrate:rollback
#3620 - ๐ Bug: getHeaders returns Array with no values #3616
- Ignore this, was a false report #3611
- ๐ Bug: Incorrect type that fails strict_types=1 #3610
- The isAJAX method does not exist in filters #3604
- ๐ Bug:
current\_url\(\)
helper returns wrong url with slash between host and port #3603 - ๐ Bug: Connection ID unknown immediately after connection #3601
- ๐ Bug: Join Query is not working in Library #3600
- ๐ Bug: Database cache not working #3597
- ๐ Bug: Issue in the route, redirect to parent domain, if you put / at the end of url #3595
- ๐ Bug: Segments Also Include The Segments In BASE_URL #3594
- ๐ Bug: Route Filters doesn't restart in FeatureTestCase. #3591
- ๐ Bug: CURL call returns always code 200 in case de server uses HTTP/2 #3586
- ๐ Bug: Language folders inside locale folders NOT Working ! #3582
- ๐ Bug: Uninitialized string offset: 1 CI 4 #3573
- ๐ Deprecated assertArraySubset in PHPUnit8 used in FeatureResponse::assertJSONFragment #3562
- Wrong HTTP status code #3558
- ๐ Bug: Invalid serialization data for DateTime object #3553
- ๐ Bug: Setting session expires parameter via $this->sessionExpiration #3543
- ๐ Bug: Upload file validation, $model->validate return true if failed #3532
- ๐ Bug: Inconsistent behavior of view renderer on Windows and Linux #3529
- ๐ Bug: Add dash to parser plugin regex #3523
- ๐ Bug: When Cronjob run the ip address of the request is 0.0.0.0 #3512
- ๐ Bug: Inconsistency in replace() method #3510
- ๐ Bug: setPath function in UploadedFile.php is writing the index.html wrong #3506
- ๐ Bug: Cannot get session data after server redirecting #3503
- ๐ Bug: Database group defined in .env doesn't work #3497
- ๐ Bug: I cant upload mp4 files #3494
- ๐ Bug: Error message for matches rule doesn't support nested params #3492
- ๐ CI_VERSION = '4.0.0-beta.4'; session ๆไปถfile็ผๅญ้ฎ้ขๅคฑๆ้ฎ้ข๏ผsession_start(): Failed to decode session object. Session has been destroyed #3485
- ๐ Bug: onlyDeleted() conflicts to paginate() #3482
- ๐ Bug: Unable to connect to the database #3477
- ๐ Bug: Argument 1 passed to CodeIgniter\Config\Services::request() must be an instance of Config\App or null, instance of BackEnd\Config\App #3475
- ๐ Bug: Fatal error running #3473
- ๐ Bug: set() doesn't work on DateTime database field types #3471
- before() Filters that are executed are missing from codeigniter debug toolbar. #3470
- ๐ Bug: Model insert method always insert with current datetime on updatedField #3469
- ๐ Bug: The search function in the documentation is not working #3458
- ๐ Bug: env variable database.default.dsn not working for mysqli #3456
- ๐ Bug: #3453
- Bug: form_textarea in form_helper does not create specified 'rows' #3452
- ๐ Bug: afterUpdate event return array instead of key value #3450
- ๐ท Using Cronjob with php line argument while using Crontab redirects the script and never executes #3444
- ๐ Bug: Support for SameSite cookie setting missing #3442
- ๐ Bug: Validation mime_in SVG files not working correctly #3439
- ๐ Bug: Cannot declare class Config\Paths, because the name is already in use #3434
- ๐ Bug: delete_cookie() helper function not working #3433
- ๐ Bug: insertBatch not working correctly #3432
- ๐ Feature request : CodeIgniter\File with SplFileInfo does not have a method to rewrite parts of the file only to append an CSV style row #3431
- ๐ Bug: SMTP to port 465 should use TLS from the start #3429
- ๐ Bug: Form data and file is not receiving well formed with PUT Method #3417
- ๐ Bug: form_textarea helper row and col defaults not overwriting when defined as $extra #3412
- Encryption Class does not allow to change digest parameter from SHA512 to SHA256 or others #3404
- ๐ Bug: table.Array in first() ... - and complex primary keys! ;-) #3394
- ๐ง Error: Email SMTP configured wrong gives error #3390
- ๐ Bug: CodeIgniter\Router\Router hasLocale returns true even if {locale} is absent #3386
- ๐ Bug: Logs Collector isn't collecting logs for Debug Toolbar #3376
- ๐ Bug: Entity's original is not set #3370
- ๐ Bug: warning in Routes.php #3369
- ๐ Bug: Model can not insert Entity #3368
- ๐ Bug: stringify_attributes() looks unfinished. #3363
- ๐ Bug: php spark migrate throws wrongful CodeIgniter\Database\Exceptions\DatabaseException Unable to connect to the database #3359
- ๐ Bug: Image watermark after save.. text not align in center middle when resolution lower and higher. #3356
- ๐ Bug: SQL Lite driver with Builder -> InsertBatch has intermittend lastError reporting issues #3350
- ๐ Bug: isCLI error when calling a controller from a Command Line #3342
- ๐ Bug: missing clear upgrade instructions #3332
- ๐ Bug: API requests with a trailing forward slash #3330
- ๐ Bug: Pager pagination ( page value in url ) #3328
- ๐ Bug: View layout name hierarchy is not displaying correctly on Debugbar Views #3327
- ๐ Bug: php spark migrate on testing environment doesn't work #3309
- ๐ Bug: Empty Entity date attributes receive current timestamp when accessed #3251
- ๐ Bug: no Filter arguments passed #3216
- ๐ Bug: Url Helper have a bug #3180
- $pager->links() not working inside view layouts #3164
- ๐ Bug: AH01075: Error dispatching request on Basic CI4 #3110
- ๐ Bug: Using assertJSONFragment with respond() in ResponseTrait #3079
- ๐ Bug: Filters 'except' option not removing DebugToolbar comment for view #3002
- ๐ Bug: useSoftDeletes with like function #2380
Closed issues:
- ๐ Seed Command in document Not found #4154
- โก๏ธ I18n/L10n: auto update translations #4151
- โก๏ธ Calling update() with an Entity throws an error #4143
- BaseConfig property issue #4140
- ๐ Bug: #4126
- ๐ Bug: a new installation of codeignitor 4.0.4 show 404 error Sorry! Cannot seem to find the page you were looking for. #4111
- ๐ Bug PHP SPARK MIGRATE #4101
- Pagination work in local, but error in server #4096
- updated_at field is filled with the current timestamp when inserting new data along with created_at #4038
- Config for pager #4030
- โก๏ธ setUpdateBatch #4025
- ๐ Empty html-file created when moving uploaded files with $img->move() #4020
- php spark serve error on php 8 #3980
- ๐ Bug: PHP8 session flush data is not deleted #3974
- ๐ PHP8: Deprecate required param after optional #3957
- Undefined function #3954
- Missing function locale_set_default(...) in Codeigniter 4 #3953
- โ Language\en\Language.php is only used in testing #3948
- Bug: locale_set_default causing "Whoops" failure in MacOS PHP 7.3.9 on develop branch #3933
- Pdo driver not found #3922
- Mysqli Backup utility? #3906
- Relationships - Many to many #3885
- ๐ Bug: How can remove Codeinatore default icon #3883
- ๐ How Can remove CodeIgniter4 icon #3882
- Codeigniter review 2021 #3880
- url_title doesn't work with decimal number in title #3878
- ๐ IncomingRequest Class "hasFile" function does not exist as described in the documentation. #3852
- ๐ Dynamically changing supported languages #3844
- ๐ CodeIgniter\Database\Exceptions\DatabaseException #8 #3826
- Blank page show #3812
- ๐ Bug: folder tests not found #3807
- Typo in the doc: cache_info() #3800
- only_full_group_by - mysqli_sql_exception #1055 - MySql 5.7.24 #3795
- โ Dev: Split ModelTest #3792
- The formatMessage function of the Language class works intermittently #3784
- .htaccess problem with syntax #3778
- The page does not open correctly:( #3770
- โช Restore method for CodeIgniter Model. #3767
- ๐ Bug: Model update() only set first array value #3764
- ๐ Bug: CLI: Exception view shows full path #3763
- ๐ Bug: Maximum execution time exceeds while handling IPv6 Reverse Proxy IPs #3760
- ๐ Fabricators documentation error #3743
is\_unique
is not considering the db prefix in checking for unique values in db #3741- Grouping routes should let me pass additional variables within the closure function #3691
- cannot find Ftp library. #3679
- ๐ Make sessions never expire with $config['sess_expiration'] = -1 #3677
- Migration trouble #3624
- Files as optional in validation rules #3619
- $_SERVER should not have .env file info #3615
- ๐ Bug pars xml #3588
- ๐ Bug: When have multi filter class, and "before" function return true๏ผother filters after this filter not working #3579
- ๐ง can not install on linux os #3572
- ๐ Incorrect grouping function names in documentation #3551
- ๐ New Edge Browser missing from user agents config #3513
- Form validation does not have a rule to validate if field value differs from a string #3462
- โก๏ธ updateBatch does not accept entities #3451
- ๐ Support PSR4 #3405
- CodeIgniter4 is ready to work with PHP 7.4? #3389
- Using CodeIgniter4 with Oracle Database #3388
- Can't get Controllers subfolder working #3347
- Why redirect()->to() doesn't work inside events Model? #3346
- ๐ Bug: requests PUT type without segment redirects to index method instead update method #3343
- Migrations not working #3317
- CURL Error htts SSL #3314
- codeigniter composer global installer #3266
- ๐ Bug: Migrations Deprecated #3195
- Managed to reproduce this issue. Was uploading an image with jquery.dm-uploader.min.js, and trying to do some image manipulation, but when I got this error: #3174
- ๐ Make the Model work without auto_increment primary key #3134
- Call to undefined function CodeIgniter\Debug\current_url() #3106
- ๐ Bug: select() & selectSum() not consistent / aligned with docs #3019
- โ Remove /public in URL not working if using localhost #2930
- The problem is in getting the file sharing by Mime #2732
- Migration on PostgreSQL failes for tables with foreign keys #2575
- ๐ Automatic Entity cast for Parser #2317
- ๐ Feature: Cache Driver - Serialize/Unserialize Objects #2111
- Model set $escape problem #1929
- \I18n\Time setTimezone does not work as expected #1807
- ๐ TODO Database utility backup builder #1257
- Port FTP library from CI3 #506
- Port MSSql Database driver from CI3 #503
๐ Merged pull requests:
- ๐จ Finishing touches to generator refactor #4197 (paulbalandan)
- โ Add additional empty checks after field protection for update/insert. #4195 (sfadschm)
- ๐ Minor fixes in Common.php #4192 (kenjis)
- ๐ Fix Parser file path in ViewException message is empty #4191 (kenjis)
- ๐ docs: Fix double "the" #4190 (kenjis)
- ๐ Fix typo in IncomingRequestTest #4189 (kenjis)
- feat: add methods to get page numbers in PagerRenderer #4188 (kenjis)
- ๐ fix: UploadedFile::store() return type inconsistancy #4187 (kenjis)
- โ Add STL mime support #4186 (MGatner)
- โก๏ธ [Rector] Run Rector when composer.json updated #4185 (samsonasik)
- new array helper: array_flatten_with_dots #4184 (paulbalandan)
- ๐ fix: BaseBuilder::getCompiledDelete() runs real query #4181 (kenjis)
- ๐ fix the missing / hidden userguide #4175 (totoprayogo1916)
- โก๏ธ Revert "Update phpstan/phpstan requirement from 0.12.69 to 0.12.70" #4173 (samsonasik)
- โ Add missing escaping in error_exception.php #4171 (kenjis)
- โก๏ธ Update phpstan/phpstan requirement from 0.12.69 to 0.12.70 #4170 (dependabot[bot])
- โ add phpunit.xml.dist to .gitattributes for admin/framework #4163 (samsonasik)
- ๐ Fix strict checking for SQLite3 memory filename #4161 (paulbalandan)
- Discuss dbcreate in userguide #4160 (paulbalandan)
- ๐ Fix misplaced closing tbody #4159 (paulbalandan)
- ๐ [Develop] Fixes #4114 Cannot declare class Config\App error on running PHPUnit #4157 (samsonasik)
- Specifically exclude migrations from class mapping #4156 (paulbalandan)
- config: add logger.threshold in env as comment #4153 (kenjis)
- โก๏ธ Update phpstan/phpstan requirement from 0.12.68 to 0.12.69 #4152 (dependabot[bot])
- โก๏ธ convert indentation from tabs to spaces & update code-block [changelogs, database] #4150 (totoprayogo1916)
- ๐ Fix for retrieving migration history #4147 (michalsn)
- ๐ Fix phpstan notice #4146 (samsonasik)
- โก๏ธ Update docs for Entity #4145 (michalsn)
- โก๏ธ update faker #4139 (totoprayogo1916)
- ๐ docs: add table of contents in 2 libs #4138 (kenjis)
- ๐ PHPStan Fixes #4136 (MGatner)
- prep_url() with https:// #4135 (totoprayogo1916)
- โก๏ธ Update phpstan/phpstan requirement from 0.12.65 to 0.12.68 #4134 (dependabot[bot])
- set uppercase #4132 (totoprayogo1916)
- โ remove useless "raw html" #4131 (totoprayogo1916)
- ๐ Fix errors/html/error_exception.php #4128 (kenjis)
- set note-block for some notes #4127 (totoprayogo1916)
- ๐ Fix
@var
in SessionTestCase. #4124 (kenjis) - ๐ Fix Session phpdoc #4123 (kenjis)
- ๐จ Refactor Generators #4121 (mostafakhudair)
- ๐ Fix few typos. #4119 (npwsamarasinghe)
- ๐ป Precise exception trace #4118 (paulbalandan)
- Wrap extract calls in IIFEs in View #4113 (paulbalandan)
- ๐ Fix Request::withMethod() #4112 (paulbalandan)
- Cache remember #4107 (agungsugiarto)
- ๐ docs: change sample code of redirect() to be more common #4106 (kenjis)
- โ Add Cache File mode #4103 (MGatner)
- Clarify Renderer discrepancy #4102 (MGatner)
- Catch DateTime failure #4097 (MGatner)
- ๐ Fix URL type. #4095 (npwsamarasinghe)
- ๐ Fixed a bug where a newline was treated as a valid value even if it was included at the end. #4094 (ytetsuro)
- โก๏ธ BaseModel/Model - Removed $escape from doUpdate #4090 (najdanovicivan)
- BaseConnection - Added automatic handling of query class for 3rd party drivers #4089 (najdanovicivan)
- ๐ Fix loss of escape value and data in the model #4088 (michalsn)
- ๐ Use getMimeType instead of getClientMimeType. #4085 (sfadschm)
- ๐ fix codeblock in installing_composer.rst #4083 (totoprayogo1916)
- ๐ Fixing a bug in Message::isJSON #4081 (caswell-wc)
- Get JSON Variable #4080 (caswell-wc)
- ๐ Fix userguide indent #4078 (totoprayogo1916)
- DebugToolbar - Handle Query display in Query class #4077 (najdanovicivan)
- โก๏ธ Update userguide indentation #4075 (totoprayogo1916)
- ๐ docs: fix models indentation #4073 (kenjis)
- BaseModel/Model - Attempt to rework escape parameter #4072 (najdanovicivan)
- ๐ Model/BaseModel - Fix primary key and add @throws for builder method #4071 (najdanovicivan)
- ๐ Fix DOMParser rules to search also outside the body tag #4070 (michalsn)
- Warn users on system messages being for internal use #4068 (paulbalandan)
- โ Remove discussion on LoggerAwareTrait #4067 (paulbalandan)
- PHPStan Ignore File #4065 (MGatner)
- โ site_url tests #4063 (MGatner)
- ๐ Use full table name with schema for SQLSRV #4058 (michalsn)
- ๐ fix userguide config path #4057 (totoprayogo1916)
- Solidate mime type guessing. #4056 (sfadschm)
- โ Add mime type for rar files #4054 (michalsn)
- ๐ Fix for deleting session flash data in php8 #4053 (michalsn)
- โ Added omitted function parameter description. #4052 (francis94c)
- ๐ New Year 2021 #4051 (totoprayogo1916)
- ๐ Fix countAll() docs #4050 (kenjis)
- โ adds BaseResult::getNumRows(). adds getNumRows to various DBMS Result classes #4049 (sneakyimp)
- [UG] a comma after use: i.e., and e.g., #4042 (totoprayogo1916)
- ๐ Fix database test case test #4041 (kenjis)
- โ Add initDriver Method #4040 (mostafakhudair)
- ๐ docs: fix general indentation #4039 (kenjis)
- ๐ fix codeblock #4037 (totoprayogo1916)
- โ Remove 'tests' #4034 (totoprayogo1916)
- Alias Forge with use operator #4032 (mostafakhudair)
- ๐ New line for License copyright #4029 (totoprayogo1916)
- ๐ Rename Sqlsrv driver #4023 (mostafakhudair)
- PHP 8 Actions #4012 (MGatner)
- ๐ feat: make migration/seed settings flexible on database testing #3993 (kenjis)
- ๐ Deprecate redundant HTTP keys #3973 (paulbalandan)
- Replace Core Services #3943 (MGatner)
- Handling requests sent back from filters #3900 (caswell-wc)
- โ DX: Split Model testing into several subunits #3891 (paulbalandan)
- ๐
-
v4.0.4 Changes
July 15, 2020Implemented enhancements:
- ๐ Bug: incorrect type - system/Database/MYSQLi/Connection.php #2996
- ๐ Bug: CI_DEBUG incorrect type and fails strict validation #2975
๐ Fixed bugs:
- ๐ Bug: Fix protocol version for DownloadResponse #3320
- ๐ Bug: Add Honeypot::$container to env file #3318
- ๐ Bug: Add multibyte support on DOMParser::see() #3324
- ๐ Bug: Image width debug-bar has conflict #3323
- ๐ Bug: Setting Encryption Service Key in app/Config/Encyption.php #3297
- ๐ Bug: CodeIgniter\I18n -> Class 'Locale' not found #3294
- ๐ bug cURL - Parse header and Body #3261
- ๐ Bug: Forced HTTPS wrong redirect #3260
- ๐ Bug: #3255
- โ Testing ajax header problems #3246
- ๐ Bug: Url's not working #3245
- ๐ Missing code formatting for migration block in documentation #3243
- Hint message in tutorial does not correspond to the example code shown #3242
- How to call resource route #3239
- Can't successfully validate CLI::prompt when field param has periods #3233
- Bug: set_checkbox, set_radio not working default true. #3228
- ๐ Bug: Validation wrong behaviour - Session mixed with internal validator state #3210
- ๐ Bug: CLI: Smell on reading parameters #3205
- ๐ Bug: MySQL Errors are not reported #3204
- ๐ Bug: Error exception layout when its an error inside a view where code can go outside the limits #3199
- ๐ Bug: MessageFormatter argType of "String" isn't valid #3191
- ๐ Bug: pagination not working with segment #3188
- ๐ Bug: is_image validation is vulnerable #3184
- ๐ Bug: model->save() insert/update data #3177
- ๐ Bug: The CLI::color cannot create multicolored strings if ordering of strings is reversed #3173
- Bug: Missing function locale_set_default(...) #3171
- Router RegEx not working. #3169
- ๐ Bug: BaseBuilder::insertBatch() has 3 params and not 4 #3158
- ๐ Bug: Issue using image library when original image and resized are the same size #3146
- ๐ Bug: cannot call constructor on controller. #3145
- ๐ Bug: CodeIgniter 4.0.3 Controller will not display pdf files in browser #3144
- Bug: $request->getVar('test', FILTER_VALIDATE_INT) does not work if the input is an array #3128
- ๐ Bug: A wrong escape on BaseBuilder::set() #3127
- ๐ Bug: Can't override Translations Package Files / Keys #3125
- ๐ Bug: Validation rules max_size #3122
- ๐ Bug: Pagination not working with soft deleted items #3121
- ๐ Bug: SQLite3 database file created in /public folder #3113
- ๐ Bug: RedisHandler does not working on sessionExpiration is zero #3111
- ๐ Bug: Implicit controller methods failing #3105
- ๐ Bug: Custom Validation Error Messages #3097
- ๐ Bug: API\ResponseTrait::respondNoContent return content-type header #3087
- ๐ Bug: Running Feature Tests on multiple endpoints using filters #3085
- ๐ Bug: FeatureResponse::isOk and redirects #3072
- ๐ Documentation: "First Application" form validating before submitting #3071
- ๐ Bug: Fatal error: Cannot declare class CodeIgniter\Exceptions\PageNotFoundException #3067
- ๐ Bug: Risky feature tests with Controller returns #3063
- ๐ Bug: Documentation news app project #3054
- ๐ Bug: ClassMethod #3050
- ๐ Bug: CodeIgniter\Router\RouteCollection->fillRouteParams() ErrorException on 'from' parameter containing regex pattern with '|' symbol #3048
- ๐ Bug: Database connection #3043
- ๐ Bug: Route redirection not working #3041
- ๐ Bug: Model::getValidationRules() cant handle ::$validationRules if its a string #3039
- ๐ Bug: Body data from curlrequest become unreadable when endpoint return long data #3034
- ๐ Bug: File Validation not validate correctly. #3032
- ๐ Bug: Fatal error when no user-agent is available #3029
- ๐ Bug: Not possible manipulate results of renderSection() on View Layouts #3028
- ๐ Bug: Helpers at non-default locations are not found #3026
- ๐ Bug: Most validation rules enforce requirement of the field #3025
- ๐ Bug: #3021
- ๐ Bug: getPostGet($index) return $_POST if there is no $index in post and get #3020
- ๐ Bug: Multiple File Uploads validation rule "uploaded[inputName]" does not work when the input name is an Array #3018
- ๐ Bug: delete_files() and hidden directories #3015
- ๐ Bug: Model::Insert() does not throw exception when object without data is passed as parameter #2998
- ๐ Bug: Force download #2995
- ๐ Bug: The example of "The Test Classโ is not working in Documets #2993
- ๐ Bug: Difference in behaviour of native DateTime::setTimezone() and CI's Time:setTimezone() #2989
- ๐ Bug: Blank Page on Production Server #2980
- ๐ Bug: Mistake in uri_string() documentation #2972
- ๐ Bug: route_to() does not return relative part of the path #2971
- ๐ Bug: Encrypter->decrypt issue? #2970
- ๐ Bug: form_upload second parameter VALUE is not used in source code #2967
- ๐ Bug: There's no way to change default spark serve port using code #2966
- ๐ Bug: 'method' is an empty string in PATH_INFO causes Unhandled Exception #2965
- ๐ Bug: URI class - working with segments is really strange #2962
- ๐ Bug: Documentation Issue #2960
- โก๏ธ Query Builder set update not working correctly #2959
- Bug: Validation permit_empty does no work together with required_with and required_without #2953
- ๐ Bug: Validation tries to validate inputs even for empty values with no
required
parameter #2951 - ๐ Bug: Request URI segment is our of range CI 4.0.3 #2949
- ๐ Bug: start migration in manual mode #2942
- valid_url rule from validation not working correctly same as valid_url|required #2941
- redirect route when route is more complex #2937
- set_value does not work with NULL as second parameter #2935
- ๐ Bug: init of $data arrays in controllers #2933
- ๐ Bug: Translation key separated by dot #2932
- ๐ Bug: Model Instantiation #2924
- Model #2923
- ๐ Bug: CURLRequest baseURI option in user guide #2922
- ๐ Bug: Not bug, but Fix Documentation, please #2920
- ๐ Bug: Postgresql API call delete use ->connID->affected_rows after Model::delete() got error #2918
- Multiple table query Model first #2885
- ๐ Bug: pager "prev" and "next" links pointing to wrong URIs #2881
- ๐ Bug: Automatic no CLI colors for Windows terminals #2849
- ๐ Bug: $format in ResourceController is ignored #2828
- ๐ Bug: "Type is not supported" in Postgresql POST restful #2812
- ๐ Bug: Cookie Helper and Response class issue #2783
- ๐ Bug: Models, useSoftDeletes not found in findAll #2658
- ๐ Feature: About the SameSite COOKIE RFC changes for PHP > 7.3 #2374
Closed issues:
- Language folders inside locale folders #3300
- Encryption Class - Decrypting: authentication failed #3258
- form_upload second parameter VALUE was not used in source code, i found a way to do it. #3256
- erorr line in resize image using fit in visual studio code #3249
- โ Testing withSession() generates an error. #3190
- Why is getGetPost() returning all data instead of null when index not found? #3187
- Request setGlobal not works #3186
- Cannot extend core HTTPException class #3178
- โ Add this relationship in model. #3170
- Execute bootstrapEnvironment() & detectEnvironment() before Services::exceptions() #3138
- Bag pars array to xml #3092
- utf-8 slug character doesn't work in url #3089
- Grammar in comment #3064
- line 374 in system/Entity.php json_encode add JSON_UNESCAPED_UNICODE #3059
- ๐ Link to User Guide on README.md #3053
- How to set private properties in CodeIgniter\Database\BaseResult::getCustomResultObject() #3051
- url_title not detecting some special characteres #3038
- Error: No input file specified. #3030
- Can findAll function in modeling data accept 3rd parameter reset #3024
- Class 'App\Models\UserModel' not found #3014
- Image reorient with exif #3006
- set cookieHTTPOnly not work #2999
- [Feature request] Slugs Link #2988
- [Feature request] End processing app #2982
- Pager should have getTotalResults method function #2954
- URL rewrite problem #2925
- ๐ Translation file not get correct locale in 4.0.3 #2921
- Why this route does not work ? #2919
- Cache redis or memcached #2909
- Cookie helper not woking #2848
- ๐ Bug: Routing group filter not working on nested or complex routes #2390
๐ Merged pull requests:
- โก๏ธ Changelog update #3322 (michalsn)
- โก๏ธ Changelog for 4.0.4 update #3321 (michalsn)
- ๐ Fix protocol version for DownloadResponse #3320 (michalsn)
- โ Add Honeypot::$container to env file #3318 (paulbalandan)
- Pass filter arguments to after() and before() methods #3316 (tangix)
- count on \Config\Services #3308 (mostafakhudair)
- โ Add hex2bin prefix handling for encryption key #3307 (michalsn)
- โ add break; in foreach at Time::getDst() when daylightSaving set #3305 (samsonasik)
- ๐ New command: cache:clear #3304 (lonnieezell)
- ๐ฎ force_https didnโt force https #3302 (colethorsen)
- โ add test for CommandRunner::_remap() with empty first params #3301 (samsonasik)
- FieldData -> add typeName field and length field #3299 (devorama)
- โฌ๏ธ reduce repetitive getDefaultNamespace() and controllerName() function call in Router #3298 (samsonasik)
- ๐ Fix PHPDocs for Filters #3296 (paulbalandan)
- ๐ Fix PHPDocs for HTTP #3295 (paulbalandan)
- โก๏ธ Update phpdoc.dist.xml #3293 (paulbalandan)
- ๐ Fix for force_https() function #3292 (michalsn)
- ๐ Fix PHPDocs for I18n #3291 (paulbalandan)
- ๐ Fix PHPDocs for Router #3290 (paulbalandan)
- ๐ Fix PHPDocs for CLI #3289 (paulbalandan)
- add JSON_NUMERIC_CHECK to json encode options #3288 (devorama)
- typo fix s/Memcached/Redis in RedisHandler cache #3285 (samsonasik)
- โก๏ธ optimize Session : use foreach instead of for with count when possible #3284 (samsonasik)
- using strpos instead of substr when possible #3283 (samsonasik)
- โก๏ธ optimize Database BaseBuilder : use foreach instead of for with count when possible #3282 (samsonasik)
- โก๏ธ optimize RouteCollection : use foreach instead of for with count when possible #3281 (samsonasik)
- โก๏ธ optimize FileLocator autoloader : use foreach instead of for with count when possible #3280 (samsonasik)
- ๐ Fix "100 Continue" header handling in CURLRequest class #3274 (michalsn)
- cs fix in Session class #3272 (samsonasik)
- ๐ Throttler code style update #3271 (michalsn)
- ๐ cs : remove unused import use statements and sort use statements #3270 (samsonasik)
- โ Add more URI class tests to fully illustrate current behavior #3269 (michalsn)
- ๐ Fix Image::save() when target value is null #3268 (michalsn)
- ๐ Use named variable in honeypot container #3267 (michalsn)
- Check server headers via Request class #3265 (michalsn)
- โ PHPUnit-annotate untestable code in CLI #3264 (paulbalandan)
- โก๏ธ Update phpdocs of Cache library #3263 (paulbalandan)
- โก๏ธ Update htaccess #3262 (paulbalandan)
- ๐ Fixes #3125 : add ability to override existing translation en in system language from App #3254 (samsonasik)
- โ Add Fabricator model error #3253 (MGatner)
- Implement model callback overrides #3252 (MGatner)
- ๐ Fix PHPDocBlock of Images library #3250 (paulbalandan)
- โก๏ธ Update html_helper.rst #3248 (avegacms)
- โก๏ธ Update html_helper.php #3247 (avegacms)
- Syntax fix for migration.rst #3244 (paulbalandan)
- โ Run apidocs action only when system files are changed #3241 (paulbalandan)
- ๐ Fix formatting issue in userguide/outgoing/view_parser #3240 (Connum)
- โ Add ability to call commands programatically. #3238 (lonnieezell)
- โ Reset Filters between feature tests #3237 (MGatner)
- ๐ Fix CLI::validate() usage when using dot sign #3236 (michalsn)
- โ Remove cilexer from gitignore #3235 (paulbalandan)
- ๐ Feature seed command #3234 (abilioposada)
- โ more test Files\File class #3232 (samsonasik)
- โ more tests on Autoloader\FileLocator #3231 (samsonasik)
- Fix set_checkbox() and set_radio() when default is set to true #3229 (michalsn)
- ๐ Use Throwable in catch block of filesystem helper #3227 (paulbalandan)
- ๐ Check color support for STDERR for CLI::error #3226 (paulbalandan)
- ๐ Fix 'exit code 23' in apidocs action #3225 (paulbalandan)
- ๐ Fix result object handling in Model class #3224 (michalsn)
- ๐ Fix update query to return false on error #3223 (michalsn)
- ๐ Fix insert Entity object on postgres #3222 (MashinaMashina)
- โ DatabaseTestCase migrations #3221 (MGatner)
- ๐ Allow ignoring *.db inside folders #3220 (paulbalandan)
- SQLite3 escapeChar fix #3219 (michalsn)
- โ Remove underscore in UG build path #3218 (paulbalandan)
- โ add test for Filters with empty except #3215 (samsonasik)
- โ remove unnecessary foreach in RouteCollection::checkSubdomains() #3214 (samsonasik)
- โ Add Fabricator counts #3213 (MGatner)
- Cast currentPage value to integer in Pager class #3209 (michalsn)
- ๐ Allow dashes in the CLI segment #3208 (michalsn)
- ๐ Fix for getting database error #3207 (michalsn)
- ๐ Fixed #3199 #3203 (mpmont)
- ๐ Fix extra slash in URI #3202 (MGatner)
- โก๏ธ Update for FabricatorLiveTest #3201 (michalsn)
- โ Add closing parenthesis #3200 (abilioposada)
- Hide in bootstrap4 #3197 (Sosko)
- The permissions of the new file should be modified, not the old file #3196 (wangyupeng)
- ๐ Fix default value for page in Model::paginate() #3194 (michalsn)
- โ Test Case Mocking #3193 (MGatner)
- ๐ ArgType 'String' is not valid in MessageFormatter class (fixes #3191) #3192 (HughieW)
- ๐ Bugfix: Multipart Content-Length #3189 (MGatner)
- โ Add apidocs action #3183 (paulbalandan)
- ๐ Improve CLI clear screen #3182 (paulbalandan)
- ๐จ Refactor color detection in CLI #3181 (paulbalandan)
- ๐ Use explicit 'PHP_EOL' in wordwrap #3179 (paulbalandan)
- โ Add webp support to Image class #3176 (michalsn)
- ๐ Fix for multicolored strings in CLI #3175 (michalsn)
- โ Add Unicode support for regular expressions in router #3172 (michalsn)
- โ Add the upload artifact action #3167 (paulbalandan)
- ๐ More robust color support detection in CLI #3165 (paulbalandan)
- ๐ Fix testMode() for batch methods in Model #3163 (michalsn)
- โก๏ธ Update delete_files() helper function #3162 (michalsn)
- Refresh Composer files #3153 (MGatner)
- 0๏ธโฃ use writable directory for sqlite default location #3151 (samsonasik)
- โ Add webp support to Image Manipulation Class #3084 (nicojmb)
- ๐ Bug fix in Throttler class check validation #2873 (jlamim)
-
v4.0.3 Changes
May 01, 2020๐ Fixed bugs:
- ๐ Bug: is_unique validation rule with model->save() fails #2906
- ๐ Bug: Debugging toolbar not showing #2893
- ๐ Bug: database query bug #2890
- ๐ Bug: Routes - missing (:id) #2889
- ๐ Bug: Typo example "Using Named Routes" #2888
- ๐ Bug: I am able to make POST request to a GET route #2880
- ๐ Bug: Argument 1 passed to CodeIgniter\Database\BaseResult::getFirstRow() must be of the type string, null given, called in /system/Model.php on line 383 #2877
- ๐ Bug: Can't override already defined language in pager #2875
- Installation Problem: Composer installation halts while installing kint-php/kint #2863
- ๐ Bug:
composer require codeigniter4/translations
without stable version #2862 - ๐ Bug: Method Spoofing Validation #2855
- ๐ Bug: You made it just as impossible to get going as Laravel โ BUMMER! #2850
- ๐ Bug: localised validation messages #2845
- ๐ Bug: Commands discovery in custom namespaces #2840
- ๐ Bug: When the $index parameter of getGetPost or getPostGet is null, you will get an error result #2839
- ๐ Bug: delete_cookie() doesn't work #2836
- ๐ Bug: Model save method not working if PRIMARY KEY is VARCHAR #2835
- ๐ Bug: Alias Filter with Multiple Filter Class Doesn't Work #2831
- ๐ Bug: Kint Config isnt loaded #2830
- ๐ Bug: RouteCollection::resource() doesn't work with grouped rules #2829
- ๐ Bug: $forge Property in Seeder Class Never Initialize #2825
- ๐ Bug: getSegments() returns an array with 2 empty strings when accessing / #2822
- ๐ Bug: Cell Caching in View Cells and SOLVE! #2821
- ๐ Bug: saveData option doesn't work in Views #2818
- ๐ Bug: Validation placeholder not being replaced #2817
- ๐ Bug: Problems with QueryBuilder when run multiple queries one by one #2800
- ๐ Bug: Routing placeholder in "controller"part of route doesn't work #2787
- ๐ Bug: session()->push() Strange behavior #2786
- ๐ Bug: php spark serve #2784
- ๐ Bug: Can't paginate query with group by #2776
- ๐ Bug: negotiateLocale bug in Safari with fr-ca locale #2774
- ๐ Bug: Controller in Sub Directory is not working #2764
- ๐ Bug: rename release By "v" #2763
- ๐ Bug: db query '?' bind is not working when use sql with ':=' operator. #2762
- ๐ Bug: Multiple select validation problem #2757
- ๐ Bug: Official Site is not working #2749
- ๐ Bug: Logger context placeholders {file} and {line} are wrong #2743
- ๐ Bug: Decimal validation fails without leading digit #2740
- โก๏ธ Bug: Model insert Created_at and updated_at get when new record added #2737
- ๐ Bug: appendHeader 500 error if header does not exist #2730
- ๐ Bug: codeigniter4 download link 404 resource not found #2727
- ๐ Bug: Logger
path
property ignored #2725 - ๐ Bug: $this->request->getPost() is empty when json is send by postman #2720
- ๐ Bug: open path /0 at uri got error "Class Home does not exist" on development environment #2716
- ๐ Bug: calling countAllResults after find($id) produce wrong result #2705
- ๐ Bug: $routes->cli() accessible via web browser if autoroute is true #2704
- ๐ Bug: Controllers and Views in subdirectories not working #2701
- ๐ Bug: undefined model method should throw exception #2688
- ๐ Bug: The custom error config of validation is not working #2678
- ๐ Bug: Can't test redirect()->route('routename'), while redirect()->to('path') is working with ControllerTester #2676
- ๐ Bug: php spark migrate:create File -n NameSpace doesn't create migration class under NameSpace/Database/Migrations directory with composer autoload #2664
- ๐ Bug: \I18n\Time object displaying +1 year when object date is set to 2021-12-31 #2663
- ๐ Bug: Route options filter didn't working #2654
- ๐ Bug: Error in Seeder #2653
- ๐ Bug: spark no longer lists function when used by without any parameters #2645
- ๐ Bug: Number Helper, Currency Fraction issue #2634
- ๐ Bug: forceHTTPS method ignores baseURL configuration when redirecting #2633
- 0๏ธโฃ While serving Application on CLI using different port debugbar is still using a default 8080 port #2630
- ๐ Bug: spark migrate -all with appstarter #2627
- ๐ Bug: Problem when compiled vendor as PHAR file #2623
- ๐ Bug: debugbar javascript error #2621
- ๐ Bug: ResourceController json response always empty #2617
- ๐ Bug: Chrome logger does not work. #2616
- ๐ Bug: #2608
- ๐ User Guide is not in HTML in the download file #2607
- Unnecessary files in the download installation #2606
- ๐ Bug: Class 'Kint\Renderer\Renderer' not found #2605
- ๐ Bug: Codeigniter4/framework composer.json not updated #2601
- ๐ [Docs] Loading Environment into Configuration documentation described wrong #2554
- ๐ Bug: Sessions dont work on PostgreSQL #2546
- ๐ Bug: router service adds backslash to controllername if route is configured #2520
- ๐ Bug: JSONFormatter->format() cannot handle errordata, only outputs it's own error #2434
- ๐ Bug: HTTP Feature Testing only runs the FIRST test #2393
- ๐ Bug: Spark issue with PHP install location #2367
- spark route issue #2194
Closed issues:
- Modular MVP on CI4 #2900
- About javascript: void (0); #2887
- Entity returns null when used on the model #2838
- php spark migrate -g does not work #2832
- ๐ Bug: Namespacing of app/Config folder vs. app/Controller #2826
- Controller Call to a member function getPost() on null #2823
- โก๏ธ QueryBuilder - Does not support JOIN in UPDATE #2799
- Database model error when limiting delete() #2780
- ๐ฆ codeigniter4/codeigniter4 package not exists in packagist #2753
- datamap Entities not works! #2747
- Error: Call to undefined function CodeIgniter\CLI\mb_strpos() #2746
- ๐ฒ CodeIgniter\Log\Logger::logPath property is never used. #2738
- ๐ Bug: set_radio() in Form Helper does not work when radio button value equals "0" #2728
- Array validation has a problem #2714
- โ delete cookie not working #2700
- โ remove default language local from url #2682
- OpenSSLHandler: Encrypt/Decrypt #2680
- RESTFUL API with CORS problem #2667
- I guess there's no the third parameter #2657
- 0๏ธโฃ set ci4 repo default branch = master #2643
- ๐ BUG: 4.0.2 Kint not found #2639
- ๐ Feature: Migrate:Rollback/Refresh confirmation in production environment #2385
๐ Merged pull requests:
- ๐ 4.0.3 release #2912 (lonnieezell)
- ๐ url_title() used CI3 style in user guide #2911 (jreklund)
- ๐ fix undefined class 'CodeIgniter' #2910 (PingZii)
- ๐ Improved subjects in Controller and Routing chapter #2908 (jreklund)
- ๐ Fix Model::first() only use orderBy() when group by is not empty #2907 (samsonasik)
- ๐ Allow bypassing content negotiation during API responses. #2904 (lonnieezell)
- Ugtweaks #2903 (lonnieezell)
- Carbonads #2902 (lonnieezell)
- โ Added information about the new features of the Pagination library #2901 (jlamim)
- ๐ New features for pagination #2899 (jlamim)
- ๐ Fixed lang() example in user guide #2898 (nmolinos)
- ๐ Make validation placeholders always available #2897 (jreklund)
- ๐ [ci skip] Add
make.bat
for Windows users #2895 (paulbalandan) - โ Added ability to delete row with string primary key via Model::delete($id) #2894 (samsonasik)
- โก๏ธ Update of the pagination template to make the correct use of the locale #2892 (jlamim)
- [ci skip] route placeholders 'id' to 'num' #2891 (Instrye)
- โ [ci skip] fix warnings on compiling user guide #2886 (paulbalandan)
- โ Added more Common functions and improved rendering in userguide #2884 (jreklund)
- ๐ Build Your First Application used url_title incorrectly #2883 (jreklund)
- [User guide] Correcting some details in the part that talks about model and entities #2878 (jlamim)
- Shifted basic URI Routing examples down #2874 (nmolinos)
- ๐ Better locale matching against broad groups. Fixes #2774 #2872 (lonnieezell)
- โ Fixes session active detection on force_https function and add more test CodeIgniter::forceSecureAccess() run force_https() #2871 (samsonasik)
- ๐ clean up use statements: remove unused and sort #2870 (samsonasik)
- โ more test for View::renderString() for null tempData #2869 (samsonasik)
- Localized label in validation rules #2868 (michalsn)
- โก๏ธ [ci skip] update translations version #2867 (Instrye)
- ๐ Initialize $forge property in Seeder Class - fixes #2825 #2864 (jlamim)
- ๐ fix. saveData not work #2861 (Instrye)
- ๐ fix. getGetPost and getPostGet can't work in index empty #2860 (Instrye)
- [ci skip]fix. getHeader return header object #2859 (Instrye)
- ๐ fix. filters alias multiple #2857 (Instrye)
- ๐ง [ci skip] typo fix Initial Configuration & Set Up #2856 (samsonasik)
- Enclose file paths in double quotes to capture spaces #2853 (paulbalandan)
- ๐ Strip directory separators from auto-generated cell cache name. Fixesโฆ #2851 (lonnieezell)
- Normalize dir separator of Exceptions::cleanPath and added more paths to clean #2847 (paulbalandan)
- ๐ Improve readability in the userguide with a fixed size #2846 (jreklund)
- ๐ Fixed Issue #2840 on discovery of classes by FileLocator #2844 (paulbalandan)
- โ add $segment parameter in pager call by Model.php #2843 (paul45)
- ๐ Improve flash of unstyled content in userguide #2842 (jreklund)
- โ Add English message for "string" validation rule #2841 (rmilecki)
- โ more tests for Common functions #2837 (samsonasik)
- Pagination: open page > pageCount get last page #2834 (samsonasik)
- โ add ability for nested language definition #2833 (samsonasik)
- ๐ Documentation fixes #2827 (pjio)
- ๐ fix. URI path is empty #2824 (Instrye)
- ignore coverage on exit and die #2820 (samsonasik)
- โ add respondUpdated() method into API\ResponseTrait #2816 (samsonasik)
- ignore coverage on !CI_DEBUG #2814 (samsonasik)
- ๐ Fix missing InvalidArgumentException in Database\BaseBuilder #2813 (samsonasik)
- Ensure $_SERVER['SCRIPT_NAME'] ends with PHP #2810 (willnode)
- ๐ป make named constructor in Exception classes consistent: use return instead of throw #2809 (samsonasik)
- โก๏ธ Check if dataset is empty before Model update. #2808 (vibbow)
- โ test Controller::validate() with string rules #2807 (samsonasik)
- โ clean up buffer tweak in FeatureTestCaseTest #2805 (samsonasik)
- using realpath() for define $pathsPath in index.php #2804 (samsonasik)
- โ add ext-mbstring to required and update regex that sanitize file name #2803 (samsonasik)
- โ Add resetting QBFrom part #2802 (michalsn)
- โก๏ธ Update Routes.php #2801 (mostafakhudair)
- โ add more test for Entity : 100% tested #2798 (samsonasik)
- [ci skip] Fix download badge total shows #2797 (samsonasik)
- โ test for I18n\Time::toFormattedDateString #2796 (samsonasik)
- โ test Logger::determineFile() for no stack trace #2795 (samsonasik)
- โ test CLI\CLI::strlen(null) #2794 (samsonasik)
- โ test for API\ResponseTrait::format() with format is not json or xml #2793 (samsonasik)
- โ test for View\Cell::render() with class has initController() method #2792 (samsonasik)
- โ test Autoloader::initialize() with composer path not found #2791 (samsonasik)
- โ add ability to replace {locale} to request->getLocale() in form_open('action') #2790 (samsonasik)
- โ test for IncomingRequest::getFileMultiple() #2789 (samsonasik)
- โ add MockEmail class #2788 (samsonasik)
- โ test for CodeIgniter\Config\Services::email() #2785 (samsonasik)
- 0๏ธโฃ make Model::paginate() use default perPage from Config\Pager->perPage if $perPage parameter not passed #2782 (samsonasik)
- #2780 - LIMIT. #2781 (nowackipawel)
- [ci skip] _remap method must have return #2779 (Instrye)
- Rework get_filenames #2778 (MGatner)
- ๐ Fix #2776 add ability to paginate() query with group by #2777 (samsonasik)
- โก๏ธ Update on "Build Your First Application" #2775 (jreklund)
- ๐ Fix ? bind with := bind #2773 (musmanikram)
- ๐ Fixed some styling in "Installation" chapter [ci skip] #2772 (jreklund)
- โ Uncommented tests, mistake in my previous PR :( #2767 (musmanikram)
- ๐ fix. MYSQLI::DBDebug can't woker #2755 (Instrye)
- ๐ fix. delete_cookite can't delete alreday set Cookie #2709 (Instrye)
- ๐ Re-write userguide to support Python 3 and future proofing Sphinx #2671 (jreklund)
- Colored table in CLI #2624 (enix-app)