From aa7512ee17258c88466de30f9cb44ec5f9df3ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Thu, 29 Sep 2022 14:55:52 +0200 Subject: [PATCH] Prepare v1.8.0 release --- CHANGELOG.md | 17 ++++++++++++++++- README.md | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bf17e9f..00e2d07e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 1.8.0 (2022-09-29) + +* Feature: Support for default request headers. + (#461 by @51imyy) + + ```php + $browser = new React\Http\Browser(); + $browser = $browser->withHeader('User-Agent', 'ACME'); + + $browser->get($url)->then(…); + ``` + +* Feature: Forward compatibility with upcoming Promise v3. + (#460 by @clue) + ## 1.7.0 (2022-08-23) This is a **SECURITY** and feature release for the 1.x series of ReactPHP's HTTP component. @@ -19,7 +34,7 @@ This is a **SECURITY** and feature release for the 1.x series of ReactPHP's HTTP (#444 by @mrsimonbennett) * Minor documentation improvements. - (#452 by @clue, #458 by @nhedger, #448 by @jorrit and #446 by @SimonFrings + (#452 by @clue, #458 by @nhedger, #448 by @jorrit and #446 by @SimonFrings) * Improve test suite, update to use new reactphp/async package instead of clue/reactphp-block, skip memory tests when lowering memory limit fails and fix legacy HHVM build. diff --git a/README.md b/README.md index 66ea34a8..1df8873f 100644 --- a/README.md +++ b/README.md @@ -2956,7 +2956,7 @@ This project follows [SemVer](https://semver.org/). This will install the latest supported version: ```bash -composer require react/http:^1.7 +composer require react/http:^1.8 ``` See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.