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

Commit

Permalink
Added CHANGELOG for #71
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Sep 30, 2016
1 parent bce8983 commit 4a5e7e4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,28 @@ details.
`$out` argument of `Zend\Stratigility\MiddlewareInterface()` to `$next`, and
now *requires* the argument. Each of the following `MiddlewareInterface`
implementations were updated accordingly:

- `Zend\Stratigility\MiddlewarePipe`
- `Zend\Stratigility\Middleware\ErrorHandler`
- `Zend\Stratigility\Middleware\NotFoundHandler`

- [#67](https://github.com/zendframework/zend-stratigility/pull/67) modifies
the internals of `Zend\Stratigility\MiddlewarePipe`'s `__invoke()` method.

- When instantiating the `Next` instance, it now captures it in a variable
named `$layer`.
- If the result of `Next` is not a response instance, the response passed
during invocation is promoted as the layer response.
- The response is then passed to the `$next` argument provided at invocation,
and the result of that returned without verification.

In most cases, this should have no impact on your application.

- [#71](https://github.com/zendframework/zend-stratigility/pull/71) modifies
`Zend\Stratigility\MiddlewarePipe` such that it no longer decorates the
request and response provided at invocation with the
`Zend\Stratigility\Http\*` variants, as these have been removed.

### Deprecated

- Nothing.
Expand All @@ -57,6 +66,12 @@ details.
`Zend\Stratigility\Middleware\ErrorHandler` instead.
- [#67](https://github.com/zendframework/zend-stratigility/pull/67) removes
the `$done` argument to the `Zend\Stratigility\Next` constructor.
- [#71](https://github.com/zendframework/zend-stratigility/pull/71) removes
the `Zend\Stratigility\Http\Request` class.
- [#71](https://github.com/zendframework/zend-stratigility/pull/71) removes
the `Zend\Stratigility\Http\Response` class.
- [#71](https://github.com/zendframework/zend-stratigility/pull/71) removes
`Zend\Stratigility\Http\ResponseInterface`.

### Fixed

Expand Down

0 comments on commit 4a5e7e4

Please sign in to comment.