File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 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
520This 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.
Original file line number Diff line number Diff line change @@ -2956,7 +2956,7 @@ This project follows [SemVer](https://semver.org/).
29562956This 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
29622962See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments