#219 adds two new classes, Zend\Diactoros\Request\ArraySerializer
and Zend\Diactoros\Response\ArraySerializer
. Each exposes the static methods toArray()
and fromArray()
, allowing de/serialization of messages from and to arrays.
#236 adds two new constants to the Response
class: MIN_STATUS_CODE_VALUE
and MAX_STATUS_CODE_VALUE
.
#240 changes the behavior of ServerRequestFactory::fromGlobals()
when no $cookies
argument is present. Previously, it would use $_COOKIES
; now, if a Cookie
header is present, it will parse and use that to populate the instance instead.
This change allows utilizing cookies that contain period characters (.
) in their names (PHP's built-in cookie handling renames these to replace .
with _
, which can lead to synchronization issues with clients).
#235 changes the behavior of Uri::__toString()
to better follow proscribed behavior in PSR-7. In particular, prior to this release, if a scheme was missing but an authority was present, the class was incorrectly returning a value that did not include a //
prefix. As of this release, it now does this correctly.
Nothing.
Nothing.
Nothing.
Nothing.
psr/http-message-implementation
to simply 1.0
instead of ~1.0.0
, to follow how other implementations provide PSR-7.Nothing.
Nothing.
#161 adds additional validations to header names and values to ensure no malformed values are provided.
#234 fixes a number of reason phrases in the Response
instance, and adds automation from the canonical IANA sources to ensure any new phrases added are correct.
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2017-68280e0d9b
Please login to add feedback.
This update has been submitted for testing by siwinski.
This update has been pushed to testing.
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by siwinski.
This update has been pushed to stable.