Skip to content

Commit aac319b

Browse files
committed
Prepare v0.4.4 release
1 parent acc7a22 commit aac319b

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Changelog
22

3+
## 0.4.4 (2017-02-13)
4+
5+
* Feature: Add request header accessors (à la PSR-7)
6+
(#103 by @clue)
7+
8+
```php
9+
// get value of host header
10+
$host = $request->getHeaderLine('Host');
11+
12+
// get list of all cookie headers
13+
$cookies = $request->getHeader('Cookie');
14+
```
15+
16+
* Feature: Forward `pause()` and `resume()` from `Request` to underlying connection
17+
(#110 by @clue)
18+
19+
```php
20+
// support back-pressure when piping request into slower destination
21+
$request->pipe($dest);
22+
23+
// manually pause/resume request
24+
$request->pause();
25+
$request->resume();
26+
```
27+
28+
* Fix: Fix `100-continue` to be handled case-insensitive and ignore it for HTTP/1.0.
29+
Similarly, outgoing response headers are now handled case-insensitive, e.g
30+
we no longer apply chunked transfer encoding with mixed-case `Content-Length`.
31+
(#107 by @clue)
32+
33+
```php
34+
// now handled case-insensitive
35+
$request->expectsContinue();
36+
37+
// now works just like properly-cased header
38+
$response->writeHead($status, array('content-length' => 0));
39+
```
40+
41+
* Fix: Do not emit empty `data` events and ignore empty writes in order to
42+
not mess up chunked transfer encoding
43+
(#108 and #112 by @clue)
44+
45+
* Lock and test minimum required dependency versions and support PHPUnit v5
46+
(#113, #115 and #114 by @andig)
47+
348
## 0.4.3 (2017-02-10)
449

550
* Fix: Do not take start of body into account when checking maximum header size

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ The recommended way to install this library is [through Composer](http://getcomp
199199
This will install the latest supported version:
200200

201201
```bash
202-
$ composer require react/http:^0.4.3
202+
$ composer require react/http:^0.4.4
203203
```
204204

205205
More details about version upgrades can be found in the [CHANGELOG](CHANGELOG.md).

0 commit comments

Comments
 (0)