HTTP Message related tools
php-http/message-factory
as it is only needed for the deprecated Httplug factories.
Upgrade to PSR-17 message factories provided by your HTTP client implementation.
If you need the Httplug factories for the time being, you can 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
This release is not actually compatible with PSR-7 1.1 or 2.0
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.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.