Skip to content

Commit 1f713d6

Browse files
committed
2018-07-04, Version 10.6.0 (Current)
Notable changes: * build: * Node.js should now be about 60% faster to startup than the previous version, thanks to the use V8's code cache feature for core modules. [#21405](#21405) * dns: * An experimental promisified version of the dns module is now available. Give it a try with `require('dns').promises`. [#21264](#21264) * fs: * `fs.lchown` has been undeprecated now that libuv supports it. [#21498](#21498) * lib: * `Atomics.wake` is being renamed to `Atomics.notify` in the ECMAScript specification ([reference](tc39/ecma262#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](#21413) [#21518](#21518) * n-api: * Add API for asynchronous functions. [#17887](#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](#20725) * vm: * Add `script.createCachedData()`. This API replaces the `produceCachedData` option of the `Script` constructor that is now deprecated. [#20300](#20300) * worker: * Support for relative paths has been added to the `Worker` constructor. Paths are interpreted relative to the current working directory. [#21407](#21407) PR-URL: #21629
1 parent 5d6d6fb commit 1f713d6

File tree

8 files changed

+180
-36
lines changed

8 files changed

+180
-36
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ release.
3333
</tr>
3434
<tr>
3535
<td valign="top">
36-
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.5.0">10.5.0</a></b><br/>
36+
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.6.0">10.6.0</a></b><br/>
37+
<a href="doc/changelogs/CHANGELOG_V10.md#10.5.0">10.5.0</a><br/>
3738
<a href="doc/changelogs/CHANGELOG_V10.md#10.4.1">10.4.1</a><br/>
3839
<a href="doc/changelogs/CHANGELOG_V10.md#10.4.0">10.4.0</a><br/>
3940
<a href="doc/changelogs/CHANGELOG_V10.md#10.3.0">10.3.0</a><br/>

doc/api/dns.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ via `require('dns').promises`.
585585

586586
### Class: dnsPromises.Resolver
587587
<!-- YAML
588-
added: REPLACEME
588+
added: v10.6.0
589589
-->
590590

591591
An independent resolver for DNS requests.
@@ -631,7 +631,7 @@ The following methods from the `dnsPromises` API are available:
631631

632632
### dnsPromises.getServers()
633633
<!-- YAML
634-
added: REPLACEME
634+
added: v10.6.0
635635
-->
636636

637637
* Returns: {string[]}
@@ -652,7 +652,7 @@ section if a custom port is used.
652652

