Added
- Added support for providing the
proxyrequest option'snovalue as a comma-delimited string - Added the
protocolsrequest option to restrict allowed URI schemes for request transfers - Added
cert_typeandssl_key_typerequest options for TLS certificate and private-key file types - Added PHP stream handler support for the
ssl_keyrequest option - Added transport sharing via the
transport_sharingclient and cURL handler options
Changed
- Adjusted
guzzlehttp/promisesversion constraint to^2.5 - Adjusted
guzzlehttp/psr7version constraint to^2.11 - Allowed domainless
SetCookieinstances to be stored without wildcard request matching - Changed no-proxy matching to respect request ports for host-and-port rules
- Prevented
CurlMultiHandlerdestructors from throwing during cleanup - Improved invalid response handling across handlers
Deprecated
- Deprecated non-iterable
Poolrequest collections, which will be rejected in 8.0 - Deprecated non-uppercase easy request methods; 8.0 preserves method casing
- Deprecated non-string
headersrequest option values, which will be rejected in 8.0 - Deprecated empty
headersrequest option value arrays, which will be rejected in 8.0 - Deprecated empty and malformed request protocol versions, which will be rejected in 8.0
- Deprecated conflicting raw cURL request options, including
CURLOPT_SHARE, which will be rejected in 8.0 - Deprecated scalar-coerced
idn_conversionrequest option values, which will be rejected in 8.0 - Deprecated invalid documented request option value types, which will be rejected in 8.0
- Deprecated selected request options ignored by incompatible built-in handlers, which will be rejected in 8.0
- Deprecated
RequestException::wrapException(), which will be removed in 8.0 - Deprecated
RetryMiddleware::exponentialDelay(), which will be removed in 8.0