Skip to content

Commit a94966f

Browse files
committed
2023-03-07, Version 18.15.0 'Hydrogen' (LTS)
Notable changes: buffer: * (SEMVER-MINOR) add isAscii method (Yagiz Nizipli) #46046 doc,lib,src,test: * rename --test-coverage (Colin Ihrig) #46017 fs: * (SEMVER-MINOR) add statfs() functions (Colin Ihrig) #46358 src,lib: * (SEMVER-MINOR) add constrainedMemory API for process (theanarkh) #46218 test_runner: * add initial code coverage support (Colin Ihrig) #46017 * (SEMVER-MINOR) add reporters (Moshe Atlow) #45712 v8: * (SEMVER-MINOR) support gc profile (theanarkh) #46255 vm: * (SEMVER-MINOR) expose cachedDataRejected for vm.compileFunction (Anna Henningsen) #46320 PR-URL: #46920
1 parent de64315 commit a94966f

File tree

11 files changed

+141
-29
lines changed

11 files changed

+141
-29
lines changed

CHANGELOG.md

+2-1
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_V18.md#18.14.2">18.14.2</a></b><br/>
36+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.15.0">18.15.0</a></b><br/>
37+
<a href="doc/changelogs/CHANGELOG_V18.md#18.14.2">18.14.2</a><br/>
3738
<a href="doc/changelogs/CHANGELOG_V18.md#18.14.1">18.14.1</a><br/>
3839
<a href="doc/changelogs/CHANGELOG_V18.md#18.14.0">18.14.0</a><br/>
3940
<a href="doc/changelogs/CHANGELOG_V18.md#18.13.0">18.13.0</a><br/>

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5129,7 +5129,7 @@ and binary data should be performed using `Buffer.from(str, 'base64')` and
51295129
### `buffer.isAscii(input)`
51305130

51315131
<!-- YAML
5132-
added: REPLACEME
5132+
added: v18.15.0
51335133
-->
51345134

51355135
* input {Buffer | ArrayBuffer | TypedArray} The input to validate.

doc/api/cli.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ See [customizing ESM specifier resolution][] for example usage.
443443
### `--experimental-test-coverage`
444444

445445
<!-- YAML
446-
added: REPLACEME
446+
added: v18.15.0
447447
-->
448448

449449
When used in conjunction with the `node:test` module, a code coverage report is
@@ -1233,7 +1233,7 @@ whose name matches the provided pattern. See the documentation on
12331233
### `--test-reporter`
12341234

12351235
<!-- YAML
1236-
added: REPLACEME
1236+
added: v18.15.0
12371237
-->
12381238

12391239
A test reporter to use when running tests. See the documentation on
@@ -1242,7 +1242,7 @@ A test reporter to use when running tests. See the documentation on
12421242
### `--test-reporter-destination`
12431243

12441244
<!-- YAML
1245-
added: REPLACEME
1245+
added: v18.15.0
12461246
-->
12471247

12481248
The destination for the corresponding test reporter. See the documentation on

