All Versions
30
Latest Version
Avg Release Cycle
47 days
Latest Release
83 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v4.1.9 Changes
February 25, 2022๐ SECURITY
- Remote CLI Command Execution Vulnerability was fixed. See the Security advisory for more information.
- Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability was fixed. See the Security advisory for more information.
-
v4.1.8 Changes
January 24, 2022๐ SECURITY
- XSS Vulnerability in the
API\ResponseTrait
was fixed. See the Security advisory for more information.
- XSS Vulnerability in the
-
v4.1.7 Changes
January 09, 2022๐ฅ Breaking Changes
- fix: replace deprecated FILTER_SANITIZE_STRING by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5555
๐ Fixed Bugs
- ๐ fix: BaseConnection::getConnectDuration() number_format(): Passing null to parameter by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5536
- ๐ Fix: Debug toolbar selectors by @iRedds in https://github.com/codeigniter4/CodeIgniter4/pull/5544
- ๐ Fix: Toolbar. ciDebugBar.showTab() context. by @iRedds in https://github.com/codeigniter4/CodeIgniter4/pull/5554
- ๐จ Refactor Database Collector display by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5553
-
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)