Skip to content

Commit 0e6a8dc

Browse files
authored
Merge pull request #6029 from kenjis/fix-docs-add-changelog
docs: add changelog about Service::reset()
2 parents 3711b49 + e90df73 commit 0e6a8dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

user_guide_src/source/changelogs/v4.2.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ BREAKING
2525
- To prevent unexpected access from the web browser, if a controller is added to a cli route (``$routes->cli()``), all methods of that controller are no longer accessible via auto-routing.
2626
- There is a possible backward compatibility break for those users extending the History Collector and they should probably update ``History::setFiles()`` method.
2727
- The :php:func:`dot_array_search`'s unexpected behavior has been fixed. Now ``dot_array_search('foo.bar.baz', ['foo' => ['bar' => 23]])`` returns ``null``. The previous versions returned ``23``.
28+
- The default parameter values for ``Service::reset()`` and ``CIUnitTestCase::resetServices()`` have been changed from ``false`` to ``true``. This is to eliminate unexpected problems during testing, such as ``lang()`` not getting translated messages.
2829

2930
Enhancements
3031
************

0 commit comments

Comments
 (0)