All Versions
53
Latest Version
Avg Release Cycle
53 days
Latest Release
2064 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v1.3.9 Changes
January 17, 2017 -
v1.3.8 Changes
January 05, 2017โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #222 fixes the
SapiStreamEmitter
's handling of theContent-Range
header to properly only emit a range of bytes if the header value is in the formbytes {first-last}/length
. This allows using other range units, such asitems
, without incorrectly emitting truncated content.
-
v1.3.7 Changes
October 11, 2016โ Added
- #208 adds several
missing response codes to
Zend\Diactoros\Response
, including:- 226 ('IM used')
- 308 ('Permanent Redirect')
- 444 ('Connection Closed Without Response')
- 499 ('Client Closed Request')
- 510 ('Not Extended')
- 599 ('Network Connect Timeout Error')
- ๐ #211 adds support
for UTF-8 characters in query strings handled by
Zend\Diactoros\Uri
.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- Nothing.
- #208 adds several
missing response codes to
-
v1.3.6 Changes
September 07, 2016โ Added
- #170 prepared documentation for publication at https://zendframework.github.io/zend-diactoros/
- ๐ #165 adds support
for Apache
REDIRECT_HTTP_*
header detection in theServerRequestFactory
. - ๐ #166 adds support for UTF-8 characters in URI paths.
- โ #204 adds testing against PHP 7.1 release-candidate builds.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #186 fixes a typo
in a variable name within the
SapiStreamEmitter
. - โก๏ธ #200 updates the
SapiStreamEmitter
to implement a check forisSeekable()
prior to attempts to rewind; this allows it to work with non-seekable streams such as theCallbackStream
. - #169 ensures that
response serialization always provides a
\r\n\r\n
sequence following the headers, even when no message body is present, to ensure it conforms with RFC 7230. - โก๏ธ #175 updates the
Request
class to set theHost
header from the URI host if no header is already present. (Ensures conformity with PSR-7 specification.) - โก๏ธ #197 updates the
Uri
class to ensure that string serialization does not include a colon after the host name if no port is present in the instance.
-
v1.3.5 Changes
March 17, 2016โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #160 fixes HTTP
protocol detection in the
ServerRequestFactory
to work correctly with HTTP/2.
-
v1.3.4 Changes
March 17, 2016โ Added
- #119 adds the 451
(Unavailable for Legal Reasons) status code to the
Response
class.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- #117 provides validation of the HTTP protocol version.
- #127 now properly
removes attributes with
null
values when callingwithoutAttribute()
. - โก๏ธ #132 updates the
ServerRequestFactory
to marshal the request path fragment, if present. - โก๏ธ #142 updates the
exceptions thrown by
HeaderSecurity
to include the header name and/or value. - ๐ #148 fixes several stream operations to ensure they raise exceptions when the internal pointer is at an invalid position.
- #151 ensures URI fragments are properly encoded.
- #119 adds the 451
(Unavailable for Legal Reasons) status code to the
-
v1.3.3 Changes
January 04, 2016โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #135 fixes the
behavior of
ServerRequestFactory::marshalHeaders()
to no longer omitCookie
headers from the aggregated headers. While the values are parsed and injected into the cookie params, it's useful to have access to the raw headers as well.
-
v1.3.2 Changes
December 22, 2015โ 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 relatedwith*()
methods on an instance.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- โก๏ธ #122 updates the
ServerRequestFactory
to retrieve the HTTP protocol version and inject it in the generatedServerRequest
, which previously was not performed.
- #124 adds four
more optional arguments to the
-
v1.3.1 Changes
December 16, 2015โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- ๐ #113 fixes an issue in the response serializer, ensuring that the status code in the deserialized response is an integer.
- ๐ #115 fixes an
issue in the various text-basd response types (
TextResponse
,HtmlResponse
, andJsonResponse
); due to the fact that the constructor was not rewinding the message body stream,getContents()
was thus returningnull
, as the pointer was at the end of the stream. The constructor now rewinds the stream after populating it in the constructor.
-
v1.3.0 Changes
December 15, 2015โ Added
- #110 adds
Zend\Diactoros\Response\SapiEmitterTrait
, which provides the following private method definitions:injectContentLength()
emitStatusLine()
emitHeaders()
flush()
filterHeader()
TheSapiEmitter
implementation has been updated to remove those methods and instead compose the trait.
- #111 adds
a new emitter implementation,
SapiStreamEmitter
; this emitter type will loop through the stream instead of emitting it in one go, and supports content ranges.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- Nothing.
- #110 adds