Skip to content

Releases: aternosorg/php-curl-psr

v2.0.0

28 Jan 12:00
3f95778

Choose a tag to compare

  • The minimum required PHP version now is 8.5
  • \Aternos\CurlPsr\Psr7\Uri now is a wrapper around \Uri\Rfc3986\Uri
  • \Aternos\CurlPsr\Psr18\UriResolver\UriResolverInterface->resolve may now throw \Aternos\CurlPsr\Exception\UriResolutionExceptionInterface

Full Changelog: v1.3.5...v2.0.0

v1.3.5

09 Jan 13:36
c1f869d

Choose a tag to compare

Full Changelog: v1.3.4...v1.3.5

  • Fix CURLOPT_INFILESIZE not being set or empty or no body requests

v1.3.4

09 Jan 12:30
bb2f326

Choose a tag to compare

Full Changelog: v1.3.3...v1.3.4

  • Fix Authorization and Cookie headers 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

26 Nov 14:14
4202acf

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.2...v1.3.3

v1.3.2

28 Oct 16:10
9333763

Choose a tag to compare

Full Changelog: v1.3.1...v1.3.2

  • set CURLOPT_NOBODY for HEAD requests

v1.3.1

10 Mar 11:57
b867a2a

Choose a tag to compare

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

09 Mar 20:27
70d8834

Choose a tag to compare

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 GET using setRedirectToGetStatusCodes
  • 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 Client constructor now accepts two additional optional arguments, a UriFactoryInterface and a UriResolverInterface.

v1.2.0

04 Mar 15:54
cee91ea

Choose a tag to compare

Full Changelog: v1.1.1...v1.2.0

  • support setting request http protocol version to 1.1

v1.1.1

18 Feb 12:49
cab1d5d

Choose a tag to compare

Full Changelog: v1.1.0...v1.1.1

  • Fix empty strings returned from request body streams being interpreted as EOF

v1.1.0

07 Feb 13:33
2cb8277

Choose a tag to compare

Full Changelog: v1.0.3...v1.1.0

  • allow UploadedFiles to use streams that are not based on files