From e11eef9c82595a42a8523252bafe4bb5cbfb306d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Fri, 25 Aug 2017 14:18:51 +0200 Subject: [PATCH] Prepare v0.5.4 release --- CHANGELOG.md | 24 ++++++++++++++++++++++-- README.md | 9 +++++++-- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a03f2d0..e4b877e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,30 @@ # Changelog -## 0.5.2 (2017-08-16) +## 0.5.4 (2017-08-25) -* Improvement: Target evenement 3.0 a long side 2.0 +* 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(); + ``` + +## 0.5.3 (2017-08-16) + +* 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 + (#211 by @clue) + ## 0.5.2 (2017-06-27) * Feature: Support passing arrays for request header values diff --git a/README.md b/README.md index c8b4e49..82845b2 100644 --- a/README.md +++ b/README.md @@ -106,10 +106,15 @@ The recommended way to install this library is [through Composer](http://getcomp This will install the latest supported version: ```bash -$ composer require react/http-client:^0.5.3 +$ composer require react/http-client:^0.5.4 ``` -More details about version upgrades can be found in the [CHANGELOG](CHANGELOG.md). +See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades. + +This project aims to run on any platform and thus does not require any PHP +extensions and supports running on legacy PHP 5.3 through current PHP 7+ and +HHVM. +It's *highly recommended to use PHP 7+* for this project. ## Tests