Fedora 21 Update: php-guzzlehttp-streams-3.0.0-3.fc21

updates at fedoraproject.org updates at fedoraproject.org
Fri Jun 26 20:34:13 UTC 2015


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2015-9921
2015-06-14 11:31:16
--------------------------------------------------------------------------------

Name        : php-guzzlehttp-streams
Product     : Fedora 21
Version     : 3.0.0
Release     : 3.fc21
URL         : http://docs.guzzlephp.org/en/guzzle4/streams.html
Summary     : Provides a simple abstraction over streams of data
Description :
Provides a simple abstraction over streams of data.

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

3.0.0 (2014-10-12)
------------------

* Now supports creating streams from functions and iterators.
* Supports creating buffered streams and asynchronous streams.
* Removed ``functions.php``. Use the corresponding functions provided by ``GuzzleHttp\Streams\Utils`` instead.
* Moved ``GuzzleHttp\Stream\MetadataStreamInterface::getMetadata`` to ``GuzzleHttp\Stream\StreamInterface``. MetadataStreamInterface is no longer used and is marked as deprecated.
* Added ``attach()`` to ``GuzzleHttp\Stream\StreamInterface`` for PSR-7 compatibility.
* Removed ``flush()`` from StreamInterface.
* Removed the ``$maxLength`` parameter from ``GuzzleHttp\Stream\StreamInterface::getContents()``. This function now returns the entire remainder of the stream. If you want to limit the maximum amount of data read from the stream, use the ``GuzzleHttp\Stream\Utils::copyToString()`` function.
* Streams that return an empty string, ``''``, are no longer considered a failure. You MUST return ``false`` to mark the read as a failure, and ensure that any decorators you create properly return ``true`` in response to the ``eof()`` method when the stream is consumed.
* ``GuzzleHttp\Stream\Stream::__construct``, ``GuzzleHttp\Stream\Stream::factory``, and ``GuzzleHttp\Stream\Utils::create`` no longer accept a size in the second argument. They now accept an associative array of options, including the "size" key and "metadata" key which can be used to provide custom metadata.
* Added ``GuzzleHttp\Stream\BufferStream`` to add support for buffering data, and when read, shifting data off of the buffer.
* Added ``GuzzleHttp\Stream\NullBuffer`` which can be used as a buffer that does not actually store any data.
* Added ``GuzzleHttp\Stream\AsyncStream`` to provide support for non-blocking streams that can be filled by a remote source (e.g., an event-loop). If a ``drain`` option is provided, the stream can also act as if it is a blocking stream.

2.1.0 (2014-08-17)
------------------

* Added an InflateStream to inflate gzipped or deflated content.
* Added ``flush`` to stream wrapper.
* Added the ability to easily register the GuzzleStreamWrapper if needed.

2.0.0 (2014-08-16)
------------------

* Deprecated functions.php and moved all of those methods to ``GuzzleHttp\Streams\Utils``. Use ``GuzzleHttp\Stream\Stream::factory()`` instead of ``GuzzleHttp\Stream\create()`` to create new streams.
* Added ``flush()`` to ``StreamInterface``. This method is used to flush any underlying stream write buffers.
* Added ``FnStream`` to easily decorate stream behavior with callables.
* ``Utils::hash`` now throws an exception when the stream cannot seek to 0.
--------------------------------------------------------------------------------
ChangeLog:

* Fri Jun 12 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 3.0.0-3
- Use new $fedoraClassLoader concept in autoloader
* Mon Jun  1 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 3.0.0-2
- Added autoloader
* Sun Feb  8 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 3.0.0-1
- Updated to 3.0.0 (BZ #1131103)
* Thu Jan 22 2015 Remi Collet <remi at fedoraproject.org> - 1.5.1-3
- add upstream patch for test suite against latest PHP
  see https://github.com/guzzle/streams/issues/29, thank Koschei
* Tue Aug 26 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.5.1-2
- Updated URL and description per upstream
- Fix test suite when previous version installed
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1131103 - php-guzzlehttp-streams-3.0.0 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1131103
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use
su -c 'yum update php-guzzlehttp-streams' 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