From 1654fd083854d42a77e4ad112718ebfef732dc29 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 13 Oct 2023 10:50:43 +0900 Subject: [PATCH] docs: add changelog --- user_guide_src/source/changelogs/v4.5.0.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/user_guide_src/source/changelogs/v4.5.0.rst b/user_guide_src/source/changelogs/v4.5.0.rst index 669fe74a856c..f7728e7cf9e1 100644 --- a/user_guide_src/source/changelogs/v4.5.0.rst +++ b/user_guide_src/source/changelogs/v4.5.0.rst @@ -51,6 +51,14 @@ Interface Changes Method Signature Changes ======================== +FileLocatorInterface +-------------------- + +- **Router:** The first parameter of the ``RouteCollection`` constructor has been changed + from ``FileLocator`` to ``FileLocatorInterface``. +- **View:** The third parameter of the ``View`` constructor has been changed + from ``FileLocator`` to ``FileLocatorInterface``. + Return Type Changes ------------------- @@ -128,6 +136,7 @@ Others Adding the ``App`` namespace in the ``autoload.psr4`` setting in **composer.json** may also improve the performance of your app. See :ref:`autoloader-application-namespace`. - FileLocator Caching implemented. See :ref:`file-locator-caching` for details. + - ``FileLocatorInterface`` has been added. - **CodeIgniter:** Added a pseudo-variable ``{memory_usage}`` to show your memory usage in your view files, which was supported by CodeIgniter 3.