CodeIgniter Forums
CodeIgniter v4.6.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: CodeIgniter v4.6.0 released! (/showthread.php?tid=92343)

Pages: 1 2 3


CodeIgniter v4.6.0 released! - paulbalandan - 01-19-2025

We are pleased to announce the immediate availability of the latest minor version release: v4.6.0!
This release contains potential breaking changes, a lot of enhancements and new features, and bug fixes. This minor version also has full support of PHP 8.4.


RE: CodeIgniter v4.6.0 released! - michalsn - 01-19-2025

Awesome! Thank you Paul, thanks team!


RE: CodeIgniter v4.6.0 released! - andoyoandoyo - 01-19-2025

Thank you.


RE: CodeIgniter v4.6.0 released! - mehmet - 01-19-2025

Why aren't there any new features? For a long time, updates have only included bug fixes and version upgrades, with no announcements of new features.

Your website is not very user-friendly. The user guide lacks realistic examples in many sections and doesn’t provide detailed explanations. I think this is one of the main reasons why other frameworks are preferred. Although CI4 is very simple, the documentation is not entirely clear.


RE: CodeIgniter v4.6.0 released! - paulbalandan - 01-19-2025

Here's the new features: https://codeigniter.com/user_guide/changelogs/v4.6.0.html#enhancements

This is a community project. If you want things to be added, please open a pull request. If the documentations are not realistic or detailed, please open a PR to do so. The other frameworks are popular because (1) they have commercial backing and (2) have a large active community. If you want things to change, take the initiative.


RE: CodeIgniter v4.6.0 released! - InsiteFX - 01-19-2025

Thank you CodeIgniter Development Team.

If you are using Windows with Laragon and you update to PHP 8.4.3, you need to download the
the Visual Studio vs17 Visual C++ Redistributable for it to work or you will get an Apache Error.

Microsoft Visual C++ Redistributable latest supported downloads


RE: CodeIgniter v4.6.0 released! - Frederik - 01-21-2025

Just updated my 4 projects to CI 4.6 using PHP 8.3.16. No issues what so ever.
Thanks for all your efforts.


RE: CodeIgniter v4.6.0 released! - Fido L Dido - 01-21-2025

Thanks guys, much appreciated. Pleased to have been able to roll out PHP8.4 on my server after this latest release.


RE: CodeIgniter v4.6.0 released! - titounnes - 01-22-2025

I'll tried  installing fresh codeigniter 4.6 using php 8.4.3. When I run "php spark serve", I have been getting error messagelike this.
=====
─(21:57:16)──> php spark serve                                      ──(Wed,Jan22)─┘
This "system/bootstrap.php" is no longer used. If you are seeing this error message,
the upgrade is not complete. Please refer to the upgrade guide and complete the upgrade.
See https://codeigniter4.github.io/userguide/installation/upgrade_450.html
PHP Fatal error:  Uncaught Error: Undefined constant "ENVIRONMENT" in /home/tito/siap/backend2/vendor/codeigniter4/framework/system/Common.php:779
Stack trace:
=====
I solved this problem by replaccing spark in root with vendor/codeigniter4/framework/spark

 When I opened the browser the same error message appeared. The solution overwrites  public/index.php with vendor/codeigniter4/framework/public.index.php.


RE: CodeIgniter v4.6.0 released! - michalsn - 01-22-2025

@titounnes were you upgrading or installing codeigniter with
Code:
composer create-project codeigniter4/appstarter


With a fresh install, I cannot reproduce your errors.