Skip to content

Commit

Permalink
docs: add changelog and upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 1, 2024
1 parent bb9f4e5 commit a33724c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 10 additions & 2 deletions user_guide_src/source/changelogs/v4.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Interface Changes
the ``ResponseInterface::setCookie()`` has been fixed from ``''`` to ``0``.
- **Logger:** The `psr/log <https://packagist.org/packages/psr/log>`_ package has
been upgraded to v3.0.0.
- **Validation:** The method signature of ``ValidationInterface::run()`` has been
changed. The ``?string`` typehint on the ``$dbGroup`` parameter was removed.

.. _v450-method-signature-changes:

Expand Down Expand Up @@ -129,6 +131,8 @@ Others
that implements the PSR-3 interface have been fixed. The ``bool`` return
types are changed to ``void``. The ``$message`` parameters now have
``string|Stringable`` types.
- **Validation:** The method signature of ``Validation::run()`` has been
changed. The ``?string`` typehint on the ``$dbGroup`` parameter was removed.

.. _v450-removed-deprecated-items:

Expand Down Expand Up @@ -294,8 +298,12 @@ findAll(0) Behavior
Libraries
=========

- **Validation:** Added the new rule ``field_exists`` that checks the filed
exists in the data to be validated.
- **Validation:**
- Added the new rule ``field_exists`` that checks the filed exists in the
data to be validated.
- The ``$dbGroup`` parameter of ``Validation::run()`` now accepts not only
a database group name, but also a database connection instance or an array
of database settings.

Helpers and Functions
=====================
Expand Down
5 changes: 5 additions & 0 deletions user_guide_src/source/installation/upgrade_450.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ using them, upgrade your code. See :ref:`ChangeLog <v450-removed-deprecated-item
Breaking Enhancements
*********************

- The method signatures of ``Validation::run()`` and ``ValidationInterface::run()``
have been changed. The ``?string`` typehint on the ``$dbGroup`` parameter was
removed. Extending classes should likewise remove the parameter so as not to
break LSP.

Project Files
*************

Expand Down

0 comments on commit a33724c

Please sign in to comment.