Fedora 22 Update: php-psr-http-message-1.0-1.fc22

updates at fedoraproject.org updates at fedoraproject.org
Wed Jun 10 19:15:48 UTC 2015


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2015-9282
2015-06-01 11:05:03
--------------------------------------------------------------------------------

Name        : php-psr-http-message
Product     : Fedora 22
Version     : 1.0
Release     : 1.fc22
URL         : https://github.com/php-fig/http-message
Summary     : Common interface for HTTP messages (PSR-7)
Description :
This package holds all interfaces/classes/traits related to PSR-7 [1].

Note that this is not a HTTP message implementation of its own. It is merely an
interface that describes a HTTP message. See the specification for more details.

[1] http://www.php-fig.org/psr/psr-7/

--------------------------------------------------------------------------------
Update Information:

## 1.0

* PSR-7 Acceptance
* Typo `s/RFC3985/RFC3986/`

## 0.11.0

* Clarifications to `RequestInterface::withUri()` specifying that changes MUST also update the `Host` header unless the `$preserverHost` flag is `true`.
* Removal of the various `getHeader*()` method overrides in `RequestInterface`, as they are irrelevant with the above change.
* Added verbiage to the `RequestInterface` class-level docblock indicating that constructors SHOULD attempt to set the `Host` header in order to ensure the message is valid on initialization.
* `RequestInterface::getHeaderLine()` MUST return a string (`null` was allowed previously, which leads to ambiguity of return value).
* `ResponseInterface::getReasonPhrase()` MUST return a string(`null` was allowed previously, which leads to ambiguity of return value).
* `ResponseInterface::withStatus()` now sets the default value of the `$reasonPhrase` parameter to an empty string (to correspond to the above change).
* `UploadedFileInterface::move()` was renamed to `moveTo()`, and the argument renamed to `$targetPath`; this clarifies intent for the method.
* `UriInterface::withPath()` has clarifications in the docblock to indicate the four possible path types (empty, root path, relative path, domain-relative — or absolute — path).
--------------------------------------------------------------------------------
ChangeLog:

* Sat May 30 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.0-1
- Updated to 0.10.1 (BZ #1218459)
- Added autoloader
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1218459 - php-psr-http-message-1.0 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1218459
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use
su -c 'yum update php-psr-http-message' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

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
--------------------------------------------------------------------------------


More information about the package-announce mailing list