-
Notifications
You must be signed in to change notification settings - Fork 461
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
Possible breaking change in node-addon-api 5.1.0 #1272
Comments
(Just going to move our discussion over here for better visibility) @mhdawson I think there might be a few options we can explore.
On a side note, I couldn't reproduce this error locally using MSVC 2019 |
Could we make the conversion function an explicit conversion only? explicit operator napi_callback_info() const; Then the user would need to use a |
I forked the |
Some interesting find regarding the build issue not showing up in our current windows CI. I tweaked the Did some digging into |
This seems reasonable to me. |
Any concerns with this suggestion?
If we are going to do this we might want to do it soon and then publish a 6.x |
I noticed breaking changes from 5.0.0 to 5.1.0 on my pi. It only occurred on the 32bit versions of pi os (tried buster and bullseye) and both failed to compile. just installed your latest commits directly from github |
The new release v6.0.0 has been published I think that now it's possible to close thi issue if not please do not esitate to reopen. |
Pulls in nodejs/node-addon-api@53f7cf1 which fixes nodejs/node-addon-api#1272. Fixes #5673.
Pulls in nodejs/node-addon-api@53f7cf1 which fixes nodejs/node-addon-api#1272. Fixes realm#5673.
Hello folks, it looks like we had some compilation issues related to the introduction of the
napi_callback_info
implicit conversion operator. Issue link. Not too sure why this wasn't caught by our windows CI.The text was updated successfully, but these errors were encountered: