Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V26.md#26.4.0">26.4.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V26.md#26.5.0">26.5.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V26.md#26.4.0">26.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V26.md#26.3.1">26.3.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V26.md#26.3.0">26.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V26.md#26.2.0">26.2.0</a><br/>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,6 @@ For information about the governance of the Node.js project, see
**Dario Piotrowicz** <<dario.piotrowicz@gmail.com>> (he/him)
* [deokjinkim](https://github.com/deokjinkim) -
**Deokjin Kim** <<deokjin81.kim@gmail.com>> (he/him)
* [edsadr](https://github.com/edsadr) -
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
* [ErickWendel](https://github.com/ErickWendel) -
**Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
* [Ethan-Arrowood](https://github.com/Ethan-Arrowood) -
Expand Down Expand Up @@ -513,6 +511,8 @@ For information about the governance of the Node.js project, see
**Xu Meng** <<dmabupt@gmail.com>> (he/him)
* [dnlup](https://github.com/dnlup) -
**dnlup** <<dnlup.dev@gmail.com>>
* [edsadr](https://github.com/edsadr) -
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
* [eljefedelrodeodeljefe](https://github.com/eljefedelrodeodeljefe) -
**Robert Jefe Lindstaedt** <<robert.lindstaedt@gmail.com>>
* [estliberitas](https://github.com/estliberitas) -
Expand Down
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ UTF-8 string.
### `blob.textStream()`

<!-- YAML
added: REPLACEME
added: v26.5.0
-->

* Returns: {ReadableStream}
Expand Down
6 changes: 3 additions & 3 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ added:
- v23.6.0
- v22.20.0
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/64221
description: This is enabled by default.
-->
Expand Down Expand Up @@ -1274,7 +1274,7 @@ Previously gated the entire `import.meta.resolve` feature.

<!-- YAML
added:
- REPLACEME
- v26.5.0
-->

> Stability: 1.0 - Early development
Expand Down Expand Up @@ -1361,7 +1361,7 @@ added:
- v22.0.0
- v20.17.0
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/64154
description: Print the top-level awaits without evaluating the modules.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/diagnostics_channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ added:
- v19.9.0
- v18.19.0
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/62407
description: Non-native-Promise thenables are now returned as-is,
preserving their original type and methods.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ A QUIC session failed because version negotiation is required.

<!-- YAML
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/64260
description: Added the `requireStack` and `topLevelAwaitLocations` properties.
-->
Expand Down
19 changes: 19 additions & 0 deletions doc/api/ffi.md
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,25 @@ This is unsafe and dangerous. The returned pointer can become invalid if the
underlying memory is detached, resized, transferred, or otherwise invalidated.
Using stale pointers can cause memory corruption or process crashes.

## `ffi.getCurrentEventLoop()`

<!-- YAML
added: REPLACEME
-->

* Returns: {bigint}

Returns the address of the current thread's `uv_loop_t` as a `bigint`.

The returned address is for the current Node.js environment. In the main thread,
this is the main thread event loop. In a worker thread, this is that worker's
event loop.

This is unsafe and dangerous. The returned pointer is only valid for the lifetime
of the current environment. Using it after the environment exits, or from native
code that assumes a different thread or lifetime, can crash the process or
corrupt memory.

## Safety notes

The `node:ffi` module does not track pointer validity, memory ownership, or
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 @@ -1707,7 +1707,7 @@ are not guaranteed to reflect any correct state of the event loop.
<!-- YAML
added: v11.10.0
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/62935
description: Added the `samplePerIteration` option.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ For more details refer to the relevant documentation:
### `ReadableStreamTee(stream[, cloneForBranch2])`

<!-- YAML
added: REPLACEME
added: v26.5.0
-->

> Stability: 1 - Experimental
Expand Down
6 changes: 3 additions & 3 deletions doc/api/zlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ These advanced options are available for controlling decompression:
<!-- YAML
added: v0.11.1
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/64023
description: The `rejectGarbageAfterEnd` option was added.
- version:
Expand Down Expand Up @@ -852,7 +852,7 @@ information.
<!-- YAML
added: v11.7.0
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/64023
description: The `rejectGarbageAfterEnd` option was added.
- version:
Expand Down Expand Up @@ -1099,7 +1099,7 @@ added:
- v23.8.0
- v22.15.0
changes:
- version: REPLACEME
- version: v26.5.0
pr-url: https://github.com/nodejs/node/pull/64023
description: The `rejectGarbageAfterEnd` option was added.
-->
Expand Down
Loading
Loading