CodeIgniter 4 Development v4.0.4 Release Notes

Release Date: 2020-07-15 // over 3 years ago
  • Full Changelog

    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: