v4.3.1 released |
Hi all! New patch version of the framework is released.
Reported bugs are fixed. Thank you for reporting. Important: if you use Composer, CodeIgniter v4.3 requires Composer 2.0.14 or later. All you need to know is in the Upgrading Guide. ChangeLog: https://www.codeigniter.com/user_guide/c...4.3.1.html Upgrading Guide: https://www.codeigniter.com/user_guide/i...e_431.html
Thanks CI Team
I need file composer.json for update from v4.3.0 to v4.3.1 Thanks Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams
@nc03061981 The composer.json in your project root folder is yours.
You can edit it as you like. If you install CI appstarter, the framework version is set to ^4.0, which means 4.x.x but not 5.0. If you run "composer update", you will get the latest version. Code: "require": { If you want to fix the version, edit like this: Code: "require": {
@oyama-pai I probably don't update in Zenn.
Please see my blog (in Japanese) http://blog.a-way-out.net/blog/tags/codeigniter4/
I don't know if this is the right place to report it, however, after upgrading to version 4.3.1 I noticed that in all my forms this kind of situation doesn't work anymore where I show the error under each input, if I do the submit of the form which should show errors on the required fields for example, the result is that nothing is shown:
PHP Code: if ($validation->hasError('username')) {
@chronic See https://codeigniter.com/user_guide/insta...ion-errors
It is a bug fix. Now Validation service returns errors only after a validation is run. Please update your code. E.g., https://github.com/kenjis/ci4-validation.../form2.php (01-21-2023, 05:34 PM)kenjis Wrote: @chronic See https://codeigniter.com/user_guide/insta...ion-errors Thanks kenjis, but for me doesn't work this: PHP Code: <?= validation_show_error('email') ?> I had to do like this: PHP Code: if (isset($errors['email'])) Also I saw that this is left in the documentation. Is it because it hasn't been fixed yet or because it can be used in other situations? https://codeigniter.com/user_guide/libra...ror-exists However this thing will involve me a lot of work on all the forms of all the sites that I have created, because I always used the error display in this way. |
Welcome Guest, Not a member yet? Register Sign In |