doc/api/fs.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ changes:
15281528
### `fsPromises.statfs(path[, options])`
15291529
15301530
<!-- YAML
1531-
added: REPLACEME
1531+
added: v18.15.0
15321532
-->
15331533
15341534
* `path` {string|Buffer|URL}
@@ -4098,7 +4098,7 @@ Stats {
40984098
### `fs.statfs(path[, options], callback)`
40994099

41004100
<!-- YAML
4101-
added: REPLACEME
4101+
added: v18.15.0
41024102
-->
41034103

41044104
* `path` {string|Buffer|URL}
@@ -5858,7 +5858,7 @@ Retrieves the {fs.Stats} for the path.
58585858
### `fs.statfsSync(path[, options])`
58595859

58605860
<!-- YAML
5861-
added: REPLACEME
5861+
added: v18.15.0
58625862
-->
58635863

58645864
* `path` {string|Buffer|URL}
@@ -6961,7 +6961,7 @@ of 0.12, `ctime` is not "creation time", and on Unix systems, it never was.
69616961
### Class: `fs.StatFs`
69626962

69636963
<!-- YAML
6964-
added: REPLACEME
6964+
added: v18.15.0
69656965
-->
69666966

69676967
Provides information about a mounted file system.
@@ -6999,7 +6999,7 @@ StatFs {
69996999
#### `statfs.bavail`
70007000

70017001
<!-- YAML
7002-
added: REPLACEME
7002+
added: v18.15.0
70037003
-->
70047004

70057005
* {number|bigint}
@@ -7009,7 +7009,7 @@ Free blocks available to unprivileged users.
70097009
#### `statfs.bfree`
70107010

70117011
<!-- YAML
7012-
added: REPLACEME
7012+
added: v18.15.0
70137013
-->
70147014

70157015
* {number|bigint}
@@ -7019,7 +7019,7 @@ Free blocks in file system.
70197019
#### `statfs.blocks`
70207020

70217021
<!-- YAML
7022-
added: REPLACEME
7022+
added: v18.15.0
70237023
-->
70247024

70257025
* {number|bigint}
@@ -7029,7 +7029,7 @@ Total data blocks in file system.
70297029
#### `statfs.bsize`
70307030

70317031
<!-- YAML
7032-
added: REPLACEME
7032+
added: v18.15.0
70337033
-->
70347034

70357035
* {number|bigint}
@@ -7039,7 +7039,7 @@ Optimal transfer block size.
70397039
#### `statfs.ffree`
70407040

70417041
<!-- YAML
7042-
added: REPLACEME
7042+
added: v18.15.0
70437043
-->
70447044

70457045
* {number|bigint}
@@ -7049,7 +7049,7 @@ Free file nodes in file system.
70497049
#### `statfs.files`
70507050

70517051
<!-- YAML
7052-
added: REPLACEME
7052+
added: v18.15.0
70537053
-->
70547054

70557055
* {number|bigint}
@@ -7059,7 +7059,7 @@ Total file nodes in file system.
70597059
#### `statfs.type`
70607060

70617061
<!-- YAML
7062-
added: REPLACEME
7062+
added: v18.15.0
70637063
-->
70647064

70657065
* {number|bigint}

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2953,7 +2953,7 @@ headers with the same name.
29532953
### `outgoingMessage.setHeaders(headers)`
29542954

29552955
<!-- YAML
2956-
added: REPLACEME
2956+
added: v18.15.0
29572957
-->
29582958

29592959
* `headers` {Headers|Map}

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ over the IPC channel using `process.send()`.
11101110
## `process.constrainedMemory()`
11111111

11121112
<!-- YAML
1113-
added: REPLACEME
1113+
added: v18.15.0
11141114
-->
11151115

11161116
> Stability: 1 - Experimental

doc/api/test.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ test('spies on an object method', (t) => {
504504
## Test reporters
505505

506506
<!-- YAML
507-
added: REPLACEME
507+
added: v18.15.0
508508
-->
509509

510510
The `node:test` module supports passing [`--test-reporter`][]
@@ -806,7 +806,7 @@ Shorthand for marking a suite as `TODO`, same as
806806
## `describe.only([name][, options][, fn])`
807807

808808
<!-- YAML
809-
added: REPLACEME
809+
added: v18.15.0
810810
-->
811811

812812
Shorthand for marking a suite as `only`, same as
@@ -839,7 +839,7 @@ same as [`it([name], { todo: true }[, fn])`][it options].
839839
## `it.only([name][, options][, fn])`
840840

841841
<!-- YAML
842-
added: REPLACEME
842+
added: v18.15.0
843843
-->
844844

845845
Shorthand for marking a test as `only`,

doc/api/v8.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1024,31 +1024,31 @@ Returns true if the Node.js instance is run to build a snapshot.
10241024
## Class: `v8.GCProfiler`
10251025

10261026
<!-- YAML
1027-
added: REPLACEME
1027+
added: v18.15.0
10281028
-->
10291029

10301030
This API collects GC data in current thread.
10311031

10321032
### `new v8.GCProfiler()`
10331033

10341034
<!-- YAML
1035-
added: REPLACEME
1035+
added: v18.15.0
10361036
-->
10371037

10381038
Create a new instance of the `v8.GCProfiler` class.
10391039

10401040
### `profiler.start()`
10411041

10421042
<!-- YAML
1043-
added: REPLACEME
1043+
added: v18.15.0
10441044
-->
10451045

10461046
Start collecting GC data.
10471047

10481048
### `profiler.stop()`
10491049

10501050
<!-- YAML
1051-
added: REPLACEME
1051+
added: v18.15.0
10521052
-->
10531053

10541054
Stop collecting GC data and return an object.The content of object

doc/api/vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ const vm = require('node:vm');
963963
added: v10.10.0
964964
changes:
965965
- version:
966-
- REPLACEME
966+
- v18.15.0
967967
pr-url: https://github.com/nodejs/node/pull/46320
968968
description: The return value now includes `cachedDataRejected`
969969
with the same semantics as the `vm.Script` version

0 commit comments

Comments
 (0)