Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Diactoros 1.3.2

Compare
Choose a tag to compare
@weierophinney weierophinney released this 22 Dec 22:46
· 972 commits to master since this release

Added

  • #124 adds four more optional arguments to the ServerRequest constructor:

    • array $cookies
    • array $queryParams
    • null|array|object $parsedBody
    • string $protocolVersion

    ServerRequestFactory was updated to pass values for each of these parameters when creating an instance, instead of using the related with*() methods on an instance.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #122 updates the ServerRequestFactory to retrieve the HTTP protocol version and inject it in the generated ServerRequest, which previously was not performed.