Skip to content

Commit b996af9

Browse files
committed
Prepare v0.7.0 release
1 parent 5b6bb89 commit b996af9

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

CHANGELOG.md

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

3+
## 0.7.0 (2017-05-04)
4+
5+
* Removed / BC break: Remove deprecated and unneeded functionality
6+
(#45, #87, #90, #91 and #93 by @clue)
7+
8+
* Remove deprecated `Stream` class, use `DuplexResourceStream` instead
9+
(#87 by @clue)
10+
11+
* Remove public `$buffer` property, use new constructor parameters instead
12+
(#91 by @clue)
13+
14+
* Remove public `$stream` property from all resource streams
15+
(#90 by @clue)
16+
17+
* Remove undocumented and now unused `ReadableStream` and `WritableStream`
18+
(#93 by @clue)
19+
20+
* Remove `BufferedSink`
21+
(#45 by @clue)
22+
23+
* Feature / BC break: Simplify `ThroughStream` by using data callback instead of
24+
inheritance. It is now a direct implementation of `DuplexStreamInterface`.
25+
(#88 and #89 by @clue)
26+
27+
```php
28+
$through = new ThroughStream(function ($data) {
29+
return json_encode($data) . PHP_EOL;
30+
});
31+
$through->on('data', $this->expectCallableOnceWith("[2, true]\n"));
32+
33+
$through->write(array(2, true));
34+
```
35+
36+
* Feature / BC break: The `CompositeStream` starts closed if either side is
37+
already closed and forwards pause to pipe source on first write attempt.
38+
(#96 and #103 by @clue)
39+
40+
If either side of the composite stream closes, it will also close the other
41+
side. We now also ensure that if either side is already closed during
42+
instantiation, it will also close the other side.
43+
44+
* BC break: Mark all classes as `final` and
45+
mark internal API as `private` to discourage inheritance
46+
(#95 and #99 by @clue)
47+
48+
* Feature / BC break: Only emit `error` event for fatal errors
49+
(#92 by @clue)
50+
51+
> The `error` event was previously also allowed to be emitted for non-fatal
52+
errors, but our implementations actually only ever emitted this as a fatal
53+
error and then closed the stream.
54+
55+
* Feature: Explicitly allow custom events and exclude any semantics
56+
(#97 by @clue)
57+
58+
* Support legacy PHP 5.3 through PHP 7.1 and HHVM and improve usage documentation
59+
(#100 and #102 by @clue)
60+
61+
* Actually require all dependencies so this is self-contained and improve
62+
forward compatibility with EventLoop v1.0 and v0.5
63+
(#94 and #98 by @clue)
64+
365
## 0.6.0 (2017-03-26)
466

567
* Feature / Fix / BC break: Add `DuplexResourceStream` and deprecate `Stream`

README.md

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

11641164
```bash
1165-
$ composer require react/stream:^0.6
1165+
$ composer require react/stream:^0.7
11661166
```
11671167

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

0 commit comments

Comments
 (0)