Releases: WordPress/Requests
Releases · WordPress/Requests
Version 2.0.14
Overview of changes
- Update bundled certificates as of 2024-11-26. #910
- Confirmed compatibility with PHP 8.4.
No new changes were needed, so Request 2.0.11 and higher can be considered compatible with PHP 8.4. - Various other general housekeeping.
Version 2.0.13
Overview of changes
- Update bundled certificates as of 2024-09-24. #900
- Various minor documentation improvements and other general housekeeping.
Version 2.0.12
Overview of changes
- Update bundled certificates as of 2024-07-02. #877
Version 2.0.11
Overview of changes
- Update bundled certificates as of 2024-03-11. #864
- Fixed: PHP 8.4 deprecation of the two parameter signature of
stream_context_set_option()
. #822 Props @jrfnl - Fixed: PHP 8.4 deprecation of implicitly nullable parameter. #865 Props @Ayesh, @jrfnl
⚠️ Note: this fix constitutes an, albeit small, breaking change to the signature of theCookie::parse_from_headers()
method.
Classes which extend theCookie
class and overload theparse_from_headers()
method should be updated for the new method signature.
Additionally, if code calling theCookie::parse_from_headers()
method would be wrapped in atry - catch
to catch a potential PHPTypeError
(PHP 7.0+) orException
(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 potentialWpOrg\Requests\Exception\InvalidArgumentException
.
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.
Version 2.0.10
Overview of changes
- Update bundled certificates as of 2023-12-04. #850
Version 2.0.9
Overview of changes
- Hotfix: Rollback changes from PR #657. #839 Props @tomsommer & @laszlof
Version 2.0.8
Overview of changes
Version 2.0.7
Overview of changes
- Update bundled certificates as of 2023-05-30. #809
Version 2.0.6
Overview of changes
- Update bundled certificates as of 2023-01-10. #791
- Fix typo in deprecation notice. #785 Props @costdev
- Minor internal improvements for passing the correct type to function calls. #779
- Confirmed compatibility with PHP 8.2.
No changes were needed, so Request 2.0.1 and higher can be considered compatible with PHP 8.2. - Various documentation improvements and other general housekeeping.
Version 2.0.5
Overview of changes
- Update bundled certificates as of 2022-10-11. #769