Update relay/relay requirement from ~1.0 to ~1.0 || ~2.0
Updates the requirements on relay/relay to permit the latest version.
Release notes
Sourced from relay/relay's releases.
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)
Changelog
Sourced from relay/relay's changelog.
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-diactoroswith same versionlaminas/laminas-diactoros2.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.
Commits
48dadb3Test with all relevant PHP versions290e2e6Prep for 2.1.1 release023d283Bring code into line with stylistic parts of Doctrine Coding Standardd5a6ceeEnsure all string functions are multibyte-safe where possible81d777cFix a bug where Traversable queues (non-array iterables) will fail because re...5c323f2Add missing changelog for 2.1.05204d4eRemove unnecessary PHPUnit bootstrapc9dcb93Update Diactoros dev dependency6ab6060Add composer script to run all tests and quality controlsec5015dAdd Psalm- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note to self: examine and sort out Travis build failures.