Skip to content

Releases: WordPress/Requests

Version 2.0.11

25 Mar 10:58
v2.0.11
31435a4
Compare
Choose a tag to compare

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 the Cookie::parse_from_headers() method.
    Classes which extend the Cookie class and overload the parse_from_headers() method should be updated for the new method signature.
    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.
    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

08 Jan 11:23
v2.0.10
bcf1ac7
Compare
Choose a tag to compare

Overview of changes

  • Update bundled certificates as of 2023-12-04. #850

Version 2.0.9

08 Nov 19:34
4226129
Compare
Choose a tag to compare

Overview of changes

Version 2.0.8

11 Sep 08:39
v2.0.8
fae75bc
Compare
Choose a tag to compare

Overview of changes

  • Update bundled certificates as of 2023-08-22. #823
  • Fixed: only force close cURL connection when needed (cURL < 7.22). #656, #657 Props @mircobabini
  • Composer: updated list of suggested PHP extensions to enable. #821
  • README: add information about the PSR-7/PSR-18 wrapper for Requests. #827

Version 2.0.7

02 Jun 07:47
v2.0.7
e14a6f4
Compare
Choose a tag to compare

Overview of changes

  • Update bundled certificates as of 2023-05-30. #809

Version 2.0.6

04 Apr 09:20
v2.0.6
7d0f839
Compare
Choose a tag to compare

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

11 Oct 08:31
v2.0.5
b717f1d
Compare
Choose a tag to compare

Overview of changes

  • Update bundled certificates as of 2022-10-11. #769

Version 2.0.4

25 Jul 09:12
v2.0.4
62bf29e
Compare
Choose a tag to compare

Overview of changes

  • Update bundled certificates as of 2022-07-19. #763

Version 2.0.3

10 May 08:54
v2.0.3
b290dd9
Compare
Choose a tag to compare

Overview of changes

  • Update bundled certificates as of 2022-04-26. #731

Version 2.0.2

28 Mar 15:50
v2.0.2
b01ce7c
Compare
Choose a tag to compare

Overview of changes

  • Update bundled certificates as of 2022-03-18. #697