Skip to content

Commit 31435a4

Browse files
authored
Merge pull request #867 from WordPress/feature/changelog-2.0.11
2 parents d53d421 + 72f3a78 commit 31435a4

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Diff for: CHANGELOG.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
Changelog
22
=========
33

4+
2.0.11
5+
------
6+
7+
### Overview of changes
8+
- Update bundled certificates as of 2024-03-11. [#864]
9+
- Fixed: PHP 8.4 deprecation of the two parameter signature of `stream_context_set_option()`. [#822] Props [@jrfnl][gh-jrfnl]
10+
- Fixed: PHP 8.4 deprecation of implicitly nullable parameter. [#865] Props [@Ayesh][gh-ayesh], [@jrfnl][gh-jrfnl]
11+
Note: this fix constitutes an, albeit small, breaking change to the signature of the `Cookie::parse_from_headers()` method.
12+
Classes which extend the `Cookie` class and overload the `parse_from_headers()` method should be updated for the new method signature.
13+
Additionally, if code calling the `Cookie::parse_from_headers()` method would be wrapped in a `try - catch` to catch a potential PHP `TypeError` (PHP 7.0+) or `Exception` (PHP < 7.0) for when invalid data was passed as the `$origin` parameter, this code will need to be updated to now also catch a potential `WpOrg\Requests\Exception\InvalidArgumentException`.
14+
As due diligence could not find any classes which would be affected by this BC-break, we have deemed it acceptable to include this fix in the 2.0.11 release.
15+
16+
[#822]: https://github.com/WordPress/Requests/pull/822
17+
[#864]: https://github.com/WordPress/Requests/pull/864
18+
[#865]: https://github.com/WordPress/Requests/pull/865
19+
420
2.0.10
521
------
622

@@ -96,7 +112,7 @@ Changelog
96112
- Docs: the Hook documentation has been updated to reflect the current available hooks. [#646]
97113
- General housekeeping. [#635], [#649], [#650], [#653], [#655], [#658], [#660], [#661], [#662], [#669], [#671], [#672], [#674]
98114

99-
Props [@alpipego][gh-alpipego], [@costdev][gh-costdev], [@jegrandet][gh-jegrandet] [@jrfnl][gh-jrfnl], [@schlessera][gh-schlessera]
115+
Props [@alpipego][gh-alpipego], [@costdev][gh-costdev], [@jegrandet][gh-jegrandet], [@jrfnl][gh-jrfnl], [@schlessera][gh-schlessera]
100116

101117
[#674]: https://github.com/WordPress/Requests/pull/674
102118
[#672]: https://github.com/WordPress/Requests/pull/672
@@ -1014,6 +1030,7 @@ Initial release!
10141030
[gh-adri]: https://github.com/adri
10151031
[gh-alpipego]: https://github.com/alpipego/
10161032
[gh-amandato]: https://github.com/amandato
1033+
[gh-ayesh]: https://github.com/Ayesh
10171034
[gh-beutnagel]: https://github.com/beutnagel
10181035
[gh-carlalexander]: https://github.com/carlalexander
10191036
[gh-catharsisjelly]: https://github.com/catharsisjelly

Diff for: src/Requests.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class Requests {
148148
*
149149
* @var string
150150
*/
151-
const VERSION = '2.0.10';
151+
const VERSION = '2.0.11';
152152

153153
/**
154154
* Selected transport name

0 commit comments

Comments
 (0)