functions.php. Use the corresponding functions provided by GuzzleHttp\Streams\Utils instead.GuzzleHttp\Stream\MetadataStreamInterface::getMetadata to GuzzleHttp\Stream\StreamInterface. MetadataStreamInterface is no longer used and is marked as deprecated.attach() to GuzzleHttp\Stream\StreamInterface for PSR-7 compatibility.flush() from StreamInterface.$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.'', 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.GuzzleHttp\Stream\BufferStream to add support for buffering data, and when read, shifting data off of the buffer.GuzzleHttp\Stream\NullBuffer which can be used as a buffer that does not actually store any data.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.flush to stream wrapper.GuzzleHttp\Streams\Utils. Use GuzzleHttp\Stream\Stream::factory() instead of GuzzleHttp\Stream\create() to create new streams.flush() to StreamInterface. This method is used to flush any underlying stream write buffers.FnStream to easily decorate stream behavior with callables.Utils::hash now throws an exception when the stream cannot seek to 0.Please log in to add feedback.
This update has been submitted for testing by siwinski.
This update is currently being pushed to the Fedora EPEL 7 testing updates repository.
This update has been pushed to testing
Please note that this update will break php-guzzlehttp-guzzle-4.1.8-1.el7.noarch, which requires php-composer(guzzlehttp/streams) < 0:2.0
Thanks avij! Note that this update is coupled with an update of php-guzzlehttp-guzzle 5.3.0 -- https://admin.fedoraproject.org/updates/search/php-guzzlehttp-guzzle-5.3.0
This update has reached 14 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 is currently being pushed to the Fedora EPEL 7 stable updates repository.
This update has been pushed to stable