diff options
author | Michael Dawson <michael_dawson@ca.ibm.com> | 2019-05-28 16:05:28 -0400 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2019-06-11 09:19:39 -0400 |
commit | fddc2d7a7eac87be04e4b3cb26ef45e6dcc07fac (patch) | |
tree | 9956a3d83d9567fd43a59b2d3b11614b4db0e801 /doc | |
parent | 26de13a15c3d20b484ac830c8f4aa38d69651b2a (diff) | |
download | android-node-v8-fddc2d7a7eac87be04e4b3cb26ef45e6dcc07fac.tar.gz android-node-v8-fddc2d7a7eac87be04e4b3cb26ef45e6dcc07fac.tar.bz2 android-node-v8-fddc2d7a7eac87be04e4b3cb26ef45e6dcc07fac.zip |
doc: clarify N-API version Matrix
I was asked by a community member if they needed to
recompile for v12.x based on the version matrix. Add
additional context to help ensure it is clear that this
is not the case.
PR-URL: https://github.com/nodejs/node/pull/27942
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Christopher Hiller <boneskull@boneskull.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/n-api.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 46da25b268..c50fdf129f 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -145,6 +145,12 @@ available to the module code. ## N-API Version Matrix +N-API versions are additive and versioned independantly from Node.js. +Version 4 is an extension to version 3 in that it has all of the APIs +from version 3 with some additions. This means that you +do not need to recompile for new versions of Node.js which are +listed as supporting a later version. + | | 1 | 2 | 3 | 4 | |:-----:|:-------:|:--------:|:--------:|:--------:| | v6.x | | | v6.14.2* | | |