Requests for PHP Versions Save

Requests for PHP is a humble HTTP request library. It simplifies how you interact with other sites and takes away all your worries.

v2.0.11

2 months ago

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.

v2.0.10

4 months ago

Overview of changes

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

v2.0.9

6 months ago

Overview of changes

  • Hotfix: Rollback changes from PR #657. #839 Props @tomsommer & @laszlof

v2.0.8

8 months ago

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

v2.0.7

11 months ago

Overview of changes

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

v2.0.6

1 year ago

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.

v2.0.5

1 year ago

Overview of changes

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

v2.0.4

1 year ago

Overview of changes

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

v2.0.3

2 years ago

Overview of changes

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

v2.0.2

2 years ago

Overview of changes

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