- Support PHP 8.3 and 8.4
- Remove support for EOL PHP versions < 8.2
CI:
- Rewrote testing with phpunit instead of phpspec.
- Removed unused scrutinizer from build
- Removed the last place where we forgot the request in the log context.
- Do not log request when loggin response again, but use UID to identify request
that belongs to response.
If you use a logger that does not log
info
severity and want the request logged when an error happened, use a Fingerscrossed log handler to also log info if any error is logged. - Removed the request and response from the log context. They did not get
printed because they don't implement
__toString
. - Supporting the newly introduced message formatter method
formatResponseForRequest
that allows more flexibility in the formatter. See php-http/message#146
- Allow installation with psr/log version 2 and 3
- Allow installation with PHP 8.0
- Use
hrtime
to avoid clock movement bugs - Support only PHP 7.1-8.0
- Support client-common 1.9 and 2
- Measure the time it took to do the request
- Initial release