8000 Prepare v1.2.0 release · reactphp/stream@7a42350 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a42350

Browse files
committed
Prepare v1.2.0 release
1 parent 9f7c59c commit 7a42350

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

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

3+
## 1.2.0 (2021-07-11)
4+
5+
A major new feature release, see [**release announcement**](https://clue.engineering/2021/announcing-reactphp-default-loop).
6+
7+
* Feature: Simplify usage by supporting new [default loop](https://reactphp.org/event-loop/#loop).
8+
(#159 by @clue)
9+
10+
```php
11+
// old (still supported)
12+
$stream = new ReadableResourceStream($resource, $loop);
13+
$stream = new WritabeResourceStream($resource, $loop);
14+
$stream = new DuplexResourceStream($resource, $loop);
15+
16+
// new (using default loop)
17+
$stream = new ReadableResourceStream($resource);
18+
$stream = new WritabeResourceStream($resource);
19+
$stream = new DuplexResourceStream($resource);
20+
```
21+
22+
* Improve test suite, use GitHub actions for continuous integration (CI),
23+
update PHPUnit config, run tests on PHP 8 and add full core team to the license.
24+
(#153, #156 and #157 by @SimonFrings and #154 by @WyriHaximus)
25+
326
## 1.1.1 (2020-05-04)
427

528
* Fix: Fix faulty write buffer behavior when sending large data chunks over TLS (Mac OS X only).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ This project follows [SemVer](https://semver.org/).
12021202
This will install the latest supported version:
12031203

12041204
```bash
1205-
$ composer require react/stream:^1.1.1
1205+
$ composer require react/stream:^1.2
12061206
```
12071207

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

0 commit comments

Comments
 (0)
0