Skip to content

Commit

Permalink
Prepare release 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sad-spirit committed Nov 1, 2023
1 parent 0ab8523 commit f010a16
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
10 changes: 9 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -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])
Expand Down Expand Up @@ -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
[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
2 changes: 1 addition & 1 deletion HTTP/Request2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
}
Expand Down
27 changes: 23 additions & 4 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ deflate encodings, redirects, monitoring the request progress with Observers...
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2022-01-06</date>
<date>2023-11-01</date>
<version>
<release>2.5.1</release>
<release>2.6.0</release>
<api>2.4.0</api>
</version>
<stability>
Expand All @@ -36,8 +36,10 @@ deflate encodings, redirects, monitoring the request progress with Observers...
</stability>
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* 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
</notes>
<contents>
Expand Down Expand Up @@ -253,6 +255,23 @@ deflate encodings, redirects, monitoring the request progress with Observers...
</filelist>
</phprelease>
<changelog>
<release>
<date>2022-01-06</date>
<version>
<release>2.5.1</release>
<api>2.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* The package runs under PHP 8.1 without `E_DEPRECATED` messages
https://github.com/pear/HTTP_Request2/issues/25
* Updated Public Suffix List
</notes>
</release>
<release>
<date>2021-07-12</date>
<version>
Expand Down

0 comments on commit f010a16

Please sign in to comment.