Skip to content

Commit a411369

Browse files
committed
docs: add changelog and upgrade guide
1 parent 0318d87 commit a411369

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

user_guide_src/source/changelogs/v4.3.6.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,28 @@ Release Date: Unreleased
1212
BREAKING
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+
1537
Message Changes
1638
***************
1739

@@ -24,6 +46,11 @@ Deprecations
2446
Bugs 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+
2754
See the repo's
2855
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_
2956
for a complete list of bugs fixed.

user_guide_src/source/installation/upgrade_436.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Breaking Changes
2121
Breaking 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+
2427
Project Files
2528
*************
2629

0 commit comments

Comments
 (0)