Releases · chillerlan/php-httpinterface

6.0.0

5.0.1

  • added logging in the Client::sendRequest() method of CurlClient and StreamClient
  • updated PSR-3 logger dependency to allow the newer PHP8 only releases (see php-fig/log#76)
  • removed Travis CI </3

5.0.0

4.0.0

  • Major cleanup™ & moving things
    • use function/const everywhere
    • reduced complexity
    • code coverage
  • removed classes & methods
    • HTTPClientInterface
      • HTTPClientInterface::request()
  • added:
    • Psr18\LoggingClient
    • Psr18\URLExtractor
    • CurlUtils\CurlHandleInterface
    • CurlUtils\CurlMultiClient (a "Rolling-Curl" client that supports PSR-7 messages)
  • composer dependency updates

The next major version will target PHP >= 7.4

3.1.2

  • the Psr7 message helper functions get_json(), get_xml(), message_to_string() and decompress_content() now rewind the body after reading
  • dependency updates
  • cleanup

3.1.1

  • reversed the priority order in PriorityQueueRequestHandler
  • fixed a bug that would leave HTTPOptions::$ca_info/CURLOPT_CAINFO undefined in certain cases (#2)

3.1.0

  • PSR-15 server request handler & middleware support
  • split the non PSR methods of Psr7\Uri into a separate class Psr7\UriExtended
  • Psr7\get_xml() now has a $assoc parameter to return an associative array, like its counterpart Psr7\get_json()
  • additional PSR-17 integration tests
  • PHPUnit 8, PHP 7.4 tests
  • added backslashes in front of PHP built-in functions to improve performance
  • several doc fixes

3.0.1

  • added Psr7\decompress_content()

3.0.0

  • finally PSR-7, PSR-17, PSR-18
  • changes™ :octocat:

2.0.0