Node-addon-api: Next release 2.0.0

Created on 22 Oct 2019  Â·  25Comments  Â·  Source: nodejs/node-addon-api

Hi everyone,
it's my intention create a new release. The last release is 1.7.1 and was deployed the 24rd July. Now we have some new APIs and important fixes to release. Here I report what we need to create this new release:

Nice to have:

To discuss:

If anyone have some other things that needs to be done please add them in the list above.

EDIT 2019-10-29T19:10:16.385Z KevinEady: added #580 to "Nice to Have"
EDIT 2019-11-15T21:50:07.887Z KevinEady: added #583 to "Nice to Have"

Most helpful comment

I'm closing the issue because the new release has been published.

All 25 comments

Hi @NickNaso ,

I am currently working on a PR to address https://github.com/nodejs/node-addon-api/issues/556#issuecomment-544634867 like we discussed yesterday. I am waiting on #546 copy ctor before pushing it though. I think this is a good addition for 2.0.0 as well. I will add it to the list once I create a PR.

https://github.com/nodejs/node-addon-api/pull/545 introduced a breaking change on the usage of the definition of NAPI_EXPERIMENTAL, it would be nice to land such a change on the next semver major version.

545 introduced a breaking change on the usage of the definition of NAPI_EXPERIMENTAL, it would be nice to land such a change on the next semver major version.

@legendecas I added #545 to the list.

If this is a major version release, can we get rid of https://github.com/nodejs/node-addon-api/blob/master/napi-inl.deprecated.h ...?

@KevinEady good point!

@KevinEady @gabrielschulhof could we remove the file without consequences? Is it right?

@NickNaso there were also some conditionally defined sections that needed removing.

https://github.com/nodejs/node-addon-api/pull/572

@NickNaso there were also some conditionally defined sections that needed removing.

572

Added to the list with #573 .

Not sure we want to do all: remove deprecated stuff but keep infra - Merge PR #572. While technically we can because its a SemVer major, we decided to do a major only because of changes we believe will have not effect on existing users. My preference would to avoid trully breaking changes.

I'm OK with deferring the removal of the deprecated stuff. I've struck out the PR from the checklist.

Just a thought: maybe we could utilize labels and GitHub milestone/project to track the releasing process. :P

Can't wait for @legendecas' pull request bringing AsyncProgressWorker to node-addon-api! Thank you everybody!

Really excited about this new release (in particular with "tsfn: Implement copy constructor" which is a key feature that really makes a diff). I just hope the orginal scope is not increased too much so it gets delayed.

@NickNaso I think we are pretty much ready to make the new release.

@mhdawson I will wait until tomorrow just in case someone want add other things in the release.

Hi everyone I'm starting to create and publish the new release ...

Hi @gabrielschulhof @mhdawson,
I prepared all to publish the new release but we have problems on Node.js version 11 https://ci.nodejs.org/view/x%20-%20Abi%20stable%20module%20API/job/node-test-node-addon-api-new/1067/. I think that I can proceed to publish on npm. Is it ok for you?

@NickNaso it looks like the CI is having trouble running Node.js v11.

@NickNaso at this point 11 is long out of service. The failures also look to me like issues with the configuration of the job (versus anything in the tests) that I probably only fixed up for 12 and later.

From my perspective those failures are 11 are not a concern.

The one on 13 was also likely a machine issue but started a new one for 13 to be sure.
https://ci.nodejs.org/view/x%20-%20Abi%20stable%20module%20API/job/node-test-node-addon-api-new/1076/

Hi @mhdawson,
now we have failures for all Node.js version on AIX, but I think that is an infrastructure problem:
ci
Could someone help o solve this problem?

The CI is green now and I will proceed to publish the new release on npm.
Sorry it's not true I missed test on Node.js version 8 that are failing on AIX.

Those might still be machine issues, but the problem is that the other machines are off line so we'll need to get that figured out @sam-github

The CI now is green:

I'm going to complete the work to publish the release.

I'm closing the issue because the new release has been published.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jfathman picture jfathman  Â·  3Comments

romandev picture romandev  Â·  5Comments

NickNaso picture NickNaso  Â·  3Comments

dmitryash picture dmitryash  Â·  5Comments

cinderblock picture cinderblock  Â·  3Comments