Skip to content

Commit 79a777e

Browse files
committed
Prepare release 3.0.2.
1 parent 51e25f7 commit 79a777e

File tree

3 files changed

+59
-2
lines changed

3 files changed

+59
-2
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# node-addon-api Changelog
22

3+
## 2020-09-18 Version 3.0.2, @NickNaso
4+
5+
### Notable changes:
6+
7+
#### API
8+
9+
- Introduced `include_dir` for use with **gyp** in a scalar context.
10+
- Added `Napi::Addon` to help handle the loading of a native add-on into
11+
multiple threads and or multiple times in the same thread.
12+
- Concentrate callbacks provided to core N-API.
13+
- Make sure wrapcallback is used.
14+
15+
#### Documentation
16+
17+
- Added documentation for `Napi::Addon`.
18+
- Added documentation that reports the full class hierarchy.
19+
- Added link to N-API tutorial website.
20+
- Some minor corrections all over the documentation.
21+
22+
#### TEST
23+
24+
- Added tests to check the build process.
25+
- Refactored test for threasfafe function using async/await.
26+
- Converted tests that gc into async functions that await 10 ticks after
27+
each gc.
28+
- Some minor corrections all over the test suite.
29+
30+
### Commits
31+
32+
* [[`51e25f7c39`](https://github.com/nodejs/node-addon-api/commit/51e25f7c39)] - **doc**: remove a file (#815) (Gabriel Schulhof)
33+
* [[`8c9f1809a2`](https://github.com/nodejs/node-addon-api/commit/8c9f1809a2)] - **doc**: add inheritance links and other changes (Gabriel Schulhof) [#798](https://github.com/nodejs/node-addon-api/pull/798)
34+
* [[`6562e6b0ab`](https://github.com/nodejs/node-addon-api/commit/6562e6b0ab)] - **test**: added tests to check the build process (NickNaso) [#808](https://github.com/nodejs/node-addon-api/pull/808)
35+
* [[`a13b36c96e`](https://github.com/nodejs/node-addon-api/commit/a13b36c96e)] - **test**: fix the threasfafe function test (NickNaso) [#807](https://github.com/nodejs/node-addon-api/pull/807)
36+
* [[`f27623ff61`](https://github.com/nodejs/node-addon-api/commit/f27623ff61)] - **build**: introduce include\_dir (Lovell Fuller) [#766](https://github.com/nodejs/node-addon-api/pull/766)
37+
* [[`9aceea71fc`](https://github.com/nodejs/node-addon-api/commit/9aceea71fc)] - **src**: concentrate callbacks provided to core N-API (Gabriel Schulhof) [#786](https://github.com/nodejs/node-addon-api/pull/786)
38+
* [[`2bc45bbffd`](https://github.com/nodejs/node-addon-api/commit/2bc45bbffd)] - **test**: refactor test to use async/await (Velmisov) [#787](https://github.com/nodejs/node-addon-api/pull/787)
39+
* [[`518cfdcdc1`](https://github.com/nodejs/node-addon-api/commit/518cfdcdc1)] - **test**: test ObjectWrap destructor - no HandleScope (David Halls) [#729](https://github.com/nodejs/node-addon-api/pull/729)
40+
* [[`c2cbbd9191`](https://github.com/nodejs/node-addon-api/commit/c2cbbd9191)] - **doc**: add link to n-api tutorial website (#794) (Jim Schlight) [#794](https://github.com/nodejs/node-addon-api/pull/794)
41+
* [[`1c2a8d59b5`](https://github.com/nodejs/node-addon-api/commit/1c2a8d59b5)] - **doc**: Added required return to example (#793) (pacop) [#793](https://github.com/nodejs/node-addon-api/pull/793)
42+
* [[`cec2c76941`](https://github.com/nodejs/node-addon-api/commit/cec2c76941)] - **src**: wrap finalizer callback (Gabriel Schulhof) [#762](https://github.com/nodejs/node-addon-api/pull/762)
43+
* [[`4ce40d22a6`](https://github.com/nodejs/node-addon-api/commit/4ce40d22a6)] - **test**: use assert.strictEqual() (Koki Nishihara) [#777](https://github.com/nodejs/node-addon-api/pull/777)
44+
* [[`461e3640c6`](https://github.com/nodejs/node-addon-api/commit/461e3640c6)] - **test**: string tests together (Gabriel Schulhof) [#773](https://github.com/nodejs/node-addon-api/pull/773)
45+
* [[`5af645f649`](https://github.com/nodejs/node-addon-api/commit/5af645f649)] - **src**: add Addon\<T\> class (Gabriel Schulhof) [#749](https://github.com/nodejs/node-addon-api/pull/749)
46+
* [[`6148fb4bcc`](https://github.com/nodejs/node-addon-api/commit/6148fb4bcc)] - Synchronise Node.js versions in Appveyor Windows CI with Travis (#768) (Lovell Fuller)
47+
348
## 2020-07-13 Version 3.0.1, @NickNaso
449

550
### Notable changes:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ and node-addon-api.
5151
- **[Contributors](#contributors)**
5252
- **[License](#license)**
5353

54-
## **Current version: 3.0.1**
54+
## **Current version: 3.0.2**
5555

5656
(See [CHANGELOG.md](CHANGELOG.md) for complete Changelog)
5757

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@
139139
"name": "Kevin Eady",
140140
"url": "https://github.com/KevinEady"
141141
},
142+
{
143+
"name": "Koki Nishihara",
144+
"url": "https://github.com/Nishikoh"
145+
},
142146
{
143147
"name": "Konstantin Tarkus",
144148
"url": "https://github.com/koistya"
@@ -195,6 +199,10 @@
195199
"name": "Nurbol Alpysbayev",
196200
"url": "https://github.com/anurbol"
197201
},
202+
{
203+
"name": "pacop",
204+
"url": "https://github.com/pacop"
205+
},
198206
{
199207
"name": "Philipp Renoth",
200208
"url": "https://github.com/DaAitch"
@@ -239,6 +247,10 @@
239247
"name": "Tux3",
240248
"url": "https://github.com/tux3"
241249
},
250+
{
251+
"name": "Vlad Velmisov",
252+
"url": "https://github.com/Velmisov"
253+
},
242254
{
243255
"name": "Yohei Kishimoto",
244256
"url": "https://github.com/morokosi"
@@ -290,5 +302,5 @@
290302
"dev:incremental": "node test",
291303
"doc": "doxygen doc/Doxyfile"
292304
},
293-
"version": "3.0.1"
305+
"version": "3.0.2"
294306
}

0 commit comments

Comments
 (0)