Skip to content

Commit

Permalink
docs: add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 13, 2023
1 parent 8e548b0 commit 4eafee1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
19 changes: 19 additions & 0 deletions user_guide_src/source/changelogs/v4.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@ Interface Changes
Method Signature Changes
========================

.. _v450-removed-deprecated-items:

Removed Deprecated Items
========================

Filters
-------

- The following deprecated items have been removed, because now :ref:`multiple-filters` are always enabled.

- ``Filters::enableFilter()``
- ``RouteCollection::getFilterForRoute()``
- ``Router::$filterInfo``
- ``Router::getFilter()``

Enhancements
************

Expand Down Expand Up @@ -65,6 +80,10 @@ Message Changes
Changes
*******

- **Config:**
- ``Config\Feature::$multipleFilters`` has been removed, because now
:ref:`multiple-filters` are always enabled.

Deprecations
************

Expand Down
8 changes: 7 additions & 1 deletion user_guide_src/source/incoming/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,18 @@ You specify a filter classname for the filter value:

.. literalinclude:: routing/036.php

.. _multiple-filters:

Multiple Filters
----------------

.. versionadded:: 4.1.5

.. important:: *Multiple filters* is disabled by default. Because it breaks backward compatibility. If you want to use it, you need to configure. See :ref:`upgrade-415-multiple-filters-for-a-route` for the details.
.. important:: Since v4.5.0, *Multiple Filters* are always enabled.
Prior to v4.5.0, *Multiple Filters* were disabled by default.
If you want to use with prior to v4.5.0, See
:ref:`Upgrading from 4.1.4 to 4.1.5 <upgrade-415-multiple-filters-for-a-route>`
for the details.

You specify an array for the filter value:

Expand Down
9 changes: 9 additions & 0 deletions user_guide_src/source/installation/upgrade_450.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Mandatory File Changes
Breaking Changes
****************

Removed Deprecated Items
========================

Some deprecated items has been removed. If you are using them, upgrade your code.
See :ref:`v450-removed-deprecated-items` for details.

Breaking Enhancements
*********************

Expand All @@ -43,6 +49,9 @@ Config
- The default value of ``charset`` in ``$default`` has been change to ``utf8mb4``.
- The default value of ``DBCollat`` in ``$default`` has been change to ``utf8mb4_general_ci``.
- The default value of ``DBCollat`` in ``$tests`` has been change to ``''``.
- app/Config/Feature.php
- ``Config\Feature::$multipleFilters`` has been removed, because now
:ref:`multiple-filters` are always enabled.

All Changes
===========
Expand Down

0 comments on commit 4eafee1

Please sign in to comment.