Skip to content

Commit

Permalink
2023-03-07, Version 18.15.0 'Hydrogen' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

buffer:
  * (SEMVER-MINOR) add isAscii method (Yagiz Nizipli) nodejs#46046
doc,lib,src,test:
  * rename --test-coverage (Colin Ihrig) nodejs#46017
fs:
  * (SEMVER-MINOR) add statfs() functions (Colin Ihrig) nodejs#46358
src,lib:
  * (SEMVER-MINOR) add constrainedMemory API for process (theanarkh) nodejs#46218
test_runner:
  * add initial code coverage support (Colin Ihrig) nodejs#46017
  * (SEMVER-MINOR) add reporters (Moshe Atlow) nodejs#45712
v8:
  * (SEMVER-MINOR) support gc profile (theanarkh) nodejs#46255
vm:
  * (SEMVER-MINOR) expose cachedDataRejected for vm.compileFunction (Anna Henningsen) nodejs#46320

PR-URL: nodejs#46920
  • Loading branch information
juanarbol committed Mar 5, 2023
1 parent de64315 commit a94966f
Show file tree
Hide file tree
Showing 11 changed files with 141 additions and 29 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.14.2">18.14.2</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.15.0">18.15.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.14.2">18.14.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.14.1">18.14.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.14.0">18.14.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.13.0">18.13.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5129,7 +5129,7 @@ and binary data should be performed using `Buffer.from(str, 'base64')` and
### `buffer.isAscii(input)`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

* input {Buffer | ArrayBuffer | TypedArray} The input to validate.
Expand Down
6 changes: 3 additions & 3 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ See [customizing ESM specifier resolution][] for example usage.
### `--experimental-test-coverage`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

The destination for the corresponding test reporter. See the documentation on
Expand Down
22 changes: 11 additions & 11 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ changes:
### `fsPromises.statfs(path[, options])`
<!-- YAML
added: REPLACEME
added: v18.15.0
-->
* `path` {string|Buffer|URL}
Expand Down Expand Up @@ -4098,7 +4098,7 @@ Stats {
### `fs.statfs(path[, options], callback)`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

Provides information about a mounted file system.
Expand Down Expand Up @@ -6999,7 +6999,7 @@ StatFs {
#### `statfs.bavail`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

* {number|bigint}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -2953,7 +2953,7 @@ headers with the same name.
### `outgoingMessage.setHeaders(headers)`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

* `headers` {Headers|Map}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ over the IPC channel using `process.send()`.
## `process.constrainedMemory()`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

> Stability: 1 - Experimental
Expand Down
6 changes: 3 additions & 3 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ test('spies on an object method', (t) => {
## Test reporters

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

Shorthand for marking a test as `only`,
Expand Down
8 changes: 4 additions & 4 deletions doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -1024,31 +1024,31 @@ Returns true if the Node.js instance is run to build a snapshot.
## Class: `v8.GCProfiler`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

This API collects GC data in current thread.

### `new v8.GCProfiler()`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

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

### `profiler.start()`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

Start collecting GC data.

### `profiler.stop()`

<!-- YAML
added: REPLACEME
added: v18.15.0
-->

Stop collecting GC data and return an object.The content of object
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ const vm = require('node:vm');
added: v10.10.0
changes:
- version:
- REPLACEME
- v18.15.0
pr-url: https://github.com/nodejs/node/pull/46320
description: The return value now includes `cachedDataRejected`
with the same semantics as the `vm.Script` version
Expand Down
Loading

0 comments on commit a94966f

Please sign in to comment.