Skip to content

Commit 7dc3208

Browse files
committed
Prepare v2.8.0 release
1 parent 91b69d4 commit 7dc3208

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

CHANGELOG.md

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

3+
## 2.8.0 (2020-05-13)
4+
5+
* Feature: Use HTTP/1.1 protocol version by default and add new `Browser::withProtocolVersion()`.
6+
(#162 by @clue)
7+
8+
This is the preferred HTTP protocol version which also provides decent
9+
backwards-compatibility with legacy HTTP/1.0 servers. As such, there should
10+
rarely be a need to explicitly change this protocol version. You can revert
11+
to legacy HTTP/1.0 like this:
12+
13+
```php
14+
$browser->withProtocolVersion('1.0')->get($url)->then(…);
15+
```
16+
17+
* Feature / Fix: Explicitly close connection after response body ends.
18+
(#161 by @clue)
19+
20+
This improves support for servers ignoring the `Connection: close` request
21+
header that would otherwise keep the connection open and could eventually
22+
run into a timeout even though the transfer was completed.
23+
24+
* Fixed small issue in code example.
25+
(#160 by @mmoreram)
26+
27+
* Clean up test suite and add `.gitattributes` to exclude dev files from exports.
28+
(#163 by @SimonFrings)
29+
330
## 2.7.0 (2020-02-26)
431

532
* Feature: Add backpressure support and support throttling for streaming outgoing chunked request body.

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ mess with most of the low-level details.
3333

3434
**Table of contents**
3535

36+
* [Support us](#support-us)
3637
* [Quickstart example](#quickstart-example)
3738
* [Usage](#usage)
3839
* [Browser](#browser)
@@ -63,6 +64,16 @@ mess with most of the low-level details.
6364
* [Tests](#tests)
6465
* [License](#license)
6566

67+
## Support us
68+
69+
We invest a lot of time developing, maintaining and updating our awesome
70+
open-source projects. You can help us sustain this high-quality of our work by
71+
[becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get
72+
numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)
73+
for details.
74+
75+
Let's take these projects to the next level together! 🚀
76+
6677
## Quickstart example
6778

6879
Once [installed](#install), you can use the following code to access a
@@ -757,7 +768,7 @@ This project follows [SemVer](https://semver.org/).
757768
This will install the latest supported version:
758769

759770
```bash
760-
$ composer require clue/buzz-react:^2.7
771+
$ composer require clue/buzz-react:^2.8
761772
```
762773

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

0 commit comments

Comments
 (0)