Skip to content

Releases: php-http/client-common

2.7.1

30 Nov 10:32
@dbu dbu
2.7.1
Compare
Choose a tag to compare
  • Allow installation with Symfony 7.

2.7.0

17 May 06:47
@dbu dbu
2.7.0
Compare
Choose a tag to compare
  • Dropped php-http/message-factory from composer requirements as it is abandoned and this package does not actually use it.

2.6.1

14 Apr 13:31
@dbu dbu
2.6.1
Compare
Choose a tag to compare
  • Allow installation with http-message (PSR-7) version 2 in addition to version 1.
  • Support for PHP 8.2

2.6.0

29 Sep 10:01
@dbu dbu
2.6.0
45db684
Compare
Choose a tag to compare
  • [RedirectPlugin] Redirection of non GET/HEAD requests with a body now removes the body on follow-up requests, if the
    HTTP method changes. To do this, the plugin needs to find a PSR-7 stream implementation. If none is found, you can
    explicitly pass a PSR-17 StreamFactoryInterface in the stream_factory option.
    To keep sending the body in all cases, set the stream_factory option to null explicitly.

2.5.1

29 Sep 07:54
@dbu dbu
2.5.1
Compare
Choose a tag to compare
  • [RedirectPlugin] Fixed handling of redirection to different domain with default port
  • [RedirectPlugin] Fixed false positive circular detection in RedirectPlugin in cases when target location does not contain path

2.5.0

26 Nov 15:02
@dbu dbu
2.5.0
Compare
Choose a tag to compare

Added

  • Support for Symfony 6
  • Support for PHP 8.1

Changed

  • Dropped support for Symfony 2 and 3 - please keep using version 2.4.0 of this library if you can't update Symfony.

1.11.0

11 Jul 14:35
@dbu dbu
1.11.0
Compare
Choose a tag to compare
  • Backported from version 2: AddPathPlugin: Do not add the prefix if the URL already has the same prefix.

2.4.0

05 Jul 08:20
@dbu dbu
2.4.0
Compare
Choose a tag to compare

Added

  • strict option to RedirectPlugin to allow preserving the request method on redirections with status 300, 301 and 302.

2.3.0

21 Jul 10:05
@dbu dbu
2.3.0
e37e46c
Compare
Choose a tag to compare

Fixed

  • HttpMethodsClient with PSR RequestFactory
  • Bug in the cookie plugin with empty cookies
  • Bug when parsing null-valued date headers

Changed

  • Deprecation when constructing a HttpMethodsClient with PSR RequestFactory but without a StreamFactory

2.2.1

13 Jul 15:40
@dbu dbu
2.2.1
d70de2f
Compare
Choose a tag to compare

Fixed

  • Support for PHP 8
  • Plugin callable phpdoc