Skip to content

Commit

Permalink
Prepare v1.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Dec 4, 2020
1 parent 7b08b2c commit badb0a8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 1.2.0 (2020-12-04)

* Feature: Keep request body in memory also after consuming request body.
(#395 by @clue)

This means consumers can now always access the complete request body as
detailed in the documentation. This allows building custom parsers and more
advanced processing models without having to mess with the default parsers.

## 1.1.0 (2020-09-11)

* Feature: Support upcoming PHP 8 release, update to reactphp/socket v1.6 and adjust type checks for invalid chunk headers.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ header. If the server requires authentication, if may return a `401` (Unauthoriz
status code which will reject the request by default (see also the
[`withRejectErrorResponse()` method](#withrejecterrorresponse) below).

In order to pass authentication details, you can simple pass the username and
In order to pass authentication details, you can simply pass the username and
password as part of the request URL like this:

```php
Expand Down Expand Up @@ -2185,7 +2185,7 @@ given timeout value applied.

#### withFollowRedirects()

The `withTimeout(bool|int $followRedirects): Browser` method can be used to
The `withFollowRedirects(bool|int $followRedirects): Browser` method can be used to
change how HTTP redirects will be followed.

You can pass in the maximum number of redirects to follow:
Expand Down Expand Up @@ -2732,7 +2732,7 @@ This project follows [SemVer](https://semver.org/).
This will install the latest supported version:

```bash
$ composer require react/http:^1.1
$ composer require react/http:^1.2
```

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

0 comments on commit badb0a8

Please sign in to comment.