-
Fix: Minimal fix for PHP 8 (#154 by @remicollet)
-
Documentation: Add deprecation notice to suggest HTTP component instead (#153 by @clue)
-
Fix: Avoid unneeded warning when decoding invalid data on PHP 7.4. (#150 by @clue)
-
Add
.gitattributes
to exclude dev files from exports. (#149 by @reedy) -
Link to clue/reactphp-buzz for higher-level HTTP client. (#139 by @clue)
-
Improve test suite by simplifying test matrix and test setup. (#151 by @clue)
-
Feature: Support legacy HTTP servers that use only
LF
instead ofCRLF
. (#130 by @clue) -
Improve test suite by applying maximum test timeouts for integration tests. (#131 by @clue)
-
Support legacy PHP 5.3 through PHP 7.2 and HHVM (#126 and #127 by @clue)
-
Improve backwards compatibility with Promise v1 and use RingCentral to improve interoperability with react/http. (#124 and #125 by @clue)
-
Fix: Ignore excessive whitespace in chunk header for
Transfer-Encoding: chunked
(#123 by @DangerLifter and @clue) -
Fix: Ignore invalid incoming
Transfer-Encoding
response header (#122 by @clue) -
Improve documentation for
Client
(and advancedConnector
) (#111 by @jsor and #121 by @clue) -
Improve test suite by adding support for PHPUnit 6 (#112 by @carusogabriel)
- Feature: Update Socket component to support HTTP over Unix domain sockets (UDS) (#110 by @clue)
- Fix: Update Socket component to work around sending secure HTTPS requests with PHP < 7.1.4 (#109 by @clue)
-
Feature: Update Socket dependency to support hosts file on all platforms (#108 by @clue)
This means that HTTP requests to hosts such as
localhost
will now work as expected across all platforms with no changes required:$client = new Client($loop); $request = $client->request('GET', 'http://localhost/'); $request->on('response', function (Response $response) { // … }); $request->end();
-
Feature: Target evenement 3.0 a long side 2.0 (#106 by @WyriHaximus)
-
Improve test suite by locking Travis distro so new defaults will not break the build (#105 by @clue)
-
Feature: Support passing arrays for request header values (#100 by @clue)
-
Fix: Fix merging default headers if overwritten with custom case headers (#101 by @clue)
-
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)
-
Feature / BC break: Replace
Factory
with simpleClient
constructor (#85 by @clue)The
Client
now accepts a requiredLoopInterface
and an optionalConnectorInterface
. It will now create a defaultConnector
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)
- 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
- Fix: Trim leading zeros from chunk size #73 @maciejmrozinski
- Improvement: Add examples #69 @clue
- Fix: Ensure checking for 0 length chunk, when we should check for it #71 @WyriHaximus
- Fix: Ensure the first bit of body directly after the headers is emitted into the stream #68 @WyriHaximus
- Fix: Ensure Request emits initial Response data as string #66 @mmelvin0
- Fix: Changed $stream from DuplexStreamInterface to ReadableStreamInterface in Response constructor #63 @WyriHaximus
- Feature: Chunked encoding @WyriHaximus
- Improvement: Update react/socket-client dependency to all supported versions @clue
- Improvement: PHP 7 memory leak, related to PHP bug 71737 @jmalloc
- Improvement: Clean up all listeners when closing request @weichenlin
- Improvement: Avoid hiding exceptions thrown in HttpClient\Request error handlers @arnaud-lb
- Improvement: Set protocol version on request creation @WyriHaximus
- Improvement: Support explicitly using HTTP/1.1 protocol version @clue
- Improvement: Replaced the abandoned guzzle/parser with guzzlehttp/psr7 @WyriHaximus
- Improvement: Emit drain event when the request is ready to receive more data by @arnaud-lb
- Improvement: Added support for using auth informations from URL by @arnaud-lb
- Improvement: Pass Response object on with data emit by @dpovshed
- Improvement: Use EventEmitterTrait instead of base class by @cursedcoder
- Improvement: Changed Stream to DuplexStreamInterface in Response::__construct by @mbonneau
- BC break: Drop unused
Response::getBody()
- BC break: Bump minimum PHP version to PHP 5.4, remove 5.3 specific hacks
- BC break: Remove
$loop
argument fromHttpClient
:Client
,Request
,Response
- BC break: Update to React/Promise 2.0
- Dependency: Autoloading and filesystem structure now PSR-4 instead of PSR-0
- Bump React dependencies to v0.4
- Improvement: Broader guzzle/parser version req @cboden
- Improvement: Improve forwards compatibility with all supported versions @clue
- Bug fix: Correct requirement for socket-client
- BC break: Socket connection handling moved to new SocketClient component
- Bump React dependencies to v0.3
- Version bump
- Feature: Use a promise-based API internally
- Bug fix: Use DNS resolver correctly
- Version bump
- Feature: HTTP client (@arnaud-lb)