From e871e65baaf0c19612bc3fd89b4038c3b3141ba6 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 9 Nov 2023 13:57:04 +0900 Subject: [PATCH] docs: add changelog --- user_guide_src/source/changelogs/v4.5.0.rst | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/user_guide_src/source/changelogs/v4.5.0.rst b/user_guide_src/source/changelogs/v4.5.0.rst index f2440ac5cc92..2eab2484c973 100644 --- a/user_guide_src/source/changelogs/v4.5.0.rst +++ b/user_guide_src/source/changelogs/v4.5.0.rst @@ -229,6 +229,35 @@ Libraries Helpers and Functions ===================== +Controller Filters +================== + +The :ref:`Required Filters ` has been introduced. They are new +special filters that are applied before and after other kinds of filters, and +always applied even if a route does not exist. + +The following existing functionalities have been reimplemented as Required Filters. + +- :ref:`Force Global Secure Requests ` +- :doc:`../general/caching` +- :ref:`performancemetrics` +- :ref:`the-debug-toolbar` + +The Benchmark **Timers** used by Debug Toolbar now collect *Required Before Filters* +and *Required After Filters* data. + +The benchmark points have been changed: + +- Before + + - ``bootstrap``: Creating Request and Response objects, Event ``pre_system``, Instantiating RouteCollection object, Loading Routes files, Instantiating Router object, + - ``routing``: Routing, +- After + + - ``bootstrap``: Creating Request and Response objects, Event ``pre_system``. + - ``required_before_filters``: Instantiating Filters object, Running *Required Before Filters*. + - ``routing``: Instantiating RouteCollection object, Loading Routes files, Instantiating Router object, Routing, + Others ======