Skip to content

Commit b01bc60

Browse files
mcollinaaduh95
andcommitted
doc: deprecate HTTP/2 priority signaling
Signed-off-by: Matteo Collina <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 411495e commit b01bc60

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

doc/api/deprecations.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3935,10 +3935,25 @@ The `node:_stream_duplex`, `node:_stream_passthrough`, `node:_stream_readable`,
39353935
`node:_stream_wrap` and `node:_stream_writable` modules are deprecated as they should be considered
39363936
an internal nodejs implementation rather than a public facing API, use `node:stream` instead.
39373937

3938+
### DEP0194: `require('node:http2').Http2Stream.priority`
3939+
3940+
<!-- YAML
3941+
changes:
3942+
- version: REPLACEME
3943+
pr-url: https://github.com/nodejs/node/pull/58313
3944+
description: Documentation-only deprecation.
3945+
-->
3946+
3947+
Type: Documentation-only
3948+
3949+
The support for priority signaling has been deprecated in the [RFC 9113][], and
3950+
will be removed in future versions of Node.js.
3951+
39383952
[DEP0142]: #dep0142-repl_builtinlibs
39393953
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
39403954
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
39413955
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
3956+
[RFC 9113]: https://datatracker.ietf.org/doc/html/rfc9113#section-5.3.1
39423957
[WHATWG URL API]: url.md#the-whatwg-url-api
39433958
[`"exports"` or `"main"` entry]: packages.md#main-entry-point-export
39443959
[`'uncaughtException'`]: process.md#event-uncaughtexception

doc/api/http2.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,7 @@ numeric stream identifier.
14571457

14581458
<!-- YAML
14591459
added: v8.4.0
1460+
deprecated: REPLACEME
14601461
-->
14611462

14621463
* `options` {Object}
@@ -1474,6 +1475,9 @@ added: v8.4.0
14741475

14751476
Updates the priority for this `Http2Stream` instance.
14761477

1478+
The support for priority signaling has been deprecated in the [RFC 9113][], and
1479+
will be removed in future versions of Node.js.
1480+
14771481
#### `http2stream.rstCode`
14781482

14791483
<!-- YAML
@@ -1583,8 +1587,11 @@ Provides miscellaneous information about the current state of the
15831587
remotely.
15841588
* `sumDependencyWeight` {number} The sum weight of all `Http2Stream`
15851589
instances that depend on this `Http2Stream` as specified using
1586-
`PRIORITY` frames.
1587-
* `weight` {number} The priority weight of this `Http2Stream`.
1590+
`PRIORITY` frames. This has been **deprecated** in [RFC 9113][], and
1591+
support for it will be removed in future versions of Node.js.
1592+
* `weight` {number} The priority weight of this `Http2Stream`. This has been
1593+
**deprecated** in [RFC 9113][], and support for it will be removed in future
1594+
versions of Node.js.
15881595

15891596
A current state of this `Http2Stream`.
15901597

@@ -4883,6 +4890,7 @@ you need to implement any fall-back behavior yourself.
48834890
[RFC 7838]: https://tools.ietf.org/html/rfc7838
48844891
[RFC 8336]: https://tools.ietf.org/html/rfc8336
48854892
[RFC 8441]: https://tools.ietf.org/html/rfc8441
4893+
[RFC 9113]: https://datatracker.ietf.org/doc/html/rfc9113#section-5.3.1
48864894
[Sensitive headers]: #sensitive-headers
48874895
[`'checkContinue'`]: #event-checkcontinue
48884896
[`'connect'`]: #event-connect

0 commit comments

Comments
 (0)