summaryrefslogtreecommitdiff
path: root/doc/api/n-api.md
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2018-07-03 09:44:13 +0200
committerMichaël Zasso <targos@protonmail.com>2018-07-04 20:06:26 +0200
commit7951e6d26b2c2036a8d6dbb92b395f9e15d90e14 (patch)
treec5c6371954d74a3aec350feed2bbf349b85e401e /doc/api/n-api.md
parentecba4fa743d2c991ee665c3964913cfa5c30a8f8 (diff)
downloadandroid-node-v8-7951e6d26b2c2036a8d6dbb92b395f9e15d90e14.tar.gz
android-node-v8-7951e6d26b2c2036a8d6dbb92b395f9e15d90e14.tar.bz2
android-node-v8-7951e6d26b2c2036a8d6dbb92b395f9e15d90e14.zip
2018-07-04, Version 10.6.0 (Current)
Notable changes: * dns: * An experimental promisified version of the dns module is now available. Give it a try with `require('dns').promises`. [#21264](https://github.com/nodejs/node/pull/21264) * fs: * `fs.lchown` has been undeprecated now that libuv supports it. [#21498](https://github.com/nodejs/node/pull/21498) * lib: * `Atomics.wake` is being renamed to `Atomics.notify` in the ECMAScript specification ([reference](https://github.com/tc39/ecma262/pull/1220)). Since Node.js now has experimental support for worker threads, we are being proactive and added a `notify` alias, while emitting a warning if `wake` is used. [#21413](https://github.com/nodejs/node/pull/21413) [#21518](https://github.com/nodejs/node/pull/21518) * n-api: * Add API for asynchronous functions. [#17887](https://github.com/nodejs/node/pull/17887) * util: * `util.inspect` is now able to return a result instead of throwing when the maximum call stack size is exceeded during inspection. [#20725](https://github.com/nodejs/node/pull/20725) * vm: * Add `script.createCachedData()`. This API replaces the `produceCachedData` option of the `Script` constructor that is now deprecated. [#20300](https://github.com/nodejs/node/pull/20300) * worker: * Support for relative paths has been added to the `Worker` constructor. Paths are interpreted relative to the current working directory. [#21407](https://github.com/nodejs/node/pull/21407) PR-URL: https://github.com/nodejs/node/pull/21629
Diffstat (limited to 'doc/api/n-api.md')
-rw-r--r--doc/api/n-api.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md
index fe738f90a4..0d3fdc3a07 100644
--- a/doc/api/n-api.md
+++ b/doc/api/n-api.md
@@ -4045,7 +4045,7 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and
> Stability: 1 - Experimental
<!-- YAML
-added: REPLACEME
+added: v10.6.0
-->
```C
NAPI_EXTERN napi_status
@@ -4088,7 +4088,7 @@ parameters and with `undefined` as its `this` value.
> Stability: 1 - Experimental
<!-- YAML
-added: REPLACEME
+added: v10.6.0
-->
```C
NAPI_EXTERN napi_status
@@ -4106,7 +4106,7 @@ This API may be called from any thread which makes use of `func`.
> Stability: 1 - Experimental
<!-- YAML
-added: REPLACEME
+added: v10.6.0
-->
```C
NAPI_EXTERN napi_status
@@ -4134,7 +4134,7 @@ This API may be called from any thread which makes use of `func`.
> Stability: 1 - Experimental
<!-- YAML
-added: REPLACEME
+added: v10.6.0
-->
```C
NAPI_EXTERN napi_status
@@ -4156,7 +4156,7 @@ This API may be called from any thread which will start making use of `func`.
> Stability: 1 - Experimental
<!-- YAML
-added: REPLACEME
+added: v10.6.0
-->
```C
NAPI_EXTERN napi_status
@@ -4184,7 +4184,7 @@ This API may be called from any thread which will stop making use of `func`.
> Stability: 1 - Experimental
<!-- YAML
-added: REPLACEME
+added: v10.6.0
-->
```C
NAPI_EXTERN napi_status
@@ -4205,7 +4205,7 @@ This API may only be called from the main thread.
> Stability: 1 - Experimental
<!-- YAML
-added: REPLACEME
+added: v10.6.0
-->
```C
NAPI_EXTERN napi_status