This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,41 @@ All notable changes to this project will be documented in this file, in reverse
44
55Versions 0.3.0 and prior were released as "weierophinney/problem-details".
66
7+ ## 0.5.2 - 2018-01-10
8+
9+ ### Added
10+
11+ - [ #29 ] ( https://github.com/zendframework/zend-problem-details/pull/29 ) adds
12+ the ability for the ` ProblemDetailsMiddleware ` to trigger listeners when
13+ it catches a ` Throwable ` to produce a response. Listeners are PHP callables
14+ and receive the following arguments, in the following order:
15+
16+ - ` Throwable $error ` : the throwable/exception caught by the
17+ ` ProblemDetailsMiddleware ` .
18+ - ` ServerRequestInterface $request ` : the request handled by the
19+ ` ProblemDetailsMiddleware ` .
20+ - ` ResponseInterface $response ` : the response generated by the
21+ ` ProblemDetailsMiddleware ` .
22+
23+ Attach listeners using the ` ProblemDetailsMiddleware::attachListeners() `
24+ instance method.
25+
26+ ### Changed
27+
28+ - Nothing.
29+
30+ ### Deprecated
31+
32+ - Nothing.
33+
34+ ### Removed
35+
36+ - Nothing.
37+
38+ ### Fixed
39+
40+ - Nothing.
41+
742## 0.5.1 - 2017-12-07
843
944### Added
You can’t perform that action at this time.
0 commit comments