Skip to content

Commit 4a1e853

Browse files
committed
Prepare v1.7.0 release
1 parent 5f3b58c commit 4a1e853

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

CHANGELOG.md

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

3+
## 1.7.0 (2022-08-23)
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.7.0` and `v1.6.0`. All users are encouraged to upgrade immediately.
9+
Special thanks to Marco Squarcina (TU Wien) for reporting this and working with us to coordinate this release.
10+
(CVE-2022-36032 reported by @lavish and fixed by @clue)
11+
12+
* Feature: Improve HTTP server performance by ~20%, reuse syscall values for clock time and socket addresses.
13+
(#457 and #467 by @clue)
14+
15+
* Feature: Full PHP 8.2+ compatibility, refactor internal `Transaction` to avoid assigning dynamic properties.
16+
(#459 by @clue and #466 by @WyriHaximus)
17+
18+
* Feature / Fix: Allow explicit `Content-Length` response header on `HEAD` requests.
19+
(#444 by @mrsimonbennett)
20+
21+
* Minor documentation improvements.
22+
(#452 by @clue, #458 by @nhedger, #448 by @jorrit and #446 by @SimonFrings
23+
24+
* Improve test suite, update to use new reactphp/async package instead of clue/reactphp-block,
25+
skip memory tests when lowering memory limit fails and fix legacy HHVM build.
26+
(#464 and #440 by @clue and #450 by @SimonFrings)
27+
328
## 1.6.0 (2022-02-03)
429

530
* Feature: Add factory methods for common HTML/JSON/plaintext/XML response types.
@@ -10,7 +35,6 @@
1035
$response = React\Http\Response\json(['message' => 'Hello wörld!']);
1136
$response = React\Http\Response\plaintext("Hello wörld!\n");
1237
$response = React\Http\Response\xml("<message>Hello wörld!</message>\n");
13-
$response = React\Http\Response\redirect('https://reactphp.org/');
1438
```
1539

1640
* Feature: Expose all status code constants via `Response` class.

README.md

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

29262926
```bash
2927-
composer require react/http:^1.6
2927+
composer require react/http:^1.7
29282928
```
29292929

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

0 commit comments

Comments
 (0)