Skip to content

Commit

Permalink
2018-03-21, Version 9.9.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* assert:
  - From now on all error messages produced by `assert` in strict mode
    will produce a error diff. (Ruben Bridgewater)
    #17615
  - From now on it is possible to use a validation object in throws
    instead of the other possibilities. (Ruben Bridgewater)
    #17584
* crypto:
  - allow passing null as IV unless required (Tobias Nießen)
    #18644
* fs:
  - support as and as+ flags in stringToFlags() (Sarat Addepalli)
    #18801
* tls:
  - expose Finished messages in TLSSocket (Anton Salikhmetov)
    #19102
* tty:
  - Add getColorDepth function to determine if terminal supports colors
    (Ruben Bridgewater) #17615
* util:
  - add util.inspect compact option (Ruben Bridgewater)
    #17576
* **Added new collaborators**
  - [watson](https://github.com/watson) Thomas Watson

PR-URL: #19428
  • Loading branch information
MylesBorins committed Mar 21, 2018
1 parent 81f88e3 commit 0fc3592
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 11 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -31,7 +31,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.8.0">9.8.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.9.0">9.9.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.7.1">9.8.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.7.1">9.7.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.7.0">9.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.6.1">9.6.1</a><br/>
Expand Down
8 changes: 4 additions & 4 deletions doc/api/assert.md
Expand Up @@ -15,12 +15,12 @@ For more information about the used equality comparisons see

## Strict mode
<!-- YAML
added: REPLACEME
added: v9.9.0
changes:
- version: REPLACEME
- version: v9.9.0
pr-url: https://github.com/nodejs/node/pull/17615
description: Added error diffs to the strict mode
- version: REPLACEME
- version: v9.9.0
pr-url: https://github.com/nodejs/node/pull/17002
description: Added strict mode to the assert module.
-->
Expand Down Expand Up @@ -924,7 +924,7 @@ instead of the `AssertionError`.
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v9.9.0
pr-url: https://github.com/nodejs/node/pull/17584
description: The `error` parameter can now be an object as well.
- version: v4.2.0
Expand Down
4 changes: 2 additions & 2 deletions doc/api/crypto.md
Expand Up @@ -1294,7 +1294,7 @@ Adversaries][] for details.
<!-- YAML
added: v0.1.94
changes:
- version: REPLACEME
- version: v9.9.0
pr-url: https://github.com/nodejs/node/pull/18644
description: The `iv` parameter may now be `null` for ciphers which do not
need an initialization vector.
Expand Down Expand Up @@ -1366,7 +1366,7 @@ to create the `Decipher` object.
<!-- YAML
added: v0.1.94
changes:
- version: REPLACEME
- version: v9.9.0
pr-url: https://github.com/nodejs/node/pull/18644
description: The `iv` parameter may now be `null` for ciphers which do not
need an initialization vector.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/tls.md
Expand Up @@ -585,7 +585,7 @@ For Example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`

### tlsSocket.getFinished()
<!-- YAML
added: REPLACEME
added: v9.9.0
-->

* Returns: {Buffer|undefined} The latest `Finished` message that has been
Expand Down Expand Up @@ -647,7 +647,7 @@ If the peer does not provide a certificate, an empty object will be returned.

### tlsSocket.getPeerFinished()
<!-- YAML
added: REPLACEME
added: v9.9.0
-->

* Returns: {Buffer|undefined} The latest `Finished` message that is expected
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tty.md
Expand Up @@ -123,7 +123,7 @@ is updated whenever the `'resize'` event is emitted.

### writeStream.getColorDepth([env])
<!-- YAML
added: REPLACEME
added: v9.9.0
-->

* `env` {Object} A object containing the environment variables to check.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Expand Up @@ -348,7 +348,7 @@ changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/17907
description: The `depth` default changed to Infinity.
- version: REPLACEME
- version: v9.9.0
pr-url: https://github.com/nodejs/node/pull/17576
description: The `compact` option is supported now.
- version: v6.6.0
Expand Down
159 changes: 159 additions & 0 deletions doc/changelogs/CHANGELOG_V9.md

Large diffs are not rendered by default.

0 comments on commit 0fc3592

Please sign in to comment.