doc: clarify DEP0207 scope

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/65618
Refs: https://github.com/nodejs/node/pull/63249
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Antoine du Hamel authored and GitHub committed 2026-08-30 20:44:06 +02:00
1 parent 01c1300dfc
commit bb5cffc091
3 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -4647,7 +4647,7 @@ throwing an error. This behavior is inconsistent with `hash.digest()` and
may lead to subtle bugs. Calling `hmac.digest()` on a finalized `Hmac` instance
will throw an error in a future version.
### DEP0207: `.aborted` property and `'aborted'` event in `http2`
### DEP0207: `.aborted` property and `'aborted'` event in `node:http2`
<!-- YAML
changes:
+10 -4
View File
@@ -1275,10 +1275,7 @@ destroyed.
<!-- YAML
added: v8.4.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/63249
description: Documentation-only deprecation.
deprecated: REPLACEME
-->
> Stability: 0 - Deprecated. Use `'close'` and `'error'` plus
@@ -1399,10 +1396,13 @@ option must be set for this event to be emitted.
<!-- YAML
added: v8.4.0
deprecated: REPLACEME
-->
* Type: {boolean}
> Stability: 0 - Deprecated
`true` if the `Http2Stream` was closed while the writable side was
still open. When set, the `'aborted'` event was emitted.
@@ -4220,8 +4220,11 @@ data.
<!-- YAML
added: v8.4.0
deprecated: REPLACEME
-->
> Stability: 0 - Deprecated
The `'aborted'` event is emitted whenever a `Http2ServerRequest` instance
is closed while the underlying writable side is still open.
@@ -4238,10 +4241,13 @@ Just like `'end'`, this event occurs only once per response.
<!-- YAML
added: v10.1.0
deprecated: REPLACEME
-->
* Type: {boolean}
> Stability: 0 - Deprecated
The `request.aborted` property will be `true` if the request has
been aborted.
+1 -1
View File
@@ -158,5 +158,5 @@ for await (const dirent of await fs.opendir(new URL('../../out/doc/api/', import
assert.partialDeepStrictEqual(allExpectedKeys, findAllKeys(json));
}
assert.strictEqual(numberOfDeprecatedSections, 45); // Increase this number every time a new API is deprecated.
assert.strictEqual(numberOfDeprecatedSections, 49); // Increase this number every time a new API is deprecated.
assert.strictEqual(numberOfRemovedAPIs, 46); // Increase this number every time a section is marked as removed.