653653
### dnsPromises.lookup(hostname[, options])
654654
<!-- YAML
655-
added: REPLACEME
655+
added: v10.6.0
656656
-->
657657
- `hostname` {string}
658658
- `options` {integer | Object}
@@ -715,7 +715,7 @@ dnsPromises.lookup('example.com', options).then((result) => {
715715

716716
### dnsPromises.lookupService(address, port)
717717
<!-- YAML
718-
added: REPLACEME
718+
added: v10.6.0
719719
-->
720720
- `address` {string}
721721
- `port` {number}
@@ -740,7 +740,7 @@ dnsPromises.lookupService('127.0.0.1', 22).then((result) => {
740740

741741
### dnsPromises.resolve(hostname[, rrtype])
742742
<!-- YAML
743-
added: REPLACEME
743+
added: v10.6.0
744744
-->
745745
- `hostname` {string} Hostname to resolve.
746746
- `rrtype` {string} Resource record type. **Default:** `'A'`.
@@ -769,7 +769,7 @@ is one of the [DNS error codes](#dns_error_codes).
769769

770770
### dnsPromises.resolve4(hostname[, options])
771771
<!-- YAML
772-
added: REPLACEME
772+
added: v10.6.0
773773
-->
774774
- `hostname` {string} Hostname to resolve.
775775
- `options` {Object}
@@ -784,7 +784,7 @@ addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`).
784784

785785
### dnsPromises.resolve6(hostname[, options])
786786
<!-- YAML
787-
added: REPLACEME
787+
added: v10.6.0
788788
-->
789789
- `hostname` {string} Hostname to resolve.
790790
- `options` {Object}
@@ -799,7 +799,7 @@ addresses.
799799

800800
### dnsPromises.resolveAny(hostname)
801801
<!-- YAML
802-
added: REPLACEME
802+
added: v10.6.0
803803
-->
804804
- `hostname` {string}
805805

@@ -843,7 +843,7 @@ Here is an example of the result object:
843843

844844
### dnsPromises.resolveCname(hostname)
845845
<!-- YAML
846-
added: REPLACEME
846+
added: v10.6.0
847847
-->
848848
- `hostname` {string}
849849

@@ -853,7 +853,7 @@ the `hostname` (e.g. `['bar.example.com']`).
853853

854854
### dnsPromises.resolveMx(hostname)
855855
<!-- YAML
856-
added: REPLACEME
856+
added: v10.6.0
857857
-->
858858
- `hostname` {string}
859859

@@ -864,7 +864,7 @@ containing both a `priority` and `exchange` property (e.g.
864864

865865
### dnsPromises.resolveNaptr(hostname)
866866
<!-- YAML
867-
added: REPLACEME
867+
added: v10.6.0
868868
-->
869869
- `hostname` {string}
870870

@@ -893,7 +893,7 @@ of objects with the following properties:
893893

894894
### dnsPromises.resolveNs(hostname)
895895
<!-- YAML
896-
added: REPLACEME
896+
added: v10.6.0
897897
-->
898898
- `hostname` {string}
899899

@@ -904,7 +904,7 @@ records available for `hostname` (e.g.
904904

905905
### dnsPromises.resolvePtr(hostname)
906906
<!-- YAML
907-
added: REPLACEME
907+
added: v10.6.0
908908
-->
909909
- `hostname` {string}
910910

@@ -914,7 +914,7 @@ containing the reply records.
914914

915915
### dnsPromises.resolveSoa(hostname)
916916
<!-- YAML
917-
added: REPLACEME
917+
added: v10.6.0
918918
-->
919919
- `hostname` {string}
920920

@@ -945,7 +945,7 @@ following properties:
945945

946946
### dnsPromises.resolveSrv(hostname)
947947
<!-- YAML
948-
added: REPLACEME
948+
added: v10.6.0
949949
-->
950950
- `hostname` {string}
951951

@@ -970,7 +970,7 @@ the following properties:
970970

971971
### dnsPromises.resolveTxt(hostname)
972972
<!-- YAML
973-
added: REPLACEME
973+
added: v10.6.0
974974
-->
975975
- `hostname` {string}
976976

@@ -983,7 +983,7 @@ treated separately.
983983

984984
### dnsPromises.reverse(ip)
985985
<!-- YAML
986-
added: REPLACEME
986+
added: v10.6.0
987987
-->
988988
- `ip` {string}
989989

@@ -995,7 +995,7 @@ is one of the [DNS error codes](#dns_error_codes).
995995

996996
### dnsPromises.setServers(servers)
997997
<!-- YAML
998-
added: REPLACEME
998+
added: v10.6.0
999999
-->
10001000
- `servers` {string[]} array of [rfc5952][] formatted addresses
10011001

doc/api/fs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,7 @@ Synchronous lchmod(2). Returns `undefined`.
19041904
## fs.lchown(path, uid, gid, callback)
19051905
<!-- YAML
19061906
changes:
1907-
- version: REPLACEME
1907+
- version: v10.6.0
19081908
pr-url: https://github.com/nodejs/node/pull/21498
19091909
description: This API is no longer deprecated.
19101910
- version: v10.0.0
@@ -1929,7 +1929,7 @@ to the completion callback.
19291929
## fs.lchownSync(path, uid, gid)
19301930
<!-- YAML
19311931
changes:
1932-
- version: REPLACEME
1932+
- version: v10.6.0
19331933
pr-url: https://github.com/nodejs/node/pull/21498
19341934
description: This API is no longer deprecated.
19351935
-->
@@ -3906,7 +3906,7 @@ no arguments upon success. This method is only implemented on macOS.
39063906
<!-- YAML
39073907
added: v10.0.0
39083908
changes:
3909-
- version: REPLACEME
3909+
- version: v10.6.0
39103910
pr-url: https://github.com/nodejs/node/pull/21498
39113911
description: This API is no longer deprecated.
39123912
-->

doc/api/n-api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4045,7 +4045,7 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and
40454045
> Stability: 1 - Experimental
40464046

40474047
<!-- YAML
4048-
added: REPLACEME
4048+
added: v10.6.0
40494049
-->
40504050
```C
40514051
NAPI_EXTERN napi_status
@@ -4088,7 +4088,7 @@ parameters and with `undefined` as its `this` value.
40884088
> Stability: 1 - Experimental
40894089

40904090
<!-- YAML
4091-
added: REPLACEME
4091+
added: v10.6.0
40924092
-->
40934093
```C
40944094
NAPI_EXTERN napi_status
@@ -4106,7 +4106,7 @@ This API may be called from any thread which makes use of `func`.
41064106
> Stability: 1 - Experimental
41074107

41084108
<!-- YAML
4109-
added: REPLACEME
4109+
added: v10.6.0
41104110
-->
41114111
```C
41124112
NAPI_EXTERN napi_status
@@ -4134,7 +4134,7 @@ This API may be called from any thread which makes use of `func`.
41344134
> Stability: 1 - Experimental
41354135

41364136
<!-- YAML
4137-
added: REPLACEME
4137+
added: v10.6.0
41384138
-->
41394139
```C
41404140
NAPI_EXTERN napi_status
@@ -4156,7 +4156,7 @@ This API may be called from any thread which will start making use of `func`.
41564156
> Stability: 1 - Experimental
41574157

41584158
<!-- YAML
4159-
added: REPLACEME
4159+
added: v10.6.0
41604160
-->
41614161
```C
41624162
NAPI_EXTERN napi_status
@@ -4184,7 +4184,7 @@ This API may be called from any thread which will stop making use of `func`.
41844184
> Stability: 1 - Experimental
41854185

41864186
<!-- YAML
4187-
added: REPLACEME
4187+
added: v10.6.0
41884188
-->
41894189
```C
41904190
NAPI_EXTERN napi_status
@@ -4205,7 +4205,7 @@ This API may only be called from the main thread.
42054205
> Stability: 1 - Experimental
42064206

42074207
<!-- YAML
4208-
added: REPLACEME
4208+
added: v10.6.0
42094209
-->
42104210
```C
42114211
NAPI_EXTERN napi_status

doc/api/util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ stream.write('With ES6');
360360
<!-- YAML
361361
added: v0.3.0
362362
changes:
363-
- version: REPLACEME
364-
pr-url: https://github.com/nodejs/node/pull/REPLACEME
363+
- version: v10.6.0
364+
pr-url: https://github.com/nodejs/node/pull/20725
365365
description: Inspecting linked lists and similar objects is now possible
366366
up to the maximum call stack size.
367367
- version: v10.0.0

doc/api/vm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ changes:
411411
pr-url: https://github.com/nodejs/node/pull/4777
412412
description: The `cachedData` and `produceCachedData` options are
413413
supported now.
414-
- version: REPLACEME
414+
- version: v10.6.0
415415
pr-url: https://github.com/nodejs/node/pull/20300
416416
description: The `produceCachedData` is deprecated in favour of
417417
`script.createCachedData()`
@@ -443,7 +443,7 @@ any global object; rather, it is bound before each run, just for that run.
443443

444444
### script.createCachedData()
445445
<!-- YAML
446-
added: REPLACEME
446+
added: v10.6.0
447447
-->
448448

449449
* Returns: {Buffer}

0 commit comments

Comments
 (0)