-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2017-68280e0d9b 2017-04-25 12:28:36.812143 --------------------------------------------------------------------------------
Name : php-zendframework-zend-diactoros Product : Fedora 24 Version : 1.4.0 Release : 1.fc24 URL : https://zendframework.github.io/zend-diactoros/ Summary : PSR HTTP Message implementations Description : A PHP package containing implementations of the accepted PSR-7 HTTP message interfaces [1], as well as a "server" implementation similar to node's http.Server [2]. Documentation: https://zendframework.github.io/zend-diactoros/ Autoloader: /usr/share/php/Zend/Diactoros/autoload.php [1] http://www.php-fig.org/psr/psr-7/ [2] http://nodejs.org/api/http.html -------------------------------------------------------------------------------- Update Information: ## 1.4.0 ### Added * \#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`. ### Changes * \#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. ### Deprecated Nothing. ### Removed Nothing. ### Fixed Nothing. ## 1.3.11 ### Added Nothing. ### Changes * \#241 changes the constraint by which the package provides `psr/http-message-implementation` to simply `1.0` instead of `~1.0.0`, to follow how other implementations provide PSR-7. ### Deprecated Nothing. ### Removed Nothing. ### Fixed * \#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. -------------------------------------------------------------------------------- References: [ 1 ] Bug #1440332 - php-zendframework-zend-diactoros-1.4.0 is available https://bugzilla.redhat.com/show_bug.cgi?id=1440332 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade php-zendframework-zend-diactoros' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- [email protected] To unsubscribe send an email to [email protected]
