diff --git a/CHANGELOG.md b/CHANGELOG.md index d3beb24..ae60903 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 2.6.0 (2019-04-03) + +* Feature / Fix: Add `Content-Length: 0` request header for empty `POST` request etc. + (#120 by @clue) + +* Fix: Only try to follow redirects if `Location` response header is present. + (#130 by @clue) + +* Documentation and example for SSH proxy (SSH tunnel) and update SOCKS proxy example. + (#116, #119 and #121 by @clue) + +* Improve test suite and also run tests on PHP 7.3. + (#122 by @samnela) + ## 2.5.0 (2018-10-24) * Feature: Add HTTP timeout option. diff --git a/README.md b/README.md index d207301..ac35b05 100644 --- a/README.md +++ b/README.md @@ -241,7 +241,7 @@ $promise = $browser->get('https://user:pass@example.com/api'); ``` Note that special characters in the authentication details have to be -percent-encoded, see also [`rawurlencode()`](http://php.net/rawurlencode). +percent-encoded, see also [`rawurlencode()`](https://www.php.net/manual/en/function.rawurlencode.php). This example will automatically pass the base64-encoded authentiation details using the outgoing `Authorization: Basic …` request header. If the HTTP endpoint you're talking to requires any other authentication scheme, you can also pass @@ -521,7 +521,7 @@ change the options to use: The [`Browser`](#browser) class exposes several options for the handling of HTTP transactions. These options resemble some of PHP's -[HTTP context options](http://php.net/manual/en/context.http.php) and +[HTTP context options](https://www.php.net/manual/en/context.http.php) and can be controlled via the following API (and their defaults): ```php @@ -701,7 +701,7 @@ This project follows [SemVer](https://semver.org/). This will install the latest supported version: ```bash -$ composer require clue/buzz-react:^2.5 +$ composer require clue/buzz-react:^2.6 ``` See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.