File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.9.0 (2023-04-26)
4
+
5
+ This is a ** SECURITY** and feature release for the 1.x series of ReactPHP's HTTP component.
6
+
7
+ * Security fix: This release fixes a medium severity security issue in ReactPHP's HTTP server component
8
+ that affects all versions between ` v0.8.0 ` and ` v1.8.0 ` . All users are encouraged to upgrade immediately.
9
+ (CVE-2023 -26044 reported and fixed by @WyriHaximus )
10
+
11
+ * Feature: Support HTTP keep-alive for HTTP client (reusing persistent connections).
12
+ (#481 , #484 , #486 and #495 by @clue )
13
+
14
+ This feature offers significant performance improvements when sending many
15
+ requests to the same host as it avoids recreating the underlying TCP/IP
16
+ connection and repeating the TLS handshake for secure HTTPS requests.
17
+
18
+ ``` php
19
+ $browser = new React\Http\Browser();
20
+
21
+ // Up to 300% faster! HTTP keep-alive is enabled by default
22
+ $response = React\Async\await($browser->get('https://httpbingo.org/redirect/6'));
23
+ assert($response instanceof Psr\Http\Message\ResponseInterface);
24
+ ```
25
+
26
+ * Feature: Add `Request` class to represent outgoing HTTP request message.
27
+ (#480 by @clue)
28
+
29
+ * Feature: Preserve request method and body for `307 Temporary Redirect` and `308 Permanent Redirect`.
30
+ (#442 by @dinooo13)
31
+
32
+ * Feature: Include buffer logic to avoid dependency on reactphp/promise-stream.
33
+ (#482 by @clue)
34
+
35
+ * Improve test suite and project setup and report failed assertions.
36
+ (#478 by @clue, #487 and #491 by @WyriHaximus and #475 and #479 by @SimonFrings)
37
+
3
38
## 1.8.0 (2022-09-29)
4
39
5
40
* Feature: Support for default request headers.
Original file line number Diff line number Diff line change @@ -2976,7 +2976,7 @@ This project follows [SemVer](https://semver.org/).
2976
2976
This will install the latest supported version:
2977
2977
2978
2978
``` bash
2979
- composer require react/http:^1.8
2979
+ composer require react/http:^1.9
2980
2980
```
2981
2981
2982
2982
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments