NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #251 most downloaded on Packagist
HTTP Message related tools
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 1.2 years
Nearly every release is documented
notes for 29 of 31 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
31 releases · first in 2015
Avoid error when reading 0 bytes from BufferedStream.
Adjust phpdoc to avoid warnings about return types.
1.16.1
Compare
One column per quarter.
Remove direct dependency on php-http/message-factory as it is only needed for the deprecated Httplug factories. Upgrade to PSR-17 message factories pr…
php-http/message-factory as it is only needed for the deprecated Httplug factories.composer require php-http/message-factory in your application.If you use the decorator classes, you might need to adjust your code to the parameter and return type declarations added in PSR-7
If you use the decorator classes, you might need to adjust your code to the parameter and return type declarations added in PSR-7
This release is not actually compatible with PSR-7 1.1 or 2.0
This release is not actually compatible with PSR-7 1.1 or 2.0
Deprecated Formatter::formatResponse() in favor of the new formatResponseForRequest method.
Formatter::formatResponseForRequest() to allow the formatter to get context from the request to decide what of the response to output.Formatter::formatResponse() in favor of the new formatResponseForRequest method.Added support for adjusting binary detection regex in FullHttpMessageFormatter
Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleStreamFactory.
Support GuzzleHttp/Psr7 version 2.0 in the (deprecated) GuzzleUriFactory.
Migrated from zendframework/zend-diactoros to laminas/laminas-diactoros . Users are encouraged to update their dependencies by simply replacing the Ze
Migrated from zendframework/zend-diactoros to laminas/laminas-diactoros.
Users are encouraged to update their dependencies by simply replacing the Zend package with the Laminas package.
Due to the laminas-zendframework-brige, BC changes
are not expected and legacy code does not need to be refactored (though it is
recommended and simple).
The diactoros factories of php-http/message will return objects from the Laminas\Diactoros\ namespace, if
the respective classes are available via autoloading, but continue to return objects from Zend\Diactoros\
namespace otherwise.
Allow to specify the hashing algorithm for WSSE authentication.
- Added support for PHP 8.0.
Improved detection of binary stream to not consider newlines, carriage return or tabs as binary.
Omitted binary body in FullHttpMessageFormatter and CurlCommandFormatter. [binary stream omitted] will be shown instead.
[binary stream omitted] will be shown instead.Raised minimum PHP version to 7.1
CurlCommandFormatter when body is larger than escapeshellarg allowed length.FilteredStream uses @trigger_error instead of throwing exceptions to not break careless users. You still need to fix your stream code to respect isSee
@trigger_error instead of throwing exceptions to not
break careless users. You still need to fix your stream code to respect
isSeekable. Seeking does not work as expected, and we will add exceptions
in version 2.FilteredStream is not actually seekable
Fix CurlCommandFormatter for binary request payloads
arg_separator.output directivenull parameters to Clue\StreamFilter\funCookieUtil::parseDate to create a date from cookie date string
Check for empty string in Stream factories
Cookie::matchPath Cookie with root path (/) will not match sub path (e.g. /cookie).
/) will not match sub path (e.g. /cookie).Message, stream and URI factories for Slim Framework
FullHttpMessageFormatter will not read from streams that you cannot rewind (non-seekable)
FullHttpMessageFormatter to include headers and body in the formatted message
The RequestMatcher is built after the Symfony RequestMatcher and separates scheme, host and path expressions and provides an option to filter on the m
Add a request matcher interface and regex implementation
Nothing published for this version
Nothing published for this version
Autoregistration of stream filters using Composer autoload
Request and response factory bindings
### Added - Formatter
Message factory (Guzzle, Diactoros)
Your coding agent can read these notes before it upgrades. Set up the MCP server →