Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Bump zendframework/zend-diactoros from 1.8.5 to 2.0.0 #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps zendframework/zend-diactoros from 1.8.5 to 2.0.0.

Release notes

Sourced from zendframework/zend-diactoros's releases.

zend-diactoros 2.0.0

Added

  • #326 adds PSR-17 HTTP Message Factory implementations, including:

    • Zend\Diactoros\RequestFactory
    • Zend\Diactoros\ResponseFactory
    • Zend\Diactoros\ServerRequestFactory
    • Zend\Diactoros\StreamFactory
    • Zend\Diactoros\UploadedFileFactory
    • Zend\Diactoros\UriFactory

    These factories may be used to produce the associated instances; we encourage
    users to rely on the PSR-17 factory interfaces to allow exchanging PSR-7
    implementations within their applications.

  • #328 adds a package-level exception interface, Zend\Diactoros\Exception\ExceptionInterface,
    and several implementations for specific exceptions raised within the package.
    These include:

    • Zend\Diactoros\Exception\DeserializationException (extends UnexpectedValueException)
    • Zend\Diactoros\Exception\InvalidArgumentException (extends InvalidArgumentException)
    • Zend\Diactoros\Exception\InvalidStreamPointerPositionException (extends RuntimeException)
    • Zend\Diactoros\Exception\SerializationException (extends UnexpectedValueException)
    • Zend\Diactoros\Exception\UnreadableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UnrecognizedProtocolVersionException (extends UnexpectedValueException)
    • Zend\Diactoros\Exception\UnrewindableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UnseekableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UntellableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UnwritableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UploadedFileAlreadyMovedException (extends RuntimeException)
    • Zend\Diactoros\Exception\UploadedFileErrorException (extends RuntimeException)

Changed

  • #329 adds return type hints and scalar parameter type hints wherever possible.
    The changes were done to help improve code quality, in part by reducing manual
    type checking. If you are extending any classes, you may need to update your
    signatures; check the signatures of the class(es) you are extending for changes.

  • #162 modifies Serializer\Request such that it now no longer raises an UnexpectedValueException via its toString() method
    when an unexpected HTTP method is encountered; this can be done safely, as the value can never
    be invalid due to other changes in the same patch.

  • #162 modifies RequestTrait such that it now invalidates non-string method arguments to either
    the constructor or withMethod(), raising an InvalidArgumentException for any that do not validate.

Deprecated

... (truncated)
Changelog

Sourced from zendframework/zend-diactoros's changelog.

2.0.0 - 2018-09-27

Added

  • #326 adds PSR-17 HTTP Message Factory implementations, including:

    • Zend\Diactoros\RequestFactory
    • Zend\Diactoros\ResponseFactory
    • Zend\Diactoros\ServerRequestFactory
    • Zend\Diactoros\StreamFactory
    • Zend\Diactoros\UploadedFileFactory
    • Zend\Diactoros\UriFactory

    These factories may be used to produce the associated instances; we encourage
    users to rely on the PSR-17 factory interfaces to allow exchanging PSR-7
    implementations within their applications.

  • #328 adds a package-level exception interface, Zend\Diactoros\Exception\ExceptionInterface,
    and several implementations for specific exceptions raised within the package.
    These include:

    • Zend\Diactoros\Exception\DeserializationException (extends UnexpectedValueException)
    • Zend\Diactoros\Exception\InvalidArgumentException (extends InvalidArgumentException)
    • Zend\Diactoros\Exception\InvalidStreamPointerPositionException (extends RuntimeException)
    • Zend\Diactoros\Exception\SerializationException (extends UnexpectedValueException)
    • Zend\Diactoros\Exception\UnreadableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UnrecognizedProtocolVersionException (extends UnexpectedValueException)
    • Zend\Diactoros\Exception\UnrewindableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UnseekableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UntellableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UnwritableStreamException (extends RuntimeException)
    • Zend\Diactoros\Exception\UploadedFileAlreadyMovedException (extends RuntimeException)
    • Zend\Diactoros\Exception\UploadedFileErrorException (extends RuntimeException)

Changed

  • #329 adds return type hints and scalar parameter type hints wherever possible.
    The changes were done to help improve code quality, in part by reducing manual
    type checking. If you are extending any classes, you may need to update your
    signatures; check the signatures of the class(es) you are extending for changes.

  • #162 modifies Serializer\Request such that it now no longer raises an UnexpectedValueException via its toString() method
    when an unexpected HTTP method is encountered; this can be done safely, as the value can never
    be invalid due to other changes in the same patch.

  • #162 modifies RequestTrait such that it now invalidates non-string method arguments to either
    the constructor or withMethod(), raising an InvalidArgumentException for any that do not validate.

Deprecated

... (truncated)
Commits
  • 0bae781 Merging develop to master in preparation for 2.0 release
  • 760c6aa Sets release date for 2.0.0 in CHANGELOG
  • f18370a Removes empty stubs for 1.8.7 and 1.9.0 from CHANGELOG
  • 1e292ac Updates branch aliases in preparation for release.
  • 1c0a713 Updating branch aliases
  • c18d400 Merging 2.0 release branch to develop
  • 69dc202 Removed duplicated strict type declaration
  • 8d95675 Merge branch 'hotfix/strict-types' into release-2.0
  • e09009e Adds CHANGELOG entry for #329
  • 240fdb2 Declare strict_types and use STH/RTH
  • Additional commits viewable in compare view

Dependabot compatibility score

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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant