CodeIgniter 4 Development v4.0.4 Release Notes
Release Date: 2020-07-15 // over 3 years ago-
Implemented 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)