CodeIgniter v4.5.0 Released! |
We have released v4.5.0 with many enhancements!
v4.5.0 is a minor upgrade. It includes enhancements and bug fixes. It requires PHP 8.1 or later. Unfortunately, there are many breaking changes in v4.5.0, However, many users will be unaffected by most of the breaking changes. All of these changes provide more appropriate behavior. But a few breaking changes break your apps, so please upgrade with caution. Read ChangeLog and Upgrading Guide carefully. At least, you must update public/index.php and spark file. Also, many deprecated items have been removed. So if you have deprecated code in your apps, they may be broken. And some of the default Config values in the Config files have changed, but Config files are not updated automatically. It is recommended to update Config values. This release contains over 30 enhancements. A few things I would like to highlight: - CORS filter - The spark optimize command for performance improvement on production environment - New property Model::$updateOnlyChanged to avoid “There is no data to update” error - The spark lang:find command to update translations keys You can see the list of enhancements in https://codeigniter4.github.io/userguide...0.html#id9 ChangeLog: https://codeigniter4.github.io/userguide...4.5.0.html Upgrading Guide: https://codeigniter4.github.io/userguide...e_450.html Note: Unfortunately now the User Guide on the official site is not yet updated due to the deployment trouble.
Thank you.
Just curious. How do you define this as a minor upgrade? In my opinion breaking changes make this a major upgrade. I have been trying to figure out the release philosophy on versions with breaking changes. I am working on several Codeigniter based enterprise sites and do not want to get caught up in a Codeigniter upgrade cycle always fixing breaking changes in my code. Thanks again for maintaining this great framework.
Thank you CodeIgniter 4 Development Team for your hard work.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Thanks for the new release.
I think I found a bug: Code: CRITICAL - 2024-04-07 23:31:59 --> TypeError: str_contains(): Argument #1 ($haystack) must be of type string, null given I changed line 436 in SYSTEMPATH\Debug\Toolbar.php to PHP Code: if (str_contains((string)$response->getBody(), '<head>')) {
Thank You.
After upgrading using composer update and merging spark and public/index.php files I got an error like the following: URL: http://localhost:8080/oauth/call-back?st...pt=consent Response: Call to a member function getErrors() on null VENDORPATH/codeigniter4/shield/src/Models/CheckQueryReturnTrait.php at line 44 Code: protected function checkValidationError(): void Maybe there's still something missing that needs to be updated?
@abatrans Thanks. I sent a PR to fix: https://github.com/codeigniter4/CodeIgniter4/pull/8727
@warcooft I don't know why the error occurs.
It shows $this->validation is null. If you believe it is a bug, report to Shield repository. https://github.com/codeigniter4/shield/issues (04-07-2024, 04:24 PM)kenjis Wrote: @warcooft I don't know why the error occurs.Thanks for quick response, After fixing the error, I found a new error like the following: TypeError pg_escape_literal(): Argument #2 ($string) must be of type string, CodeIgniter\I18n\Time given SYSTEMPATH/Database/Postgre/Connection.php at line 242 Code: 235 |
Welcome Guest, Not a member yet? Register Sign In |