radarphp / Radar.Adr

The Action-Domain-Responder core for Radar.
MIT License
55 stars 7 forks source link

Update relay/relay requirement from ~1.0 to ~1.0 || ~2.0 #43

Open dependabot[bot] opened 4 years ago

dependabot[bot] commented 4 years ago

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(), and next() 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(), 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

  • 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

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
  • 48dadb3 Test with all relevant PHP versions
  • 290e2e6 Prep for 2.1.1 release
  • 023d283 Bring code into line with stylistic parts of Doctrine Coding Standard
  • d5a6cee Ensure all string functions are multibyte-safe where possible
  • 81d777c Fix a bug where Traversable queues (non-array iterables) will fail because re...
  • 5c323f2 Add missing changelog for 2.1.0
  • 5204d4e Remove unnecessary PHPUnit bootstrap
  • c9dcb93 Update Diactoros dev dependency
  • 6ab6060 Add composer script to run all tests and quality controls
  • ec5015d Add 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
cxj commented 4 years ago

Note to self: examine and sort out Travis build failures.