-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
node-api: define version 10 #55676
node-api: define version 10 #55676
Conversation
Review requested:
|
0b45ca2
to
e7202ac
Compare
e7202ac
to
2e6c423
Compare
To discuss: |
2e6c423
to
b53c01a
Compare
b53c01a
to
a4176e3
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #55676 +/- ##
=======================================
Coverage 88.54% 88.55%
=======================================
Files 657 657
Lines 190655 190657 +2
Branches 36582 36585 +3
=======================================
+ Hits 168824 168829 +5
+ Misses 15002 15001 -1
+ Partials 6829 6827 -2
|
c8e1c65
to
66d9b4e
Compare
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.
Should
Line 100 in d09458f
if (env->module_api_version < NAPI_VERSION_EXPERIMENTAL && |
66d9b4e
to
55f7681
Compare
Notable runtime changes to existing APIs: - returning `node_api_cannot_run_js` instead of `napi_pending_exception`. - allow creating references to objects, functions, and symbols.
55f7681
to
e9de692
Compare
@legendecas updated the PR. Please take another look! |
Commit Queue failed- Loading data for nodejs/node/pull/55676 ✔ Done loading data for nodejs/node/pull/55676 ----------------------------------- PR info ------------------------------------ Title node-api: define version 10 (#55676) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch gabrielschulhof:node-api-10-proposal -> nodejs:main Labels c++, lib / src, node-api, needs-ci Commits 2 - node-api: define version 10 - fixup! TSFN fatal uncaught exception handling Committers 1 - Gabriel Schulhof <[email protected]> PR-URL: https://github.com/nodejs/node/pull/55676 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: James M Snell <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/55676 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: James M Snell <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Fri, 01 Nov 2024 14:47:59 GMT ✔ Approvals: 2 ✔ - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/55676#pullrequestreview-2522671800 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/55676#pullrequestreview-2524627055 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-12-25T23:40:30Z: https://ci.nodejs.org/job/node-test-pull-request/64211/ - Querying data for job/node-test-pull-request/64211/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 55676 From https://github.com/nodejs/node * branch refs/pull/55676/merge -> FETCH_HEAD ✔ Fetched commits as b3f82febf106..e9de692b3e1e -------------------------------------------------------------------------------- [main cf4472b6d1] node-api: define version 10 Author: Gabriel Schulhof <[email protected]> Date: Fri Nov 1 07:47:24 2024 -0700 14 files changed, 39 insertions(+), 58 deletions(-) [main a189f45485] fixup! TSFN fatal uncaught exception handling Author: Gabriel Schulhof <[email protected]> Date: Tue Dec 24 18:05:19 2024 -0800 2 files changed, 7 insertions(+), 7 deletions(-) ✔ Patches applied There are 2 commits in the PR. Attempting autorebase. Rebasing (2/4) Executing: git node land --amend --yes --------------------------------- New Message ---------------------------------- node-api: define version 10
PR-URL: #55676
|
Landed in c5aa8b8 |
Notable runtime changes to existing APIs: - returning `node_api_cannot_run_js` instead of `napi_pending_exception`. - allow creating references to objects, functions, and symbols. PR-URL: #55676 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: James M Snell <[email protected]>
Notable runtime changes to existing APIs:
node_api_cannot_run_js
instead ofnapi_pending_exception
.