Skip to content

Commit 3fed735

Browse files
addaleaxBethGriggs
authored andcommitted
doc: fix LTS replaceme tags
When cherry-picking release commits for LTS releases into master, the `REPLACEME` metadata can be taken over as well, to give users a more accurate view of what is being released on which release line. This addresses this problem for all previous LTS releases for which this has not been done. Fixes: #33001 PR-URL: #33041 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>
1 parent 6a8e266 commit 3fed735

27 files changed

+363
-127
lines changed

doc/api/assert.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ invariants.
1111
<!-- YAML
1212
added: v9.9.0
1313
changes:
14-
- version: v13.9.0
14+
- version:
15+
- v13.9.0
16+
- v12.16.2
1517
description: Changed "strict mode" to "strict assertion mode" and "legacy
1618
mode" to "legacy assertion mode" to avoid confusion with the
1719
more usual meaining of "strict mode".
@@ -433,7 +435,9 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
433435

434436
## `assert.doesNotMatch(string, regexp[, message])`
435437
<!-- YAML
436-
added: v13.6.0
438+
added:
439+
- v13.6.0
440+
- v12.16.0
437441
-->
438442

439443
* `string` {string}
@@ -780,7 +784,9 @@ let err;
780784

781785
## `assert.match(string, regexp[, message])`
782786
<!-- YAML
783-
added: v13.6.0
787+
added:
788+
- v13.6.0
789+
- v12.16.0
784790
-->
785791

786792
* `string` {string}

doc/api/buffer.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,9 @@ The `buf.parent` property is a deprecated alias for `buf.buffer`.
13411341
### `buf.readBigInt64BE([offset])`
13421342
### `buf.readBigInt64LE([offset])`
13431343
<!-- YAML
1344-
added: v12.0.0
1344+
added:
1345+
- v12.0.0
1346+
- v10.20.0
13451347
-->
13461348

13471349
* `offset` {integer} Number of bytes to skip before starting to read. Must
@@ -1357,7 +1359,9 @@ Integers read from a `Buffer` are interpreted as two's complement signed values.
13571359
### `buf.readBigUInt64BE([offset])`
13581360
### `buf.readBigUInt64LE([offset])`
13591361
<!-- YAML
1360-
added: v12.0.0
1362+
added:
1363+
- v12.0.0
1364+
- v10.20.0
13611365
-->
13621366

13631367
* `offset` {integer} Number of bytes to skip before starting to read. Must
@@ -2027,7 +2031,9 @@ console.log(`${length} bytes: ${buffer.toString('utf8', 8, 10)}`);
20272031
### `buf.writeBigInt64BE(value[, offset])`
20282032
### `buf.writeBigInt64LE(value[, offset])`
20292033
<!-- YAML
2030-
added: v12.0.0
2034+
added:
2035+
- v12.0.0
2036+
- v10.20.0
20312037
-->
20322038

20332039
* `value` {bigint} Number to be written to `buf`.
@@ -2053,7 +2059,9 @@ console.log(buf);
20532059
### `buf.writeBigUInt64BE(value[, offset])`
20542060
### `buf.writeBigUInt64LE(value[, offset])`
20552061
<!-- YAML
2056-
added: v12.0.0
2062+
added:
2063+
- v12.0.0
2064+
- v10.20.0
20572065
-->
20582066

20592067
* `value` {bigint} Number to be written to `buf`.

doc/api/child_process.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ arbitrary command execution.**
329329
<!-- YAML
330330
added: v0.5.0
331331
changes:
332-
- version: v13.2.0
332+
- version:
333+
- v13.2.0
334+
- v12.16.0
333335
pr-url: https://github.com/nodejs/node/pull/30162
334336
description: The `serialization` option is supported now.
335337
- version: v8.0.0
@@ -400,7 +402,9 @@ The `shell` option available in [`child_process.spawn()`][] is not supported by
400402
<!-- YAML
401403
added: v0.1.90
402404
changes:
403-
- version: v13.2.0
405+
- version:
406+
- v13.2.0
407+
- v12.16.0
404408
pr-url: https://github.com/nodejs/node/pull/30162
405409
description: The `serialization` option is supported now.
406410
- version: v8.8.0
@@ -1556,7 +1560,9 @@ unavailable.
15561560

15571561
## Advanced Serialization
15581562
<!-- YAML
1559-
added: v13.2.0
1563+
added:
1564+
- v13.2.0
1565+
- v12.16.0
15601566
-->
15611567

