Skip to content

Commit fc53547

Browse files
committed
doc: add changelogs for stream
PR-URL: #11489 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Italo A. Casas <[email protected]>
1 parent c373e07 commit fc53547

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/api/stream.md

+17
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,10 @@ file.end('world!');
380380
##### writable.setDefaultEncoding(encoding)
381381
<!-- YAML
382382
added: v0.11.15
383+
changes:
384+
- version: v6.1.0
385+
pr-url: https://github.com/nodejs/node/pull/5040
386+
description: This method now returns a reference to `writable`.
383387
-->
384388

385389
* `encoding` {String} The new default encoding
@@ -429,6 +433,11 @@ See also: [`writable.cork()`][].
429433
##### writable.write(chunk[, encoding][, callback])
430434
<!-- YAML
431435
added: v0.9.4
436+
changes:
437+
- version: v6.0.0
438+
pr-url: https://github.com/nodejs/node/pull/6170
439+
description: Passing `null` as the `chunk` parameter will always be
440+
considered invalid now, even in object mode.
432441
-->
433442

434443
* `chunk` {String|Buffer} The data to write
@@ -1069,6 +1078,11 @@ myReader.on('readable', () => {
10691078
#### Class: stream.Duplex
10701079
<!-- YAML
10711080
added: v0.9.4
1081+
changes:
1082+
- version: v6.8.0
1083+
pr-url: https://github.com/nodejs/node/pull/8834
1084+
description: Instances of `Duplex` now return `true` when
1085+
checking `instanceof stream.Writable`.
10721086
-->
10731087

10741088
<!--type=class-->
@@ -1190,6 +1204,9 @@ the [API for Stream Consumers][] section). Doing so may lead to adverse
11901204
side effects in application code consuming the stream.
11911205

11921206
### Simplified Construction
1207+
<!-- YAML
1208+
added: v1.2.0
1209+
-->
11931210

11941211
For many simple cases, it is possible to construct a stream without relying on
11951212
inheritance. This can be accomplished by directly creating instances of the

0 commit comments

Comments
 (0)