Skip to content

Commit aa7512e

Browse files
committed
Prepare v1.8.0 release
1 parent 14e9c6b commit aa7512e

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 1.8.0 (2022-09-29)
4+
5+
* Feature: Support for default request headers.
6+
(#461 by @51imyy)
7+
8+
```php
9+
$browser = new React\Http\Browser();
10+
$browser = $browser->withHeader('User-Agent', 'ACME');
11+
12+
$browser->get($url)->then(…);
13+
```
14+
15+
* Feature: Forward compatibility with upcoming Promise v3.
16+
(#460 by @clue)
17+
318
## 1.7.0 (2022-08-23)
419

520
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
1934
(#444 by @mrsimonbennett)
2035

2136
* Minor documentation improvements.
22-
(#452 by @clue, #458 by @nhedger, #448 by @jorrit and #446 by @SimonFrings
37+
(#452 by @clue, #458 by @nhedger, #448 by @jorrit and #446 by @SimonFrings)
2338

2439
* Improve test suite, update to use new reactphp/async package instead of clue/reactphp-block,
2540
skip memory tests when lowering memory limit fails and fix legacy HHVM build.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2956,7 +2956,7 @@ This project follows [SemVer](https://semver.org/).
29562956
This will install the latest supported version:
29572957

29582958
```bash
2959-
composer require react/http:^1.7
2959+
composer require react/http:^1.8
29602960
```
29612961

29622962
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

0 commit comments

Comments
 (0)