Releases: relayphp/Relay.Relay
3.0.0
2.1.2
Lots of nice little dev-related changes:
2.1.1
- Fix a bug where Traversable queues (non-array iterables) will fail because the
reset()
,current()
, andnext()
array functions are incompatible - Improve the overall code quality of the project (through internal changes that do not alter the public API)
2.1.0
- Raise a more obvious error message when Relay is given an empty queue (#43)
- Fix a bug that broke callable middleware (#45)
- Properly declare PSR dependencies and make it clear that Relay provides an implementation of PSR-15's
Psr\Http\Server\RequestHandlerInterface
(#46) - Add support for queue items that implement
Psr\Http\Server\RequestHandlerInterface
(#48) - Replace abandoned
zendframework/zend-diactoros
with same versionlaminas/laminas-diactoros
2.0.0
The 2.x series introduces a major change to the way Relay handles middleware. While the 1.x series featured a "double pass" signature (function (request, response, next)
), the 2.x series is fully-compatible with PSR-15's "single pass" or "lambda" recommendation (function (request, handler) : response
).
Note that middleware designed for Relay 1.x are not compatible with PSR-15 server request handlers ("dispatchers") like Relay 2.x.
2.0.0-rc.1
- Re-introduce RelayBuilder
2.0.0-alpha1
CHANGELOG
This is the changelog for the 2.x series.
2.0.0-alpha1
The 2.x series converts from a function (request, response, next)
("double pass") signature to a function (request, handler) : response
("single pass" or "lambda") signature.
Support Traversable Queues
The RelayBuilder now supports any Traversable object as a queue specification, via iterator_to_array()
.
First stable release
First stable release.
Puts reusable relays into place, without breaking BC
Making this release specifically users you can lock to it before the upcoming BC-breaking changes currently in the "new-reusable" branch.