CodeIgniter Forums
v4.3.0 released - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: News & Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=2)
+--- Thread: v4.3.0 released (/showthread.php?tid=86096)

Pages: 1 2 3


v4.3.0 released - kenjis - 01-09-2023

Thanks to the team and many contributors, we released v4.3.0 with many enhancements.

Unfortunately, there are some breaking changes, so please upgrade with caution.
Please read ChangeLog and Upgrading Guide carefully.

You must update spark file and a few Config files.

I hope most existing apps will not break unless you use your own classes that extend framework classes.

And some of the default Config values in the Config files have changed, but existing apps will most likely not break unless you change the Config values  by yourself.

This release contains over 50 enhancements. A few things I want to highlight:

- Query Builder supports upsert() and upsertBatch(), deleteBatch(), and now *batch() methods can set data from a query
- Database Forge supports to add indexes in the existing tables and name indexes
- "spark route" command enhancements
- Improvement for CLI command testing
- View Cells enhancements

You can see the list of enhancements in https://www.codeigniter.com/user_guide/changelogs/v4.3.0.html#enhancements

ChangeLog: https://www.codeigniter.com/user_guide/changelogs/v4.3.0.html
Upgrading Guide: https://www.codeigniter.com/user_guide/installation/upgrade_430.html

Update: a bug was reported. When you set Email config via Environment Variables (.env),
some config items are not set if you use the new Email Config file.
See https://github.com/codeigniter4/CodeIgniter4/issues/7077


RE: v4.3.0 released - InsiteFX - 01-09-2023

Thank you CodeIgniter Development Team for your hard work to get this release out.


RE: v4.3.0 released - marcogmonteiro - 01-10-2023

This is great news. Great effort, congrats on a job well done.


RE: v4.3.0 released - kenjis - 01-10-2023

A bug related to Email was reported. See Update: in https://forum.codeigniter.com/showthread.php?tid=86096&pid=405114#pid405114


RE: v4.3.0 released - Frederik - 01-10-2023

[quote pid="405114" dateline="1673330420"]
I don't know of this is the right place to post this - but I have updateed to CI 4.3 - but my app fails, stating that:
$b$builder->resetQuery();

is undefined. I looked in the BaseBuilder.php file and it seems that resetQuery() is replaced with resetQueryAsData() - but I don't see that mentionend in the breaking changes from 4.2.x to 4.3.
Am I missing something?

Regards,
Frederik
[/quote]


RE: v4.3.0 released - Uffe - 01-10-2023

Hi,
Updated with composer from CI 4.2.12 to CI 4.3.0 and gets a fatal error.

Fatal error: Uncaught Error: Call to undefined method Composer\InstalledVersions::getAllRawData() in C:\wamp64\www\dm06\vendor\codeigniter4\framework\system\Autoloader\Autoloader.php on line 376


RE: v4.3.0 released - kenjis - 01-10-2023

(01-10-2023, 09:02 AM)Uffe Wrote: Hi,
Updated with composer from CI 4.2.12 to CI 4.3.0 and gets a fatal error.

Fatal error: Uncaught Error: Call to undefined method Composer\InstalledVersions::getAllRawData() in C:\wamp64\www\dm06\vendor\codeigniter4\framework\system\Autoloader\Autoloader.php on line 376

Please show the result of the following command:
Code:
$ composer --version
And your PHP version?

Remove vendor/ directory, and run composer update.


RE: v4.3.0 released - kenjis - 01-10-2023

(01-10-2023, 07:31 AM)Frederik Wrote: I don't know of this is the right place to post this - but I have updateed to CI 4.3 - but my app fails, stating that:
$b$builder->resetQuery();

is undefined. I looked in the BaseBuilder.php file and it seems that resetQuery() is replaced with resetQueryAsData() - but I don't see that mentionend in the breaking changes from 4.2.x to 4.3.
Am I missing something?

Regards,
Frederik

Thank you for reporting.
It seems a bug.


RE: v4.3.0 released - SubrataJ - 01-10-2023

Great Work team.


RE: v4.3.0 released - kenjis - 01-10-2023

@Frederik Test the fix if you can:
https://github.com/codeigniter4/CodeIgniter4/pull/7083