@@ -21,6 +21,53 @@ Highlights
2121Enhancements
2222************
2323
24+ .. _v450-required-filters :
25+
26+ Required Filters
27+ ================
28+
29+ New :ref: `Required Filters <filters-required >` have been introduced. They are
30+ special filters that are applied before and after other kinds of filters, and
31+ always applied even if a route does not exist.
32+
33+ The following existing functionalities have been reimplemented as Required Filters.
34+
35+ - :ref: `Force Global Secure Requests <forcehttps >`
36+ - :doc: `../general/caching `
37+ - :ref: `performancemetrics `
38+ - :ref: `the-debug-toolbar `
39+
40+ The Benchmark **Timers ** used by Debug Toolbar now collect *Required Before Filters *
41+ and *Required After Filters * data.
42+
43+ The benchmark points have been changed:
44+
45+ - Before
46+
47+ - ``bootstrap ``: Creating Request and Response objects, Event ``pre_system ``, Instantiating RouteCollection object, Loading Routes files, Instantiating Router object,
48+ - ``routing ``: Routing,
49+ - After
50+
51+ - ``bootstrap ``: Creating Request and Response objects, Event ``pre_system ``.
52+ - ``required_before_filters ``: Instantiating Filters object, Running *Required Before Filters *.
53+ - ``routing ``: Instantiating RouteCollection object, Loading Routes files, Instantiating Router object, Routing,
54+
55+ Routing
56+ =======
57+
58+ - **AutoRouting Improved: ** The ``$translateUriToCamelCase `` option has been added
59+ that allows using CamelCase controller and method names. See
60+ :ref: `controller-translate-uri-to-camelcase `.
61+ - **Others: **
62+ - Added option ``$multipleSegmentsOneParam ``. When this option is
63+ enabled, a placeholder that matches multiple segments, such as ``(:any) ``, will
64+ be passed directly as it is to one parameter, even if it contains multiple segments.
65+ See :ref: `multiple-uri-segments-as-one-parameter ` for details.
66+ - Now the 404 controller's method that you set in ``$override404 `` also receive
67+ a ``PageNotFoundException `` message as the first parameter.
68+ - Now you can use the ``__invoke() `` method as the default method. See
69+ :ref: `routing-default-method `.
70+
2471Commands
2572========
2673
@@ -137,53 +184,6 @@ Libraries
137184Helpers and Functions
138185=====================
139186
140- .. _v450-required-filters :
141-
142- Required Filters
143- ================
144-
145- New :ref: `Required Filters <filters-required >` have been introduced. They are
146- special filters that are applied before and after other kinds of filters, and
147- always applied even if a route does not exist.
148-
149- The following existing functionalities have been reimplemented as Required Filters.
150-
151- - :ref: `Force Global Secure Requests <forcehttps >`
152- - :doc: `../general/caching `
153- - :ref: `performancemetrics `
154- - :ref: `the-debug-toolbar `
155-
156- The Benchmark **Timers ** used by Debug Toolbar now collect *Required Before Filters *
157- and *Required After Filters * data.
158-
159- The benchmark points have been changed:
160-
161- - Before
162-
163- - ``bootstrap ``: Creating Request and Response objects, Event ``pre_system ``, Instantiating RouteCollection object, Loading Routes files, Instantiating Router object,
164- - ``routing ``: Routing,
165- - After
166-
167- - ``bootstrap ``: Creating Request and Response objects, Event ``pre_system ``.
168- - ``required_before_filters ``: Instantiating Filters object, Running *Required Before Filters *.
169- - ``routing ``: Instantiating RouteCollection object, Loading Routes files, Instantiating Router object, Routing,
170-
171- Routing
172- =======
173-
174- - **AutoRouting Improved: ** The ``$translateUriToCamelCase `` option has been added
175- that allows using CamelCase controller and method names. See
176- :ref: `controller-translate-uri-to-camelcase `.
177- - **Others: **
178- - Added option ``$multipleSegmentsOneParam ``. When this option is
179- enabled, a placeholder that matches multiple segments, such as ``(:any) ``, will
180- be passed directly as it is to one parameter, even if it contains multiple segments.
181- See :ref: `multiple-uri-segments-as-one-parameter ` for details.
182- - Now the 404 controller's method that you set in ``$override404 `` also receive
183- a ``PageNotFoundException `` message as the first parameter.
184- - Now you can use the ``__invoke() `` method as the default method. See
185- :ref: `routing-default-method `.
186-
187187Others
188188======
189189
0 commit comments