Skip to content

Commit f010a16

Browse files
committed
Prepare release 2.6.0
1 parent 0ab8523 commit f010a16

3 files changed

Lines changed: 33 additions & 6 deletions

File tree

Changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 2.6.0 - 2023-11-01
4+
* Tested on PHP 8.2 and 8.3
5+
* Use [psalm] for static analysis, several minor issues fixed
6+
* Correctly parse HTTP status line with an empty reason-phrase (see [pull request #26])
7+
* Updated Public Suffix List
8+
39
## 2.5.1 - 2022-01-06
410

511
* 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
5056
[issue #19]: https://github.com/pear/HTTP_Request2/issues/19
5157
[issue #20]: https://github.com/pear/HTTP_Request2/issues/20
5258
[issue #23]: https://github.com/pear/HTTP_Request2/issues/23
53-
[issue #25]: https://github.com/pear/HTTP_Request2/issues/25
59+
[issue #25]: https://github.com/pear/HTTP_Request2/issues/25
60+
[psalm]: https://psalm.dev/
61+
[pull request #26]: https://github.com/pear/HTTP_Request2/pull/26

HTTP/Request2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function __construct(
234234
$this->setMethod($method);
235235
}
236236
$this->setHeader(
237-
'user-agent', 'HTTP_Request2/2.5.1 ' .
237+
'user-agent', 'HTTP_Request2/2.6.0 ' .
238238
'(https://github.com/pear/HTTP_Request2) PHP/' . phpversion()
239239
);
240240
}

package.xml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ deflate encodings, redirects, monitoring the request progress with Observers...
2525
<email>avb@php.net</email>
2626
<active>yes</active>
2727
</lead>
28-
<date>2022-01-06</date>
28+
<date>2023-11-01</date>
2929
<version>
30-
<release>2.5.1</release>
30+
<release>2.6.0</release>
3131
<api>2.4.0</api>
3232
</version>
3333
<stability>
@@ -36,8 +36,10 @@ deflate encodings, redirects, monitoring the request progress with Observers...
3636
</stability>
3737
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
3838
<notes>
39-
* The package runs under PHP 8.1 without `E_DEPRECATED` messages
40-
https://github.com/pear/HTTP_Request2/issues/25
39+
* Tested on PHP 8.2 and 8.3
40+
* Use psalm for static analysis, several minor issues fixed
41+
* Correctly parse HTTP status line with an empty reason-phrase
42+
(see https://github.com/pear/HTTP_Request2/pull/26)
4143
* Updated Public Suffix List
4244
</notes>
4345
<contents>
@@ -253,6 +255,23 @@ deflate encodings, redirects, monitoring the request progress with Observers...
253255
</filelist>
254256
</phprelease>
255257
<changelog>
258+
<release>
259+
<date>2022-01-06</date>
260+
<version>
261+
<release>2.5.1</release>
262+
<api>2.4.0</api>
263+
</version>
264+
<stability>
265+
<release>stable</release>
266+
<api>stable</api>
267+
</stability>
268+
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
269+
<notes>
270+
* The package runs under PHP 8.1 without `E_DEPRECATED` messages
271+
https://github.com/pear/HTTP_Request2/issues/25
272+
* Updated Public Suffix List
273+
</notes>
274+
</release>
256275
<release>
257276
<date>2021-07-12</date>
258277
<version>

0 commit comments

Comments
 (0)