CodeIgniter Forums
CodeIgniter v4.5.5 bug fix 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.5.5 bug fix released (/showthread.php?tid=91621)

Pages: 1 2


CodeIgniter v4.5.5 bug fix released - kenjis - 09-07-2024

We're pleased to announce the release of CodeIgniter v4.5.5.
This version includes four bug fixes including two fixes in Validation class and refactoring improvements:

All v4.5.x users should upgrade.

ChangeLog: https://codeigniter.com/user_guide/changelogs/v4.5.5.html
Upgrading Guide: https://codeigniter.com/user_guide/installation/upgrade_455.html

Note
The composer.json in upgrading guide was a mistake. ThereĀ is no change in composer.json.
The preload.php should be listed. But if you are not using PHP's preloading, you don't need to update it.


RE: CodeIgniter v4.5.5 bug fix released - InsiteFX - 09-07-2024

@kenjis and the CodeIgniter Development Team. Thank you.


RE: CodeIgniter v4.5.5 bug fix released - andoyoandoyo - 09-09-2024

Thank you so much. I just upgraded my website apps. It works perfectly. Previously I used 4.5.4.


RE: CodeIgniter v4.5.5 bug fix released - Bosborne - 09-10-2024

I would have expected a patch level release to not introduce changes to projects, but composer,json was updated.

At what update level can an enterprise project. Update automatically without any expectation of code changes except for bug fixes? I now hsve several internal projects using CodeIgniter so project updates to them all presents quite a task.


RE: CodeIgniter v4.5.5 bug fix released - kenjis - 09-10-2024

I believe almost all projects will not break with a patch level upgrading.

But you should read the changelog
https://codeigniter4.github.io/CodeIgniter4/changelogs/v4.5.5.html
and the Upgrading Guide,
https://codeigniter4.github.io/CodeIgniter4/installation/upgrade_455.html
and upgrade your project.


RE: CodeIgniter v4.5.5 bug fix released - Bosborne - 09-11-2024

(09-10-2024, 03:43 AM)kenjis Wrote: I believe almost all projects will not break with a patch level upgrading.

But you should read the changelog
https://codeigniter4.github.io/CodeIgniter4/changelogs/v4.5.5.html
and the Upgrading Guide,
https://codeigniter4.github.io/CodeIgniter4/installation/upgrade_455.html
and upgrade your project.

Thank you. I was concerned due to the recommended changes in composer.json. It a CI/CD environment, a patch update can happen without dev intervention unless the version in composer.json is restricted to a single version.


RE: CodeIgniter v4.5.5 bug fix released - kenjis - 09-13-2024

The composer.json in upgrading guide was a mistake. ThereĀ is no change in composer.json.
The preload.php should be listed. But if you are not using PHP's preloading, you don't need to update it.


RE: CodeIgniter v4.5.5 bug fix released - kwangu - 10-11-2024

I manage to CI 4.5.5 using composer and it works fine except when I try to make HMVC its when am encountering an error Invalid file. module view its not loading e.g Modules/Shop/Views/shops.php does not load as if the file doesn't exist but its there

..but when I move the fie to main view folder App/Views/index.php it works. below is my code
public function index()
{
return view('Shop/index');
}
The above code does work trying to load view file fin shop module but when I move the file to main view as show above it loads
public function index()
{
return view('index');
}
Am wondering why is controller able to be recognized but view its not


RE: CodeIgniter v4.5.5 bug fix released - InsiteFX - 10-11-2024

PHP Code:
// Wrong, namespaces use a backslash not forward slash.
return view('Shop/index');

// Should be like this
return view('Shop\index'); 



RE: CodeIgniter v4.5.5 bug fix released - kwangu - 10-11-2024

return view('Shop\index'); this is not working and I tried this "return view('App\Modules\Shop\Views\index');" which is working now although I find it not realistic