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 1
1
# Changelog
2
2
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
+
3
18
## 1.7.0 (2022-08-23)
4
19
5
20
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
19
34
(#444 by @mrsimonbennett)
20
35
21
36
* 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)
23
38
24
39
* Improve test suite, update to use new reactphp/async package instead of clue/reactphp-block,
25
40
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/).
2956
2956
This will install the latest supported version:
2957
2957
2958
2958
``` bash
2959
- composer require react/http:^1.7
2959
+ composer require react/http:^1.8
2960
2960
```
2961
2961
2962
2962
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments