All Versions
28
Latest Version
Avg Release Cycle
67 days
Latest Release
1940 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v1.2.0 Changes
March 17, 2016๐ This release contains two potential backwards compatibility breaks:
In versions prior to 1.2.0, after
Zend\Stratigility\Http\Response::end()
was called,with*()
operations were performed as no-ops, which led to hard-to-detect errors. Starting with 1.2.0, they now raise aRuntimeException
.In versions prior to 1.2.0,
Zend\Stratigility\FinalHandler
always provided exception details in the response payload for errors. Starting with 1.2.0, it only does so if not in a production environment (which is the default environment).
โ Added
- #36 adds a new
InvalidMiddlewareException
, with the static factoryfromValue()
that provides an exception message detailing the invalid type.MiddlewarePipe
now throws this exception from thepipe()
method when a non-callable value is provided. - #46 adds
FinalHandler::setOriginalResponse()
, allowing you to alter the response used for comparisons when theFinalHandler
is invoked. - #37 and
#49 add
support in
Zend\Stratigility\Dispatch
to catch PHP 7Throwable
s.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
-
v1.1.3 Changes
March 17, 2016โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- โก๏ธ #39 updates the FinalHandler to ensure that emitted exception messages include previous exceptions.
-
v1.1.2 Changes
October 09, 2015โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- โก๏ธ #32 updates the
request and response typehints in
Zend\Stratigility\Dispatch
to use the corresponding PSR-7 interfaces, instead of the Stratigility-specific decorators. This fixes issues when calling$next()
with non-Stratigility instances of either.
-
v1.1.1 Changes
August 25, 2015โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- #25 modifies the
constructor of
Next
to clone the incomingSplQueue
instance, ensuring the original can be re-used for subsequent invocations (e.g., within an async listener environment such as React).
-
v1.1.0 Changes
June 25, 2015โ Added
- #13 adds
Utils::getStatusCode($error, ResponseInterface $response)
; this static method will attempt to use an exception code as an HTTP status code, if it falls in a valid HTTP error status range. If the error is not an exception, it ensures that the status code is an error status.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- โก๏ธ #12 updates
FinalHandler
such that it will return the response provided at invocation if it differs from the response at initialization (i.e., a new response instance, or if the body size has changed). This allows you to safely call$next()
from all middleware in order to allow post-processing.
- #13 adds
-
v1.0.2 Changes
June 24, 2015 -
v1.0.1 Changes
June 16, 2015โ Added
- #8 adds a
phpcs.xml
PHPCS configuration file, allowing execution of each ofphpcs
andphpcbf
without arguments.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- #7 ensures that
arity checks on PHP callables in array format (
[$instance, $method]
,['ClassName', 'method']
) work, as well as on static methods using the string syntax ('ClassName::method'
). This allows them to be used without issue as middleware handlers.
- #8 adds a
-
v1.0.0 Changes
May 14, 2015๐ First stable release, and first relase as
zend-stratigility
.โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- Nothing.