15621568
Child processes support a serialization mechanism for IPC that is based on the

doc/api/cli.md

+40-13
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ Currently, overriding `Error.prepareStackTrace` is ignored when the
167167

168168
### `--experimental-import-meta-resolve`
169169
<!-- YAML
170-
added: v13.9.0
170+
added:
171+
- v13.9.0
172+
- v12.16.2
171173
-->
172174

173175
Enable experimental `import.meta.resolve()` support.
@@ -210,7 +212,9 @@ Enable experimental top-level `await` keyword support in REPL.
210212

211213
### `--experimental-specifier-resolution=mode`
212214
<!-- YAML
213-
added: v13.4.0
215+
added:
216+
- v13.4.0
217+
- v12.16.0
214218
-->
215219

216220
Sets the resolution algorithm for resolving ES module specifiers. Valid options
@@ -231,7 +235,9 @@ Enable experimental ES Module support in the `vm` module.
231235

232236
### `--experimental-wasi-unstable-preview1`
233237
<!-- YAML
234-
added: v13.3.0
238+
added:
239+
- v13.3.0
240+
- v12.16.0
235241
changes:
236242
- version: v13.6.0
237243
pr-url: https://github.com/nodejs/node/pull/30980
@@ -417,7 +423,10 @@ endpoint on `http://host:port/json/list`.
417423

418424
### `--insecure-http-parser`
419425
<!-- YAML
420-
added: v13.4.0
426+
added:
427+
- v13.4.0
428+
- v12.15.0
429+
- v10.19.0
421430
-->
422431

423432
Use an insecure HTTP parser that accepts invalid HTTP headers. This may allow
@@ -439,7 +448,9 @@ disappear in a non-semver-major release.
439448

440449
### `--max-http-header-size=size`
441450
<!-- YAML
442-
added: v11.6.0
451+
added:
452+
- v11.6.0
453+
- v10.15.0
443454
changes:
444455
- version: v14.0.0
445456
pr-url: https://github.com/nodejs/node/pull/32520
@@ -737,7 +748,9 @@ with crypto support (default).
737748

738749
### `--tls-keylog=file`
739750
<!-- YAML
740-
added: v13.2.0
751+
added:
752+
- v13.2.0
753+
- v12.16.0
741754
-->
742755

743756
Log TLS key material to a file. The key material is in NSS `SSLKEYLOGFILE`
@@ -746,7 +759,9 @@ traffic.
746759

747760
### `--tls-max-v1.2`
748761
<!-- YAML
749-
added: v12.0.0
762+
added:
763+
- v12.0.0
764+
- v10.20.0
750765
-->
751766

752767
Set [`tls.DEFAULT_MAX_VERSION`][] to 'TLSv1.2'. Use to disable support for
@@ -762,23 +777,29 @@ for TLSv1.3.
762777

763778
### `--tls-min-v1.0`
764779
<!-- YAML
765-
added: v12.0.0
780+
added:
781+
- v12.0.0
782+
- v10.20.0
766783
-->
767784

768785
Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1'. Use for compatibility with
769786
old TLS clients or servers.
770787

771788
### `--tls-min-v1.1`
772789
<!-- YAML
773-
added: v12.0.0
790+
added:
791+
- v12.0.0
792+
- v10.20.0
774793
-->
775794

776795
Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.1'. Use for compatibility
777796
with old TLS clients or servers.
778797

779798
### `--tls-min-v1.2`
780799
<!-- YAML
781-
added: v12.2.0
800+
added:
801+
- v12.2.0
802+
- v10.20.0
782803
-->
783804

784805
Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.2'. This is the default for
@@ -825,7 +846,9 @@ Enables the collection of trace event tracing information.
825846

826847
### `--trace-exit`
827848
<!-- YAML
828-
added: v13.5.0
849+
added:
850+
- v13.5.0
851+
- v12.16.0
829852
-->
830853

831854
Prints a stack trace whenever an environment is exited proactively,
@@ -882,7 +905,9 @@ Track heap object allocations for heap snapshots.
882905

883906
### `--unhandled-rejections=mode`
884907
<!-- YAML
885-
added: v12.0.0
908+
added:
909+
- v12.0.0
910+
- v10.17.0
886911
-->
887912

888913
By default all unhandled rejections trigger a warning plus a deprecation warning
@@ -1273,7 +1298,9 @@ to an empty string (`''` or `' '`) disables persistent REPL history.
12731298

