CodeIgniter v4.5.5 bug fix released |
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.
Thank you so much. I just upgraded my website apps. It works perfectly. Previously I used 4.5.4.
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.
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. (09-10-2024, 03:43 AM)kenjis Wrote: I believe almost all projects will not break with a patch level upgrading. 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.
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.
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 PHP Code: // Wrong, namespaces use a backslash not forward slash. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
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
|
Welcome Guest, Not a member yet? Register Sign In |