Skip to content

Commit

Permalink
docs: add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Nov 9, 2023
1 parent 521ad41 commit e871e65
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions user_guide_src/source/changelogs/v4.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,35 @@ Libraries
Helpers and Functions
=====================

Controller Filters
==================

The :ref:`Required Filters <filters-required>` 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 <forcehttps>`
- :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
======

Expand Down

0 comments on commit e871e65

Please sign in to comment.