|
1 | 1 | # Changelog
|
2 | 2 |
|
| 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 | + |
3 | 28 | ## 1.6.0 (2022-02-03)
|
4 | 29 |
|
5 | 30 | * Feature: Add factory methods for common HTML/JSON/plaintext/XML response types.
|
|
10 | 35 | $response = React\Http\Response\json(['message' => 'Hello wörld!']);
|
11 | 36 | $response = React\Http\Response\plaintext("Hello wörld!\n");
|
12 | 37 | $response = React\Http\Response\xml("<message>Hello wörld!</message>\n");
|
13 |
| - $response = React\Http\Response\redirect('https://reactphp.org/'); |
14 | 38 | ```
|
15 | 39 |
|
16 | 40 | * Feature: Expose all status code constants via `Response` class.
|
|
0 commit comments