Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit ee5339f

Browse files
committed
Noted deprecations of Expressive 1.X final handler implementations
1 parent f6f7bab commit ee5339f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/book/reference/migration/to-v1-1.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ will be removed for the 2.0 release:
4747
removed in the Stratigility v2 release, which Expressive 2.0 will adopt,
4848
making this specialized middleware pipe type irrelvant.
4949

50+
- `Zend\Expressive\TemplatedErrorHandler` and `Zend\Expressive\WhoopsErrorHandler`:
51+
The concept of "final handlers" will be removed in Expressive 2.0, to be
52+
replaced with "default delegates" (implementations of
53+
`Interop\Http\ServerMiddleware\DelegateInterface` that will be called if the
54+
middleware pipeline is exhausted, and which will be guaranteed to return a
55+
response). Expressive 2.0 will provide tooling to upgrade your dependencies to
56+
make the transition seamless; end users will only be affected if they were
57+
extending these classes.
58+
5059
If you were calling any of these directly, or extending or overriding them, you
5160
will need to update your code to work for version 2.0. We recommend not using
5261
these.

0 commit comments

Comments
 (0)