Skip to content

Releases: reactphp/http-client

v0.5.1

18 Jun 11:54
Compare
Choose a tag to compare
  • Feature: Emit error event if request URL is invalid
    (#99 by @clue)

  • Feature: Support OPTIONS method with asterisk-form (OPTIONS * HTTP/1.1)
    (#98 by @clue)

  • Improve documentation for event semantics
    (#97 by @clue)

v0.5.0

22 May 13:23
Compare
Choose a tag to compare
  • Feature / BC break: Replace Factory with simple Client constructor
    (#85 by @clue)

    The Client now accepts a required LoopInterface and an optional
    ConnectorInterface. It will now create a default Connector if none
    has been given.

    // old
    $dnsResolverFactory = new React\Dns\Resolver\Factory();
    $dnsResolver = $dnsResolverFactory->createCached('8.8.8.8', $loop);
    $factory = new React\HttpClient\Factory();
    $client = $factory->create($loop, $dnsResolver);
    
    // new
    $client = new React\HttpClient\Client($loop);
  • Feature: Request::close() now cancels pending connection attempt
    (#91 by @clue)

  • Feature / BC break: Replace deprecated SocketClient with new Socket component
    (#74, #84 and #88 by @clue)

  • Feature / BC break: Consistent stream semantics and forward compatibility with upcoming Stream v1.0
    (#90 by @clue)

  • Feature: Forward compatibility with upcoming EventLoop v1.0 and v0.5
    (#89 by @clue)

  • Fix: Catch Guzzle parser exception
    (#82 by @djagya)

v0.4.17

20 Mar 09:59
v0.4.17
Compare
Choose a tag to compare
  • Improvement: Add PHPUnit to require-dev #75 @jsor
  • Fix: Fix chunk header to be case-insensitive and allow leading zeros for end chunk #77 @mdrost

v0.4.16

01 Mar 11:29
v0.4.16
Compare
Choose a tag to compare

v0.4.15

02 Dec 10:20
v0.4.15
Compare
Choose a tag to compare
  • Improvement: Add examples #69 @clue
  • Fix: Ensure checking for 0 length chunk, when we should check for it #71 @WyriHaximus

v0.4.14

28 Oct 18:05
v0.4.14
Compare
Choose a tag to compare
  • Fix: Ensure the first bit of body directly after the headers is emitted into the stream #68 @WyriHaximus

v0.4.13

19 Oct 20:21
v0.4.13
Compare
Choose a tag to compare
  • Fix: Ensure Request emits initial Response data as string #66 @mmelvin0

v0.4.12

06 Oct 13:13
v0.4.12
Compare
Choose a tag to compare
  • Fix: Changed $stream from DuplexStreamInterface to ReadableStreamInterface in Response constructor #63 @WyriHaximus

v0.4.11

15 Sep 21:01
v0.4.11
Compare
Choose a tag to compare

v0.3.2

25 Mar 09:02
Compare
Choose a tag to compare
  • Improvement: Broader guzzle/parser version req @cboden
  • Improvement: Improve forwards compatibility with all supported versions @clue