Skip to content

Commit

Permalink
Prepare v2.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed May 13, 2020
1 parent 91b69d4 commit 7dc3208
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 2.8.0 (2020-05-13)

* Feature: Use HTTP/1.1 protocol version by default and add new `Browser::withProtocolVersion()`.
(#162 by @clue)

This is the preferred HTTP protocol version which also provides decent
backwards-compatibility with legacy HTTP/1.0 servers. As such, there should
rarely be a need to explicitly change this protocol version. You can revert
to legacy HTTP/1.0 like this:

```php
$browser->withProtocolVersion('1.0')->get($url)->then(…);
```

* Feature / Fix: Explicitly close connection after response body ends.
(#161 by @clue)

This improves support for servers ignoring the `Connection: close` request
header that would otherwise keep the connection open and could eventually
run into a timeout even though the transfer was completed.

* Fixed small issue in code example.
(#160 by @mmoreram)

* Clean up test suite and add `.gitattributes` to exclude dev files from exports.
(#163 by @SimonFrings)

## 2.7.0 (2020-02-26)

* Feature: Add backpressure support and support throttling for streaming outgoing chunked request body.
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ mess with most of the low-level details.

**Table of contents**

* [Support us](#support-us)
* [Quickstart example](#quickstart-example)
* [Usage](#usage)
* [Browser](#browser)
Expand Down Expand Up @@ -63,6 +64,16 @@ mess with most of the low-level details.
* [Tests](#tests)
* [License](#license)

## Support us

We invest a lot of time developing, maintaining and updating our awesome
open-source projects. You can help us sustain this high-quality of our work by
[becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get
numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)
for details.

Let's take these projects to the next level together! 🚀

## Quickstart example

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

```bash
$ composer require clue/buzz-react:^2.7
$ composer require clue/buzz-react:^2.8
```

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

0 comments on commit 7dc3208

Please sign in to comment.