Skip to content

Releases: relayphp/Relay.Relay

3.0.0

22 Oct 19:54
d147f49
Compare
Choose a tag to compare

New major version due to the PHP version increase, since that's a breaking change. Overall this updates as few things as possible to add support for PSR-7's v2 interfaces.

  • Require PHP 7.2 or greater
  • Add support for PSR-7's v2 interfaces (#59)
  • Update dev dependencies

2.1.2

04 Jun 02:03
924fdf9
Compare
Choose a tag to compare

Lots of nice little dev-related changes:

  • Run PHPUnit v9.5, if possible
  • Add void returns to unit tests (#54 & #57)
  • Start testing against PHP 8.0 (#55)
  • Update Psalm to v4.7
  • Update PHP-CS-Fixer to v3.0
  • Update Doctrine Coding Standard to v9 (#57)
  • Switch from TravisCI to GitHub Actions since travis-ci.org is shutting down (#56)

2.1.1

18 Mar 20:46
Compare
Choose a tag to compare
  • Fix a bug where Traversable queues (non-array iterables) will fail because the reset(), current(), and next() 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

04 Mar 20:33
Compare
Choose a tag to compare
  • 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 version laminas/laminas-diactoros

2.0.0

31 Mar 01:26
Compare
Choose a tag to compare

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

24 Mar 13:17
afbd471
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release
  • Re-introduce RelayBuilder

2.0.0-alpha1

13 Feb 16:53
Compare
Choose a tag to compare
2.0.0-alpha1 Pre-release
Pre-release

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

17 Dec 18:20
Compare
Choose a tag to compare

The RelayBuilder now supports any Traversable object as a queue specification, via iterator_to_array().

First stable release

14 Oct 20:16
Compare
Choose a tag to compare

First stable release.

Puts reusable relays into place, without breaking BC

25 Jun 16:32
Compare
Choose a tag to compare

Making this release specifically users you can lock to it before the upcoming BC-breaking changes currently in the "new-reusable" branch.