Skip to content

Commit

Permalink
2018-02-22, Version 9.6.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* async_hooks:
  - deprecate unsafe emit{Before,After} (Ali Ijaz Sheikh)
    #18513
  - rename PromiseWrap.parentId to PromiseWrap.isChainedPromise
    (Ali Ijaz Sheikh) #18633
* deps:
  - update node-inspect to 1.11.3 (Jan Krems)
    #18354
  - ICU 60.2 bump (Steven R. Loomis)
    #17687
  - Introduce ScriptOrModule and HostDefinedOptions to V8 (Jan Krems)
    #16889
* http:
  - add options to http.createServer() for `IncomingMessage` and
    `ServerReponse` (Peter Marton)
    #15752
* http2:
  - add http fallback options to .createServer (Peter Marton)
    #15752
* https:
  - Adds the remaining options from tls.createSecureContext() to the
    string generated by Agent#getName(). This allows https.request()
    to accept the options and generate unique sockets appropriately.
    (Jeff Principe)
    #16402
* inspector:
  - --inspect-brk for es modules (Guy Bedford)
    #18194
* lib:
  - allow process kill by signal number (Sam Roberts)
    #16944
* module:
  - enable dynamic import (Myles Borins)
    #18387
  - dynamic import is now supported (Jan Krems)
    #15713
* napi:
  - add methods to open/close callback scope (Michael Dawson)
    #18089
* src:
  - allow --perf-(basic-)?prof in NODE_OPTIONS (Leko)
    #17600
* vm:
  - add support for es modules (Gus Caplan)
    #17560

PR-URL: #18902
  • Loading branch information
MylesBorins committed Feb 21, 2018
1 parent 6edf952 commit cb18511
Show file tree
Hide file tree
Showing 9 changed files with 255 additions and 13 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.5.0">9.5.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.6.0">9.6.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.5.0">9.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.4.0">9.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.3.0">9.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.2.1">9.2.1</a><br/>
Expand Down
6 changes: 3 additions & 3 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ class DBQuery extends AsyncResource {

#### `asyncResource.runInAsyncScope(fn[, thisArg, ...args])`
<!-- YAML
added: REPLACEME
added: v9.6.0
-->

* `fn` {Function} The function to call in the execution context of this async
Expand All @@ -688,7 +688,7 @@ then restore the original execution context.

#### `asyncResource.emitBefore()`
<!-- YAML
deprecated: REPLACEME
deprecated: v9.6.0
-->
> Stability: 0 - Deprecated: Use [`asyncResource.runInAsyncScope()`][] instead.
Expand All @@ -706,7 +706,7 @@ alternative.

#### `asyncResource.emitAfter()`
<!-- YAML
deprecated: REPLACEME
deprecated: v9.6.0
-->
> Stability: 0 - Deprecated: Use [`asyncResource.runInAsyncScope()`][] instead.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,7 @@ Found'`.
<!-- YAML
added: v0.1.13
changes:
- version: REPLACEME
- version: v9.6.0
pr-url: https://github.com/nodejs/node/pull/15752
description: The `options` argument is supported now.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/16676
description: Added the `maxHeaderListPairs` option with a default limit of
128 header pairs.
- version: REPLACEME
- version: v9.6.0
pr-url: https://github.com/nodejs/node/pull/15752
description: Added the `Http1IncomingMessage` and `Http1ServerResponse`
option.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3433,7 +3433,7 @@ may be required when implementing custom async behavior that does not use

### *napi_open_callback_scope*
<!-- YAML
added: REPLACEME
added: v9.6.0
-->
```C
NAPI_EXTERN napi_status napi_open_callback_scope(napi_env env,
Expand All @@ -3458,7 +3458,7 @@ the required scope.

### *napi_close_callback_scope*
<!-- YAML
added: REPLACEME
added: v9.6.0
-->
```C
NAPI_EXTERN napi_status napi_close_callback_scope(napi_env env,
Expand Down
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ to mark specific significant moments in the Performance Timeline.

### performance.maxEntries
<!-- YAML
added: REPLACEME
added: v9.6.0
-->

Value: {number}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ console.log(x); // 1; y is not defined.

## Class: vm.Module
<!-- YAML
added: REPLACEME
added: v9.6.0
-->

> Stability: 1 - Experimental
Expand Down
241 changes: 241 additions & 0 deletions doc/changelogs/CHANGELOG_V9.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 9
#define NODE_MINOR_VERSION 5
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 6
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit cb18511

Please sign in to comment.