|
1 | 1 | Changelog
|
2 | 2 | =========
|
3 | 3 |
|
| 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 | + |
4 | 20 | 2.0.10
|
5 | 21 | ------
|
6 | 22 |
|
@@ -96,7 +112,7 @@ Changelog
|
96 | 112 | - Docs: the Hook documentation has been updated to reflect the current available hooks. [#646]
|
97 | 113 | - General housekeeping. [#635], [#649], [#650], [#653], [#655], [#658], [#660], [#661], [#662], [#669], [#671], [#672], [#674]
|
98 | 114 |
|
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] |
100 | 116 |
|
101 | 117 | [#674]: https://github.com/WordPress/Requests/pull/674
|
102 | 118 | [#672]: https://github.com/WordPress/Requests/pull/672
|
@@ -1014,6 +1030,7 @@ Initial release!
|
1014 | 1030 | [gh-adri]: https://github.com/adri
|
1015 | 1031 | [gh-alpipego]: https://github.com/alpipego/
|
1016 | 1032 | [gh-amandato]: https://github.com/amandato
|
| 1033 | +[gh-ayesh]: https://github.com/Ayesh |
1017 | 1034 | [gh-beutnagel]: https://github.com/beutnagel
|
1018 | 1035 | [gh-carlalexander]: https://github.com/carlalexander
|
1019 | 1036 | [gh-catharsisjelly]: https://github.com/catharsisjelly
|
|
0 commit comments