Skip to content

Commit 4473aff

Browse files
committed
docs: Add explanation for skipping Debug Toolbar injection on AJAX-like requests
1 parent 18d0d49 commit 4473aff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

user_guide_src/source/changelogs/v4.7.0.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ Changes
178178
- **Cookie:** The ``CookieInterface::EXPIRES_FORMAT`` has been changed to ``D, d M Y H:i:s T`` to follow the recommended format in RFC 7231.
179179
- **Format:** Added support for configuring ``json_encode()`` maximum depth via ``Config\Format::$jsonEncodeDepth``.
180180
- **Paths:** Added support for changing the location of the ``.env`` file via the ``Paths::$envDirectory`` property.
181+
- **Toolbar:** Added ``$disableOnHeaders`` property to **app/Config/Toolbar.php**.
182+
181183

182184
************
183185
Deprecations
@@ -193,6 +195,7 @@ Bugs Fixed
193195

194196
- **Cookie:** The ``CookieInterface::SAMESITE_STRICT``, ``CookieInterface::SAMESITE_LAX``, and ``CookieInterface::SAMESITE_NONE`` constants are now written in ucfirst style to be consistent with usage in the rest of the framework.
195197
- **Cache:** Changed ``WincacheHandler::increment()`` and ``WincacheHandler::decrement()`` to return ``bool`` instead of ``mixed``.
198+
- **Toolbar:** Fixed **Maximum call stack size exceeded”** crash when AJAX-like requests (HTMX, Turbo, Unpoly, etc.) were made on pages with Debug Toolbar enabled.
196199

197200
See the repo's
198201
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_

0 commit comments

Comments
 (0)