You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- refactor table so that it does not grow for
every new version of Node.js
- refer to latest version of table as the canonical
reference
- add info for Node-API v9
Refs: #48277
Signed-off-by: Michael Dawson <[email protected]>
PR-URL: #48774
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Copy file name to clipboardExpand all lines: doc/api/n-api.md
+25-77Lines changed: 25 additions & 77 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,106 +245,54 @@ from version 3 with some additions. This means that it is not necessary
245
245
to recompile for new versions of Node.js which are
246
246
listed as supporting a later version.
247
247
248
+
This table may not be up to date in older streams, the most up to date
249
+
information is in the latest API documentation in:
250
+
[Node-API version matrix](https://nodejs.org/docs/latest/api/n-api.html#node-api-version-matrix)
251
+
248
252
<!-- For accessibility purposes, this table needs row headers. That means we
249
253
can't do it in markdown. Hence, the raw HTML. -->
250
254
251
255
<table>
252
256
<tr>
253
-
<td></td>
254
-
<th scope="col">1</th>
255
-
<th scope="col">2</th>
256
-
<th scope="col">3</th>
257
-
</tr>
258
-
<tr>
259
-
<th scope="row">v6.x</th>
260
-
<td></td>
261
-
<td></td>
262
-
<td>v6.14.2*</td>
263
-
</tr>
264
-
<tr>
265
-
<th scope="row">v8.x</th>
266
-
<td>v8.6.0**</td>
267
-
<td>v8.10.0*</td>
268
-
<td>v8.11.2</td>
257
+
<th>Node-API version</th>
258
+
<th scope="col">Supported In</th>
269
259
</tr>
270
260
<tr>
271
-
<th scope="row">v9.x</th>
272
-
<td>v9.0.0*</td>
273
-
<td>v9.3.0*</td>
274
-
<td>v9.11.0*</td>
261
+
<th scope="row">9</th>
262
+
<td> 20.3.0+, 21.0.0 and all later versions</td>
275
263
</tr>
276
264
<tr>
277
-
<th scope="row">≥ v10.x</th>
278
-
<td>all releases</td>
279
-
<td>all releases</td>
280
-
<td>all releases</td>
265
+
<th scope="row">8</th>
266
+
<td>v12.22.0+, v14.17.0+, v15.12.0+, 16.0.0 and all later versions</td>
281
267
</tr>
282
-
</table>
283
-
284
-
<table>
285
268
<tr>
286
-
<td></td>
287
-
<th scope="col">4</th>
288
-
<th scope="col">5</th>
289
-
<th scope="col">6</th>
290
-
<th scope="col">7</th>
291
-
<th scope="col">8</th>
269
+
<th scope="row">7</th>
270
+
<td>v10.23.0+, v12.19.0+, v14.12.0+, 15.0.0 and all later versions</td>
292
271
</tr>
293
272
<tr>
294
-
<th scope="row">v10.x</th>
295
-
<td>v10.16.0</td>
296
-
<td>v10.17.0</td>
297
-
<td>v10.20.0</td>
298
-
<td>v10.23.0</td>
299
-
<td></td>
273
+
<th scope="row">6</th>
274
+
<td>v10.20.0+, v12.17.0+, 14.0.0 and all later versions</td>
300
275
</tr>
301
276
<tr>
302
-
<th scope="row">v11.x</th>
303
-
<td>v11.8.0</td>
304
-
<td></td>
305
-
<td></td>
306
-
<td></td>
307
-
<td></td>
277
+
<th scope="row">5</th>
278
+
<td>v10.17.0+, v12.11.0+, 13.0.0 and all later versions</td>
308
279
</tr>
309
280
<tr>
310
-
<th scope="row">v12.x</th>
311
-
<td>v12.0.0</td>
312
-
<td>v12.11.0</td>
313
-
<td>v12.17.0</td>
314
-
<td>v12.19.0</td>
315
-
<td>v12.22.0</td>
281
+
<th scope="row">4</th>
282
+
<td>v10.16.0+, v11.8.0+, 12.0.0 and all later versions</td>
316
283
</tr>
317
-
<tr>
318
-
<th scope="row">v13.x</th>
319
-
<td>v13.0.0</td>
320
-
<td>v13.0.0</td>
321
-
<td></td>
322
-
<td></td>
323
-
<td></td>
324
284
</tr>
325
-
<tr>
326
-
<th scope="row">v14.x</th>
327
-
<td>v14.0.0</td>
328
-
<td>v14.0.0</td>
329
-
<td>v14.0.0</td>
330
-
<td>v14.12.0</td>
331
-
<td>v14.17.0</td>
285
+
<tr>
286
+
<th scope="row">3</th>
287
+
<td>v6.14.2*, 8.11.2+, v9.11.0+*, 10.0.0 and all later versions</td>
332
288
</tr>
333
289
<tr>
334
-
<th scope="row">v15.x</th>
335
-
<td>v15.0.0</td>
336
-
<td>v15.0.0</td>
337
-
<td>v15.0.0</td>
338
-
<td>v15.0.0</td>
339
-
<td>v15.12.0</td>
290
+
<th scope="row">2</th>
291
+
<td>v8.10.0+*, v9.3.0+*, 10.0.0 and all later versions</td>
340
292
</tr>
341
293
<tr>
342
-
<th scope="row">v16.x</th>
343
-
<td>v16.0.0</td>
344
-
<td>v16.0.0</td>
345
-
<td>v16.0.0</td>
346
-
<td>v16.0.0</td>
347
-
<td>v16.0.0</td>
294
+
<th scope="row">1</th>
295
+
<td>v8.6.0+**, v9.0.0+*, 10.0.0 and all later versions</td>
0 commit comments