Skip to content

Commit b1c61b7

Browse files
committed
Prepare release 2.7.0
1 parent f898ac2 commit b1c61b7

File tree

2 files changed

+55
-10
lines changed

2 files changed

+55
-10
lines changed

Changelog.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [2.7.0] - 2025-04-06
4+
5+
### Added
6+
* Tested on PHP 8.4;
7+
* Psalm 6 used for static analysis;
8+
* Updated Public Suffix List.
9+
10+
### Fixed
11+
* Prevent XSS when PHP files backing server-side tests are served from a publicly available website,
12+
thanks to Peter Potrowl (peter017 at gmail dot com) for the report.
13+
* `data/generate-list.php` will only run with a command-line SAPI.
14+
* Better random value used for `cnonce` parameter in Digest authentication, see [issue #30].
15+
Digest authentication should be considered deprecated, however.
16+
* `psalm.xml` configuration file is no longer installed by composer.
17+
318
## 2.6.0 - 2023-11-01
419
* Tested on PHP 8.2 and 8.3
520
* Use [psalm] for static analysis, several minor issues fixed
@@ -57,5 +72,8 @@ no longer uses include-path and does not contain require_once statements
5772
[issue #20]: https://github.com/pear/HTTP_Request2/issues/20
5873
[issue #23]: https://github.com/pear/HTTP_Request2/issues/23
5974
[issue #25]: https://github.com/pear/HTTP_Request2/issues/25
75+
[issue #30]: https://github.com/pear/HTTP_Request2/issues/30
6076
[psalm]: https://psalm.dev/
6177
[pull request #26]: https://github.com/pear/HTTP_Request2/pull/26
78+
79+
[2.7.0]: https://github.com/pear/HTTP_Request2/compare/v2.6.0...v2.7.0

package.xml

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,30 @@ deflate encodings, redirects, monitoring the request progress with Observers...
2525
<email>[email protected]</email>
2626
<active>yes</active>
2727
</lead>
28-
<date>2023-11-01</date>
28+
<date>2025-04-06</date>
2929
<version>
30-
<release>2.6.0</release>
30+
<release>2.7.0</release>
3131
<api>2.4.0</api>
3232
</version>
3333
<stability>
3434
<release>stable</release>
3535
<api>stable</api>
3636
</stability>
37-
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
37+
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
3838
<notes>
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)
43-
* Updated Public Suffix List
39+
Added:
40+
* Tested on PHP 8.4;
41+
* Psalm 6 used for static analysis;
42+
* Updated Public Suffix List.
43+
44+
Fixed:
45+
* Prevent XSS when PHP files backing server-side tests are served from
46+
a publicly available website, thanks to Peter Potrowl
47+
(peter017 at gmail dot com) for the report.
48+
* data/generate-list.php will only run with a command-line SAPI.
49+
* Better random value used for `cnonce` parameter in Digest authentication,
50+
see https://github.com/pear/HTTP_Request2/issues/30.
51+
Digest authentication should be considered deprecated, however.
4452
</notes>
4553
<contents>
4654
<dir name="/">
@@ -255,6 +263,25 @@ deflate encodings, redirects, monitoring the request progress with Observers...
255263
</filelist>
256264
</phprelease>
257265
<changelog>
266+
<release>
267+
<date>2023-11-01</date>
268+
<version>
269+
<release>2.6.0</release>
270+
<api>2.4.0</api>
271+
</version>
272+
<stability>
273+
<release>stable</release>
274+
<api>stable</api>
275+
</stability>
276+
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
277+
<notes>
278+
* Tested on PHP 8.2 and 8.3
279+
* Use psalm for static analysis, several minor issues fixed
280+
* Correctly parse HTTP status line with an empty reason-phrase
281+
(see https://github.com/pear/HTTP_Request2/pull/26)
282+
* Updated Public Suffix List
283+
</notes>
284+
</release>
258285
<release>
259286
<date>2022-01-06</date>
260287
<version>
@@ -288,7 +315,7 @@ deflate encodings, redirects, monitoring the request progress with Observers...
288315
* Socket adapter will now retry writing to socket rather than throw an exception if `fwrite()` call
289316
returns zero written bytes
290317
https://github.com/pear/HTTP_Request2/issues/23
291-
318+
292319
Changed
293320
* Socket adapter will use only TLS 1.2 and TLS 1.3
294321
(the latter is available on PHP 7.4+)
@@ -346,7 +373,7 @@ https://github.com/pear/HTTP_Request2/issues/20
346373
* Minimum required version is now PHP 5.6, as using older versions for HTTPS
347374
requests may be insecure
348375
* Removed support for magic_quotes_runtime, as get_magic_quotes_runtime()
349-
was deprecated in PHP 7.4 and the functionality itself was disabled
376+
was deprecated in PHP 7.4 and the functionality itself was disabled
350377
since PHP 5.4 (bug #23839)
351378
* Socket adapter now uses socket in non-blocking mode, as some configurations
352379
could have problems with timeouts in HTTPS requests (bug #21229)

0 commit comments

Comments
 (0)