12741299
### `NODE_REPL_EXTERNAL_MODULE=file`
12751300
<!-- YAML
1276-
added: v13.0.0
1301+
added:
1302+
- v13.0.0
1303+
- v12.16.0
12771304
-->
12781305

12791306
Path to a Node.js module which will be loaded in place of the built-in REPL.

doc/api/cluster.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,9 @@ values are `'rr'` and `'none'`.
724724
<!-- YAML
725725
added: v0.7.1
726726
changes:
727-
- version: v13.2.0
727+
- version:
728+
- v13.2.0
729+
- v12.16.0
728730
pr-url: https://github.com/nodejs/node/pull/30162
729731
description: The `serialization` option is supported now.
730732
- version: v9.5.0

doc/api/crypto.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,9 @@ changes:
16741674
- version: v11.6.0
16751675
pr-url: https://github.com/nodejs/node/pull/24234
16761676
description: The `key` argument can now be a `KeyObject`.
1677-
- version: v11.2.0
1677+
- version:
1678+
- v11.2.0
1679+
- v10.17.0
16781680
pr-url: https://github.com/nodejs/node/pull/24081
16791681
description: The cipher `chacha20-poly1305` is now supported.
16801682
- version: v10.10.0
@@ -1768,7 +1770,9 @@ changes:
17681770
- version: v11.6.0
17691771
pr-url: https://github.com/nodejs/node/pull/24234
17701772
description: The `key` argument can now be a `KeyObject`.
1771-
- version: v11.2.0
1773+
- version:
1774+
- v11.2.0
1775+
- v10.17.0
17721776
pr-url: https://github.com/nodejs/node/pull/24081
17731777
description: The cipher `chacha20-poly1305` is now supported.
17741778
- version: v10.10.0
@@ -2781,7 +2785,9 @@ request.
27812785
<!-- YAML
27822786
added: v10.5.0
27832787
changes:
2784-
- version: v12.8.0
2788+
- version:
2789+
- v12.8.0
2790+
- v10.17.0
27852791
pr-url: https://github.com/nodejs/node/pull/28799
27862792
description: The `maxmem` value can now be any safe integer.
27872793
- version: v10.9.0
@@ -2839,7 +2845,9 @@ crypto.scrypt('secret', 'salt', 64, { N: 1024 }, (err, derivedKey) => {
28392845
<!-- YAML
28402846
added: v10.5.0
28412847
changes:
2842-
- version: v12.8.0
2848+
- version:
2849+
- v12.8.0
2850+
- v10.17.0
28432851
pr-url: https://github.com/nodejs/node/pull/28799
28442852
description: The `maxmem` value can now be any safe integer.
28452853
- version: v10.9.0

doc/api/deprecations.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2569,7 +2569,9 @@ and [`fs.createReadStream()`][]) or by passing a file descriptor in options.
25692569
### DEP0136: `http` `finished`
25702570
<!-- YAML
25712571
changes:
2572-
- version: v13.4.0
2572+
- version:
2573+
- v13.4.0
2574+
- v12.16.0
25732575
pr-url: https://github.com/nodejs/node/pull/28679
25742576
description: Documentation-only deprecation.
25752577
-->

doc/api/dgram.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ if (cluster.isMaster) {
128128

129129
### `socket.addSourceSpecificMembership(sourceAddress, groupAddress[, multicastInterface])`
130130
<!-- YAML
131-
added: v13.1.0
131+
added:
132+
- v13.1.0
133+
- v12.16.0
132134
-->
133135
* `sourceAddress` {string}
134136
* `groupAddress` {string}
@@ -317,7 +319,9 @@ drop membership on all valid interfaces.
317319

318320
### `socket.dropSourceSpecificMembership(sourceAddress, groupAddress[, multicastInterface])`
319321
<!-- YAML
320-
added: v13.1.0
322+
added:
323+
- v13.1.0
324+
- v12.16.0
321325
-->
322326

323327
* `sourceAddress` {string}

doc/api/errors.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,9 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.
21452145
### `HPE_HEADER_OVERFLOW`
21462146
<!-- YAML
21472147
changes:
2148-
- version: v11.4.0
2148+
- version:
2149+
- v11.4.0
2150+
- v10.15.0
21492151
pr-url: https://github.com/nodejs/node/commit/186035243fad247e3955f
21502152
description: Max header size in `http_parser` was set to 8KB.
21512153
-->

0 commit comments

Comments
 (0)