psr7-sessions / storageless-mezzio-integration

MIT License
8 stars 4 forks source link

Update psr7-sessions/storageless requirement from ^7.1 to ^8.0 #27

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on psr7-sessions/storageless to permit the latest version.

Release notes

Sourced from psr7-sessions/storageless's releases.

8.0.0

Release 8.0.0

This is a major release and breaks backwards compatibility.

Specifically, following changes are relevant:

[BC] REMOVED: Constant PSR7Sessions\Storageless\Http\SessionMiddleware::ISSUED_AT_CLAIM was removed
[BC] REMOVED: Method PSR7Sessions\Storageless\Http\SessionMiddleware::fromAsymmetricKeyDefaults() was removed
[BC] CHANGED: The parameter $signer of PSR7Sessions\Storageless\Http\SessionMiddleware#__construct() changed from Lcobucci\JWT\Signer to a non-contravariant Lcobucci\JWT\Configuration
[BC] CHANGED: The parameter $signatureKey of PSR7Sessions\Storageless\Http\SessionMiddleware#__construct() changed from string to a non-contravariant Dflydev\FigCookies\SetCookie
[BC] CHANGED: The parameter $verificationKey of PSR7Sessions\Storageless\Http\SessionMiddleware#__construct() changed from string to a non-contravariant int
[BC] CHANGED: The parameter $defaultCookie of PSR7Sessions\Storageless\Http\SessionMiddleware#__construct() changed from Dflydev\FigCookies\SetCookie to a non-contravariant Lcobucci\Clock\Clock
[BC] CHANGED: The parameter $tokenParser of PSR7Sessions\Storageless\Http\SessionMiddleware#__construct() changed from Lcobucci\JWT\Parser to a non-contravariant int
[BC] CHANGED: The parameter $symmetricKey of PSR7Sessions\Storageless\Http\SessionMiddleware::fromSymmetricKeyDefaults() changed from string to a non-contravariant Lcobucci\JWT\Signer\Key

8.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

dependencies

BC break,dependencies,enhancement

Changelog

Sourced from psr7-sessions/storageless's changelog.

This is a list of changes/improvements that were introduced in PSR7Session

4.0.0

This release aligns the PSR7Sessions\Storageless\Http\SessionMiddleware to the PSR-15 php-fig/http-server-middleware specification.

This means that the signature of PSR7Sessions\Storageless\Http\SessionMiddleware changed, and therefore you need to look for usages of this class and verify if the new signature is compatible with your API

Specifically, PSR7Sessions\Storageless\Http\SessionMiddleware#__invoke() was removed.

3.0.1

This release fixes an issue that prevented effective lazy-loading of the session object. Specifically, crypto functionality was being started at each request dispatch, while it is not needed every time.

Total issues resolved: 2

3.0.0

Moved namespace from PSR7Session to PSR7Sessions\Storageless. Package renamed from ocramius/psr7-session to psr7-sessions/storageless.

2.0.0

This release contains backwards compatibility breaks with previous releases.

  • PSR7Session\Http\SessionMiddleware has a new mandatory parameter on its constructor: PSR7Session\Time\CurrentTimeProviderInterface.
  • It has been introduced to make the dependency on current time explicit and to be able to avoid false positive in unit testing, as well as allowing to generate sessions with specific validity time-frames.
  • Factory methods PSR7Session::fromSymmetricKeyDefaults and PSR7Session::fromAsymmetricKeyDefaults continue to work and they're no affected.
  • Using PSR7Session\Http\SessionMiddleware constructor, it's needed to upgrade introducing an instance of \PSR7Session\Time\SystemCurrentTime().
  • When using PSR7Session\Http\SessionMiddleware::fromSymmetricKeyDefaults() and PSR7Session\Http\SessionMiddleware::fromAsymmetricKeyDefaults(), the produced session cookie will now have a path=/ by default.

Total issues resolved: 5

... (truncated)

Commits
  • 0129644 Merge pull request #146 from Slamdunk/lcobucci_jwt_4
  • b04165b Update documentation as well
  • ed9d195 Update composer.lock after skipping it through rebase
  • f186d36 roave/backward-compatibility-check: use composer v2
  • 4441eb8 CS Fix
  • 63aea05 Run roave/backward-compatibility-check as separate tool
  • 218f412 Restring infection ignores
  • 259b385 One now() call per method
  • e21c4ed [CI/PHPUnit] Remove unneded dep with matrix incompatibilities
  • de209cb Test against PHP 8.0
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

dependabot-preview[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.