-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v10.x] n-api: create N-API version 7 #35336
[v10.x] n-api: create N-API version 7 #35336
Conversation
Mark `napi_detach_arraybuffer` and `napi_is_detached_arraybuffer` as stable. Signed-off-by: Gabriel Schulhof <[email protected]> PR-URL: nodejs#35199 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Review requested:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -34,7 +34,7 @@ assert.notStrictEqual(test_general.testGetPrototype(baseObject), | |||
|
|||
// test version management functions | |||
// expected version is currently 4 | |||
assert.strictEqual(test_general.testGetVersion(), 6); | |||
assert.strictEqual(test_general.testGetVersion(), 7); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the comment above should've also been changed but since this is a backport it's fine like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gabrielschulhof Should this update the N-API version matrix table?
@richardlau looks like we missed updating the matrix in master, opened #35345 to discuss how we might do that. Given that we don't know the versions in advance, I think we've deferred backporting the matrix |
Mark `napi_detach_arraybuffer` and `napi_is_detached_arraybuffer` as stable. Signed-off-by: Gabriel Schulhof <[email protected]> PR-URL: #35199 Backport-PR-URL: #35336 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Landed in 54c2bc2. |
Mark
napi_detach_arraybuffer
andnapi_is_detached_arraybuffer
asstable.
Signed-off-by: @gabrielschulhof
PR-URL: #35199
Reviewed-By: @cjihrig
Reviewed-By: @gengjiawen
Reviewed-By: @legendecas
Reviewed-By: @mhdawson
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes