Releases: aternosorg/php-curl-psr
Releases · aternosorg/php-curl-psr
v2.0.0
- The minimum required PHP version now is 8.5
\Aternos\CurlPsr\Psr7\Urinow is a wrapper around\Uri\Rfc3986\Uri\Aternos\CurlPsr\Psr18\UriResolver\UriResolverInterface->resolvemay now throw\Aternos\CurlPsr\Exception\UriResolutionExceptionInterface
Full Changelog: v1.3.5...v2.0.0
v1.3.5
Full Changelog: v1.3.4...v1.3.5
- Fix CURLOPT_INFILESIZE not being set or empty or no body requests
v1.3.4
Full Changelog: v1.3.3...v1.3.4
- Fix
AuthorizationandCookieheaders not being handled correctly in redirects - Remove stream tell error test because it is seemingly impossible to make ftell return false in PHP 8.5
v1.3.3
What's Changed
- Remove curl_close by @JulianVennen in #1
New Contributors
- @JulianVennen made their first contribution in #1
Full Changelog: v1.3.2...v1.3.3
v1.3.2
Full Changelog: v1.3.1...v1.3.2
- set CURLOPT_NOBODY for HEAD requests
v1.3.1
Full Changelog: v1.3.0...v1.3.1
- remove content-type and content-encoding headers when changing method to GET on redirect
v1.3.0
Full Changelog: v1.2.0...v1.3.0
Redirects
- Redirects no longer always fail when a request body is present, only if it is not seekable
- Status 303 now correctly changes the request method to
GET - Other status codes can be configured to also change the method to
GETusingsetRedirectToGetStatusCodes - Redirects can now be disabled using
setFollowRedirects, which, in contrast to setting the redirect limit to 0, will not throw an exception and instead just return the redirect response
Client
- The
Clientconstructor now accepts two additional optional arguments, aUriFactoryInterfaceand aUriResolverInterface.
v1.2.0
Full Changelog: v1.1.1...v1.2.0
- support setting request http protocol version to 1.1
v1.1.1
Full Changelog: v1.1.0...v1.1.1
- Fix empty strings returned from request body streams being interpreted as EOF
v1.1.0
Full Changelog: v1.0.3...v1.1.0
- allow UploadedFiles to use streams that are not based on files