File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,28 @@ Release Date: Unreleased
12
12
BREAKING
13
13
********
14
14
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
+
15
37
Message Changes
16
38
***************
17
39
@@ -24,6 +46,11 @@ Deprecations
24
46
Bugs Fixed
25
47
**********
26
48
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
+
27
54
See the repo's
28
55
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md >`_
29
56
for a complete list of bugs fixed.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ Breaking Changes
21
21
Breaking Enhancements
22
22
*********************
23
23
24
+ - The method signatures of ``ValidationInterface::check() `` and ``Validation::check() ``
25
+ have been changed. If you implement or extend them, update the signatures.
26
+
24
27
Project Files
25
28
*************
26
29
You can’t perform that action at this time.
0 commit comments