Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter v4.5.5 bug fix released
#1

(This post was last modified: 09-13-2024, 02:07 AM by kenjis.)

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/chang...4.5.5.html
Upgrading Guide: https://codeigniter.com/user_guide/insta...e_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.
Reply
#2

@kenjis and the CodeIgniter Development Team. Thank you.
What did you Try? What did you Get? What did you Expect?

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

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

(This post was last modified: 09-10-2024, 03:25 AM by Bosborne.)

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

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

But you should read the changelog
https://codeigniter4.github.io/CodeIgnit...4.5.5.html
and the Upgrading Guide,
https://codeigniter4.github.io/CodeIgnit...e_455.html
and upgrade your project.
Reply
#6

(This post was last modified: 09-11-2024, 03:25 AM by Bosborne.)

(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/CodeIgnit...4.5.5.html
and the Upgrading Guide,
https://codeigniter4.github.io/CodeIgnit...e_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.
Reply
#7

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

(This post was last modified: 10-11-2024, 09:33 AM by kwangu.)

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

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

// Should be like this
return view('Shop\index'); 
What did you Try? What did you Get? What did you Expect?

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

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
Reply




Theme © iAndrew 2016 - Forum software by © MyBB