File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,28 @@ Release Date: Unreleased
1212BREAKING
1313********
1414
15+ Interface Changes
16+ =================
17+
18+ .. note :: As long as you have not extended the relevant CodeIgniter core classes
19+ or implemented these interfaces, all these changes are backward compatible
20+ and require no intervention.
21+
22+ ValidationInterface::check()
23+ ----------------------------
24+
25+ - The second parameter has changed from ``string $rule `` to ``$rules ``.
26+ - The optional fourth parameter ``$dbGroup = null `` has been added.
27+
28+ Method Signature Changes
29+ ========================
30+
31+ Validation::check()
32+ -------------------
33+
34+ - The second parameter has changed from ``string $rule `` to ``$rules ``.
35+ - The optional fourth parameter ``$dbGroup = null `` has been added.
36+
1537Message Changes
1638***************
1739
@@ -24,6 +46,11 @@ Deprecations
2446Bugs Fixed
2547**********
2648
49+ - **Validation: ** Fixed a bug that ``$DBGroup `` is ignored when checking
50+ the value of a placeholder.
51+ - **Validation: ** Fixed a bug that ``check() `` cannot specify non-default
52+ database group.
53+
2754See the repo's
2855`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md >`_
2956for a complete list of bugs fixed.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ Breaking Changes
2121Breaking Enhancements
2222*********************
2323
24+ - The method signatures of ``ValidationInterface::check() `` and ``Validation::check() ``
25+ have been changed. If you implement or extend them, update the signatures.
26+
2427Project Files
2528*************
2629
You can’t perform that action at this time.
0 commit comments