diff --git a/Changelog.md b/Changelog.md index e48ffed..fea804d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2.6.0 - 2023-11-01 +* Tested on PHP 8.2 and 8.3 +* Use [psalm] for static analysis, several minor issues fixed +* Correctly parse HTTP status line with an empty reason-phrase (see [pull request #26]) +* Updated Public Suffix List + ## 2.5.1 - 2022-01-06 * The package runs under PHP 8.1 without `E_DEPRECATED` messages (see [issue #25]) @@ -50,4 +56,6 @@ no longer uses include-path and does not contain require_once statements [issue #19]: https://github.com/pear/HTTP_Request2/issues/19 [issue #20]: https://github.com/pear/HTTP_Request2/issues/20 [issue #23]: https://github.com/pear/HTTP_Request2/issues/23 -[issue #25]: https://github.com/pear/HTTP_Request2/issues/25 \ No newline at end of file +[issue #25]: https://github.com/pear/HTTP_Request2/issues/25 +[psalm]: https://psalm.dev/ +[pull request #26]: https://github.com/pear/HTTP_Request2/pull/26 diff --git a/HTTP/Request2.php b/HTTP/Request2.php index 92ff10c..8943144 100644 --- a/HTTP/Request2.php +++ b/HTTP/Request2.php @@ -234,7 +234,7 @@ public function __construct( $this->setMethod($method); } $this->setHeader( - 'user-agent', 'HTTP_Request2/2.5.1 ' . + 'user-agent', 'HTTP_Request2/2.6.0 ' . '(https://github.com/pear/HTTP_Request2) PHP/' . phpversion() ); } diff --git a/package.xml b/package.xml index 7af7f49..54d3860 100644 --- a/package.xml +++ b/package.xml @@ -25,9 +25,9 @@ deflate encodings, redirects, monitoring the request progress with Observers... avb@php.net yes - 2022-01-06 + 2023-11-01 - 2.5.1 + 2.6.0 2.4.0 @@ -36,8 +36,10 @@ deflate encodings, redirects, monitoring the request progress with Observers... BSD 3-Clause License - * The package runs under PHP 8.1 without `E_DEPRECATED` messages - https://github.com/pear/HTTP_Request2/issues/25 + * Tested on PHP 8.2 and 8.3 + * Use psalm for static analysis, several minor issues fixed + * Correctly parse HTTP status line with an empty reason-phrase + (see https://github.com/pear/HTTP_Request2/pull/26) * Updated Public Suffix List @@ -253,6 +255,23 @@ deflate encodings, redirects, monitoring the request progress with Observers... + + 2022-01-06 + + 2.5.1 + 2.4.0 + + + stable + stable + + BSD 3-Clause License + + * The package runs under PHP 8.1 without `E_DEPRECATED` messages + https://github.com/pear/HTTP_Request2/issues/25 + * Updated Public Suffix List + + 2021-07-12