Skip to content

Commit a5a178c

Browse files
committed
docs: add changelog entries for handleRequest refactor and BC break
1 parent 56d7300 commit a5a178c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

user_guide_src/source/changelogs/v4.7.5.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Release Date: Unreleased
1414
BREAKING
1515
********
1616

17+
- **CodeIgniter:** ``storePreviousURL()`` now checks ``$this->request instanceof IncomingRequest`` instead of using ``method_exists($this->request, 'isAJAX')``. Previously, any request object with an ``isAJAX()`` method was accepted; now only ``IncomingRequest`` instances are checked. If you use a custom request class that implements ``isAJAX()``, ensure it extends ``IncomingRequest``.
18+
1719
***************
1820
Message Changes
1921
***************
@@ -22,6 +24,9 @@ Message Changes
2224
Changes
2325
*******
2426

27+
- **CodeIgniter:** Fixed a bug where ``gatherOutput()`` could be called twice when ``startController()`` returned a ``ResponseInterface`` (e.g., from filter attributes or closure routes).
28+
- **CodeIgniter:** Changed ``is_object($this->controller) && $this->controller::class === 'Closure'`` to ``$this->controller instanceof Closure`` for consistency and type safety.
29+
2530
************
2631
Deprecations
2732
************

0 commit comments

Comments
 (0)