Skip to content

Commit

Permalink
2019-05-28, Version 10.16.0 'Dubnium' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

- deps:
  - icu 63.1 bump (CLDR 34) (Steven R. Loomis)
    [#23715](#23715)
  - upgrade npm to 6.9.0 (Kat Marchán)
    [#26244](#26244)
  - upgrade openssl sources to 1.1.1a (Sam Roberts)
    [#25381](#25381)
  - upgrade to libuv 1.24.1 (cjihrig)
    [#25078](#25078)
- events: add once method to use promises with EventEmitter
  (Matteo Collina) [#26078](#26078)
- n-api: mark thread-safe function as stable (Gabriel Schulhof)
  [#25556](#25556)
- repl: support top-level for-await-of (Shelley Vohr)
  [#23841](#23841)
- zlib:
  - add brotli support (Anna Henningsen)
  [#24938](#24938)

PR-URL: #27514
  • Loading branch information
BethGriggs committed May 28, 2019
1 parent 99e969e commit 9bc1d75
Show file tree
Hide file tree
Showing 13 changed files with 399 additions and 27 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V12.md#12.0.0">12.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.15.3">10.15.3</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.16.0">10.16.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.15.3">10.15.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.15.2">10.15.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.15.1">10.15.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.15.0">10.15.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ emitter.emit('log');

## events.once(emitter, name)
<!-- YAML
added: REPLACEME
added: v10.16.0
-->
* `emitter` {EventEmitter}
* `name` {string}
Expand Down
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ argument to `fs.createReadStream()`. If `path` is passed as a string, then

### readStream.pending
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

* {boolean}
Expand Down Expand Up @@ -845,7 +845,7 @@ argument to [`fs.createWriteStream()`][]. If `path` is passed as a string, then

### writeStream.pending
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

* {boolean}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ the `'aborted'` event will have been emitted.

#### http2stream.bufferSize
<!-- YAML
added: REPLACEME
added: v10.16.0
-->
* {number}

Expand Down
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ available to the module code.
| v6.x | | | v6.14.2* | |
| v8.x | v8.0.0* | v8.10.0* | v8.11.2 | |
| v9.x | v9.0.0* | v9.3.0* | v9.11.0* | |
| v10.x | | | v10.0.0 | REPLACEME |
| v10.x | | | v10.0.0 | v10.16.0 |
| v11.x | | | v11.0.0 | v11.8.0 |

\* Indicates that the N-API version was released as experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ Useful to throttle back an upload.

### socket.pending
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

* {boolean}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ The `rl.write()` method will write the data to the `readline` `Interface`'s

### rl\[Symbol.asyncIterator\]()
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 2 additions & 2 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/18438
description: >
Add `emitClose` option to specify if `'close'` is emitted on destroy
- version: REPLACEME
- version: v10.16.0
pr-url: https://github.com/nodejs/node/pull/22795
description: >
Add `autoDestroy` option to automatically `destroy()` the stream
Expand Down Expand Up @@ -1791,7 +1791,7 @@ constructor and implement the `readable._read()` method.
#### new stream.Readable([options])
<!-- YAML
changes:
- version: REPLACEME
- version: v10.16.0
pr-url: https://github.com/nodejs/node/pull/22795
description: >
Add `autoDestroy` option to automatically `destroy()` the stream
Expand Down
4 changes: 2 additions & 2 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ similar to:
<!-- YAML
added: v0.11.3
changes:
- version: REPLACEME
- version: v10.16.0
pr-url: https://github.com/nodejs/node/pull/25517
description: The `timeout` option is supported now.
- version: v8.0.0
Expand Down Expand Up @@ -1112,7 +1112,7 @@ argument.
<!-- YAML
added: v0.11.13
changes:
- version: REPLACEME
- version: v10.16.0
pr-url: https://github.com/nodejs/node/pull/24405
description: The `minVersion` and `maxVersion` can be used to restrict
the allowed TLS protocol versions.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ of columns and rows in the corresponding [TTY](tty.html).

### writeStream.hasColors([count][, env])
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

* `count` {integer} The number of colors that are requested (minimum 2).
Expand Down
22 changes: 11 additions & 11 deletions doc/api/zlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Compression strategy.

### Brotli constants
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

There are several options and other constants available for Brotli-based
Expand Down Expand Up @@ -411,7 +411,7 @@ See the description of `deflateInit2` and `inflateInit2` at

## Class: BrotliOptions
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

<!--type=misc-->
Expand All @@ -438,14 +438,14 @@ const stream = zlib.createBrotliCompress({

## Class: zlib.BrotliCompress
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

Compress data using the Brotli algorithm.

## Class: zlib.BrotliDecompress
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

Decompress data using the Brotli algorithm.
Expand Down Expand Up @@ -526,7 +526,7 @@ the header.
<!-- YAML
added: v0.5.8
changes:
- version: REPLACEME
- version: v10.16.0
pr-url: https://github.com/nodejs/node/pull/24939
description: This class was renamed from `Zlib` to `ZlibBase`.
-->
Expand Down Expand Up @@ -620,7 +620,7 @@ Provides an object enumerating Zlib-related constants.

## zlib.createBrotliCompress([options])
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

* `options` {brotli options}
Expand All @@ -629,7 +629,7 @@ Creates and returns a new [`BrotliCompress`][] object.

## zlib.createBrotliDecompress([options])
<!-- YAML
added: REPLACEME
added: v10.16.0
-->

* `options` {brotli options}
Expand Down Expand Up @@ -720,15 +720,15 @@ without a callback.

### zlib.brotliCompress(buffer[, options], callback)
<!-- YAML
added: REPLACEME
added: v10.16.0
-->
* `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string}
* `options` {brotli options}
* `callback` {Function}

### zlib.brotliCompressSync(buffer[, options])
<!-- YAML
added: REPLACEME
added: v10.16.0
-->
* `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string}
* `options` {brotli options}
Expand All @@ -737,15 +737,15 @@ Compress a chunk of data with [`BrotliCompress`][].

### zlib.brotliDecompress(buffer[, options], callback)
<!-- YAML
added: REPLACEME
added: v10.16.0
-->
* `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string}
* `options` {brotli options}
* `callback` {Function}

### zlib.brotliDecompressSync(buffer[, options])
<!-- YAML
added: REPLACEME
added: v10.16.0
-->
* `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string}
* `options` {brotli options}
Expand Down
Loading

0 comments on commit 9bc1d75

Please sign in to comment.