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

Releases: zendframework/zend-psr7bridge

zend-psr7bridge 1.2.0

20 Dec 16:49
Compare
Choose a tag to compare

Added

  • #41 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #41 removes support for zend-stdlib v2 releases.

Fixed

  • Nothing.

zend-psr7bridge 1.1.1

20 Dec 15:29
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #40 fixes how headers are translated from PSR-7 to zend-http. Previously, they
    were always cast to GenericHeader instances; now, the bridge uses Psr7Response::psr7HeadersToString
    to pass them to Zend\Http\Headers::fromString(), ensuring that the more
    specific zend-http HeaderInterface instance types are created.

zend-psr7bridge 1.1.0

27 Sep 21:26
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • #38 updates the zendframework/zend-diactoros constraint to allow either the
    1.Y or 2.Y series, as they are compatible for the purposes of this package.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-psr7bridge 1.0.2

14 Feb 04:40
1.0.2
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #35 fixes the Response from a PSR-7 Stream object with php://memory stream

zend-psr7bridge 1.0.1

18 Dec 12:03
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #23 fixed the upload of a file when error is not UPLOAD_ERR_OK
  • #26 fixes the Stream response from a PSR-7 Stream object
  • #28 fixes the baseUrl from a PSR-7 Server request

zend-psr7bridge 1.0.0

02 Aug 15:56
Compare
Choose a tag to compare

Added

  • #19 adds support for PHP 7.1.

  • #19 adds support for PHP 7.2.

Changed

  • #15 updates the behavior of Psr7ServerRequest::fromZend() to check if the request is a Zend\Http\PhpEnvironment\Request and, if so, use the return value of its getServer() method to seed the PSR-7 request's server parameters.

Deprecated

  • Nothing.

Removed

  • #19 removes support for PHP 5.5.

  • #19 removes support for HHVM.

Fixed

  • Nothing.

zend-psr7bridge 0.2.2

10 May 21:46
Compare
Choose a tag to compare

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #7 fixes the logic in Psr7ServerRequest::convertUploadedFiles() to ensure that the tmp_name is provided to the $_FILES structure from the PSR-7 uploaded files.
  • #7 fixes the logic in Psr7ServerRequest::convertFilesToUploaded() to iterate the entire value provided it, instead of a fictitious file key.

zend-psr7bridge 0.1.0

06 Aug 16:29
Compare
Choose a tag to compare

Initial release!

Added

  • Zend\Psr7Bridge\Psr7ServerRequest::toZend($request, $shallow = false) allows converting a Psr\Http\Message\ServerRequestInterface to a Zend\Http\PhpEnvironment\Request instance. The $shallow flag, when enabled, will omit the body content, body parameters, and upload files from the zend-http request (e.g., for routing purposes).

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.