Skip to content

Commit 7dd0ffd

Browse files
committed
docs: add changelog
1 parent 7d31b07 commit 7dd0ffd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

user_guide_src/source/changelogs/v4.5.0.rst

+16
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,28 @@ BREAKING
2121
Behavior Changes
2222
================
2323

24+
- **Logger:** The :php:func:`log_message()` function and the logger methods in
25+
``CodeIgniter\Log\Logger`` now do not return ``bool`` values. The return types
26+
have been fixed to ``void`` to follow the PSR-3 interface.
27+
2428
Interface Changes
2529
=================
2630

31+
.. note:: As long as you have not extended the relevant CodeIgniter core classes
32+
or implemented these interfaces, all these changes are backward compatible
33+
and require no intervention.
34+
35+
- **Logger:** The `psr/log <https://packagist.org/packages/psr/log>`_ package has
36+
been upgraded to v2.0.0.
37+
2738
Method Signature Changes
2839
========================
2940

41+
- **Logger:** The method signatures of the methods in ``CodeIgniter\Log\Logger``
42+
that implements the PSR-3 interface have been fixed. The ``bool`` return
43+
types are changed to ``void``. The ``$message`` parameters now have
44+
``string|Stringable`` types.
45+
3046
.. _v450-removed-deprecated-items:
3147

3248
Removed Deprecated Items

0 commit comments

Comments
 (0)