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

Latest commit

 

History

History
288 lines (162 loc) · 5.04 KB

CHANGELOG.md

File metadata and controls

288 lines (162 loc) · 5.04 KB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

1.2.1 - TBD

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

1.2.0 - 2018-12-20

Added

  • #41 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

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

Fixed

  • Nothing.

1.1.1 - 2018-12-20

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.

1.1.0 - 2018-09-27

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.

1.0.2 - 2018-02-14

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

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

1.0.1 - 2017-12-18

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

1.0.0 - 2017-08-02

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.

0.2.2 - 2016-05-10

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.

0.2.1 - 2015-12-15

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #5 Updates Psr7ServerRequest::fromZend() to inject the generated PSR-7 request instance with the zend-http cookies.

0.2.0 - 2015-09-28

Added

  • #3 Adds support for zend-http -> PSR-7 request tanslation.
  • #3 Adds support for PSR-7 <-> zend-http response tanslation.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

0.1.1 - 2015-08-18

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #2 updates Zend\Psr7Bridge\Zend\Request's constructor to call setUri() instead of setRequestUri().

0.1.0 - 2015-08-06

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.