This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Releases: zendframework/zend-psr7bridge
Releases · zendframework/zend-psr7bridge
zend-psr7bridge 1.2.0
zend-psr7bridge 1.1.1
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 toGenericHeader
instances; now, the bridge usesPsr7Response::psr7HeadersToString
to pass them toZend\Http\Headers::fromString()
, ensuring that the more
specific zend-httpHeaderInterface
instance types are created.
zend-psr7bridge 1.1.0
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
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
zend-psr7bridge 1.0.0
Added
Changed
- #15 updates the behavior of
Psr7ServerRequest::fromZend()
to check if the request is aZend\Http\PhpEnvironment\Request
and, if so, use the return value of itsgetServer()
method to seed the PSR-7 request's server parameters.
Deprecated
- Nothing.
Removed
Fixed
- Nothing.
zend-psr7bridge 0.2.2
Added
- #8 adds and publishes the documentation to https://zendframework.github.io/zend-psr7bridge/
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #7 fixes the logic in
Psr7ServerRequest::convertUploadedFiles()
to ensure that thetmp_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 fictitiousfile
key.
zend-psr7bridge 0.1.0
Initial release!
Added
Zend\Psr7Bridge\Psr7ServerRequest::toZend($request, $shallow = false)
allows converting aPsr\Http\Message\ServerRequestInterface
to aZend\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.