stable

php-guzzlehttp-streams-3.0.0-3.fc21

FEDORA-2015-9921 created by siwinski 9 years ago for Fedora 21

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.

How to install

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

This update has been submitted for testing by siwinski.

9 years ago

Taskotron: depcheck test PASSED on i386. Result log: https://taskotron.fedoraproject.org/taskmaster//builders/x86_64/builds/81532/steps/runtask/logs/stdio (results are informative only)

Taskotron: depcheck test PASSED on x86_64. Result log: https://taskotron.fedoraproject.org/taskmaster//builders/x86_64/builds/81532/steps/runtask/logs/stdio (results are informative only)

Taskotron: depcheck test PASSED on i386. Result log: https://taskotron.fedoraproject.org/taskmaster//builders/x86_64/builds/81581/steps/runtask/logs/stdio (results are informative only)

Taskotron: depcheck test PASSED on x86_64. Result log: https://taskotron.fedoraproject.org/taskmaster//builders/x86_64/builds/81581/steps/runtask/logs/stdio (results are informative only)

This update is currently being pushed to the Fedora 21 testing updates repository.

9 years ago

This update has been pushed to testing

9 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

9 years ago

This update has been submitted for stable by siwinski.

9 years ago

Taskotron: upgradepath test PASSED on noarch. Result log: https://taskotron.fedoraproject.org/taskmaster//builders/x86_64/builds/101132/steps/runtask/logs/stdio (results are informative only)

This update is currently being pushed to the Fedora 21 stable updates repository.

9 years ago

This update has been pushed to stable

9 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
9 years ago
in testing
9 years ago
in stable
9 years ago
modified
9 years ago
BZ#1131103 php-guzzlehttp-streams-3.0.0 is available
0
0

Automated Test Results