Welcome Guest, Not a member yet? Register   Sign In
v4.3.0 released
#1

(This post was last modified: 01-10-2023, 05:11 AM by kenjis.)

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/c...hancements

ChangeLog: https://www.codeigniter.com/user_guide/c...4.3.0.html
Upgrading Guide: https://www.codeigniter.com/user_guide/i...e_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/CodeIgni...ssues/7077
Reply
#2

Thank you CodeIgniter Development Team for your hard work to get this release out.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

This is great news. Great effort, congrats on a job well done.
Website: marcomonteiro.net  | Blog: blog.marcomonteiro.net | Twitter: @marcogmonteiro | TILThings: tilthings.com
Reply
#4

A bug related to Email was reported. See Update: in https://forum.codeigniter.com/showthread...#pid405114
Reply
#5

[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]
Reply
#6

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
Reply
#7

(This post was last modified: 01-10-2023, 05:32 PM by kenjis.)

(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.
Reply
#8

(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.
Reply
#9

Great Work team.
Learning Codeigniter 
Reply
#10

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




Theme © iAndrew 2016 - Forum software by © MyBB