Download Latest Version Version 2.0.15 source code.zip (233.9 kB)
Email in envelope

Get an email when there's a new version of Requests for PHP

Home / v2.0.11
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-03-25 1.3 kB
Version 2.0.11 source code.tar.gz 2024-03-25 201.6 kB
Version 2.0.11 source code.zip 2024-03-25 233.4 kB
Totals: 3 Items   436.3 kB 0

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.
Source: README.md, updated 2024-03-25