Skip to content

Commit f677794

Browse files
committed
Prepare release 2.0.0
1 parent c881168 commit f677794

File tree

3 files changed

+265
-46
lines changed

3 files changed

+265
-46
lines changed

CHANGELOG.md

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

3+
## 2019-11-21 Version 2.0.0, @NickNaso
4+
5+
### Notable changes:
6+
7+
#### API
8+
9+
- Added `Napi::AsyncProgressWorker` api.
10+
- Added error checking on `Napi::ThreadSafeFunction::GetContext`.
11+
- Added copy constructor to `Napi::ThreadSafeFunction`.
12+
- Added `Napi::ThreadSafeFunction::Ref` and `Napi::ThreadSafeFunction::Unref` to `Napi::ThreadSafeFunction`.
13+
- Added `Napi::Object::AddFinalizer` method.
14+
- Use `napi_add_finalizer()` to attach data when building against N-API 5.
15+
- Added `Napi::Date` api.
16+
- Added `Napi::ObjectWrap::Finalize` method.
17+
18+
#### Documentation
19+
20+
- Added documentation for `Napi::AsyncProgressWorker`.
21+
- Improve `Napi::AsyncWorker` documentation.
22+
- Added documentation for `Napi::Object::AddFinalizer` method.
23+
- Improved documentation for `Napi::ThreadSafeFunction`.
24+
- Improved documentation about the usage of CMake as build tool.
25+
- Some minor corrections all over the documentation.
26+
27+
#### TEST
28+
29+
- Added test cases for `Napi::AsyncProgressWorker` api.
30+
- Added test cases for `Napi::Date` api.
31+
- Added test cases for new features added to `Napi::ThreadSafeFunction`.
32+
33+
### Commmits
34+
35+
* [[`c881168d49`](https://github.com/nodejs/node-addon-api/commit/c881168d49)] - **tsfn**: add error checking on GetContext (#583) (Kevin Eady) [#583](https://github.com/nodejs/node-addon-api/pull/583)
36+
* [[`24d75dd82f`](https://github.com/nodejs/node-addon-api/commit/24d75dd82f)] - Merge pull request #588 from NickNaso/add-asyncprogress-worker-readme (Nicola Del Gobbo)
37+
* [[`aa79e37b62`](https://github.com/nodejs/node-addon-api/commit/aa79e37b62)] - Merge pull request #587 from timrach/patch-1 (Nicola Del Gobbo)
38+
* [[`df75e08c2b`](https://github.com/nodejs/node-addon-api/commit/df75e08c2b)] - **tsfn**: support direct calls to underlying napi\_tsfn (Kevin Eady) [#58](https://github.com/nodejs/node-addon-api/pull/58)
39+
* [[`2298dfae58`](https://github.com/nodejs/node-addon-api/commit/2298dfae58)] - **doc**: Added AsyncProgressWorker to readme (NickNaso)
40+
* [[`b3609d33b6`](https://github.com/nodejs/node-addon-api/commit/b3609d33b6)] - Fix return type and declaration of setter callback (Tim Rach)
41+
* [[`295e560f55`](https://github.com/nodejs/node-addon-api/commit/295e560f55)] - **test**: improve guards for experimental features (legendecas)
42+
* [[`2e71842f63`](https://github.com/nodejs/node-addon-api/commit/2e71842f63)] - **tsfn**: Implement copy constructor (Kevin Eady) [#546](https://github.com/nodejs/node-addon-api/pull/546)
43+
* [[`650562cab9`](https://github.com/nodejs/node-addon-api/commit/650562cab9)] - **src**: implement AsyncProgressWorker (legendecas) [#529](https://github.com/nodejs/node-addon-api/pull/529)
44+
* [[`bdfd14101f`](https://github.com/nodejs/node-addon-api/commit/bdfd14101f)] - **src**: attach data with napi\_add\_finalizer (Gabriel Schulhof) [#577](https://github.com/nodejs/node-addon-api/pull/577)
45+
* [[`9e955a802b`](https://github.com/nodejs/node-addon-api/commit/9e955a802b)] - **doc**: change node.js to Node.js per guideline (#579) (Tobias Nießen) [#579](https://github.com/nodejs/node-addon-api/pull/579)
46+
* [[`b42e21e3a9`](https://github.com/nodejs/node-addon-api/commit/b42e21e3a9)] - **build**: move node/6 to travis allowed failures and add node/13 (#573) (Gabriel Schulhof)
47+
* [[`8d6132f609`](https://github.com/nodejs/node-addon-api/commit/8d6132f609)] - **doc**: improve AsyncWorker docs (#571) (legendecas) [#571](https://github.com/nodejs/node-addon-api/pull/571)
48+
* [[`bc8fc23627`](https://github.com/nodejs/node-addon-api/commit/bc8fc23627)] - **test**: do not run TSFN tests on NAPI\_VERSION \< 4 (legendecas) [#576](https://github.com/nodejs/node-addon-api/pull/576)
49+
* [[`bcc1d58fc4`](https://github.com/nodejs/node-addon-api/commit/bcc1d58fc4)] - implement Object::AddFinalizer (Gabriel Schulhof)
50+
* [[`e9a4bcd52a`](https://github.com/nodejs/node-addon-api/commit/e9a4bcd52a)] - **doc**: updates Make.js doc to current best practices (Jim Schlight) [#558](https://github.com/nodejs/node-addon-api/pull/558)
51+
* [[`b513d1aa7a`](https://github.com/nodejs/node-addon-api/commit/b513d1aa7a)] - **doc**: fix return type of ArrayBuffer::Data (Tobias Nießen) [#552](https://github.com/nodejs/node-addon-api/pull/552)
52+
* [[`34c11cf0a4`](https://github.com/nodejs/node-addon-api/commit/34c11cf0a4)] - **src**: disallow copying, double close of scopes (legendecas) [#566](https://github.com/nodejs/node-addon-api/pull/566)
53+
* [[`ce139a05e8`](https://github.com/nodejs/node-addon-api/commit/ce139a05e8)] - **src**: make failure of closing scopes fatal (legendecas) [#566](https://github.com/nodejs/node-addon-api/pull/566)
54+
* [[`740c79823e`](https://github.com/nodejs/node-addon-api/commit/740c79823e)] - **src**: add Env() to AsyncContext (Rolf Timmermans) [#568](https://github.com/nodejs/node-addon-api/pull/568)
55+
* [[`ea9ce1c801`](https://github.com/nodejs/node-addon-api/commit/ea9ce1c801)] - **tsfn**: add wrappers for Ref and Unref (Kevin Eady) [#561](https://github.com/nodejs/node-addon-api/pull/561)
56+
* [[`2e1769e1a3`](https://github.com/nodejs/node-addon-api/commit/2e1769e1a3)] - **error**: remove unnecessary if condition (legendecas) [#562](https://github.com/nodejs/node-addon-api/pull/562)
57+
* [[`828f223a87`](https://github.com/nodejs/node-addon-api/commit/828f223a87)] - **doc**: fix spelling in ObjectWrap doc (#563) (Tobias Nießen) [#563](https://github.com/nodejs/node-addon-api/pull/563)
58+
* [[`dd9fa8a4a8`](https://github.com/nodejs/node-addon-api/commit/dd9fa8a4a8)] - **doc**: move Arunesh and Taylor to Emeritus (#540) (Michael Dawson) [#540](https://github.com/nodejs/node-addon-api/pull/540)
59+
* [[`cf8b8415df`](https://github.com/nodejs/node-addon-api/commit/cf8b8415df)] - **doc**: add Kevin to the list of collaborators (#539) (Michael Dawson) [#539](https://github.com/nodejs/node-addon-api/pull/539)
60+
* [[`5d6aeae7b5`](https://github.com/nodejs/node-addon-api/commit/5d6aeae7b5)] - **build**: enable travis for fast PR check (legendecas)
61+
* [[`6192e705cd`](https://github.com/nodejs/node-addon-api/commit/6192e705cd)] - **src**: add napi\_date (Mathias Küsel) [#497](https://github.com/nodejs/node-addon-api/pull/497)
62+
* [[`7b1ee96d52`](https://github.com/nodejs/node-addon-api/commit/7b1ee96d52)] - **doc**: update prebuild\_tools.md (Nurbol Alpysbayev) [#527](https://github.com/nodejs/node-addon-api/pull/527)
63+
* [[`0b4f3a5b8c`](https://github.com/nodejs/node-addon-api/commit/0b4f3a5b8c)] - **tsfn**: fix crash on releasing tsfn (legendecas) [#532](https://github.com/nodejs/node-addon-api/pull/532)
64+
* [[`c3c8814d2f`](https://github.com/nodejs/node-addon-api/commit/c3c8814d2f)] - implement virutal ObjectWrap::Finalize (Michael Price) [#515](https://github.com/nodejs/node-addon-api/pull/515)
65+
366
## 2019-07-23 Version 1.7.1, @NickNaso
467

568
### Notable changes:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ to ideas specified in the **ECMA262 Language Specification**.
4646
- **[Contributors](#contributors)**
4747
- **[License](#license)**
4848

49-
## **Current version: 1.7.1**
49+
## **Current version: 2.0.0**
5050

5151
(See [CHANGELOG.md](CHANGELOG.md) for complete Changelog)
5252

package.json

Lines changed: 201 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,206 @@
33
"url": "https://github.com/nodejs/node-addon-api/issues"
44
},
55
"contributors": [
6-
"Abhishek Kumar Singh (https://github.com/abhi11210646)",
7-
"Alba Mendez (https://github.com/jmendeth)",
8-
"Andrew Petersen (https://github.com/kirbysayshi)",
9-
"Anisha Rohra (https://github.com/anisha-rohra)",
10-
"Anna Henningsen (https://github.com/addaleax)",
11-
"Arnaud Botella (https://github.com/BotellaA)",
12-
"Arunesh Chandra (https://github.com/aruneshchandra)",
13-
"Ben Berman (https://github.com/rivertam)",
14-
"Benjamin Byholm (https://github.com/kkoopa)",
15-
"Bill Gallafent (https://github.com/gallafent)",
16-
"Bruce A. MacNaughton (https://github.com/bmacnaughton)",
17-
"Cory Mickelson (https://github.com/corymickelson)",
18-
"David Halls (https://github.com/davedoesdev)",
19-
"Dongjin Na (https://github.com/nadongguri)",
20-
"Eric Bickle (https://github.com/ebickle)",
21-
"Gabriel Schulhof (https://github.com/gabrielschulhof)",
22-
"Gus Caplan (https://github.com/devsnek)",
23-
"Hitesh Kanwathirtha (https://github.com/digitalinfinity)",
24-
"Jake Barnes (https://github.com/DuBistKomisch)",
25-
"Jake Yoon (https://github.com/yjaeseok)",
26-
"Jason Ginchereau (https://github.com/jasongin)",
27-
"Jim Schlight (https://github.com/jschlight)",
28-
"Jinho Bang (https://github.com/romandev)",
29-
"joshgarde (https://github.com/joshgarde)",
30-
"Kevin Eady (https://github.com/KevinEady)",
31-
"Konstantin Tarkus (https://github.com/koistya)",
32-
"Kyle Farnung (https://github.com/kfarnung)",
33-
"Luciano Martorella (https://github.com/lmartorella)",
34-
"Matteo Collina (https://github.com/mcollina)",
35-
"Michael Dawson (https://github.com/mhdawson)",
36-
"Michele Campus (https://github.com/kYroL01)",
37-
"Mikhail Cheshkov (https://github.com/mcheshkov)",
38-
"Nicola Del Gobbo (https://github.com/NickNaso)",
39-
"Nick Soggin (https://github.com/iSkore)",
40-
"Philipp Renoth (https://github.com/DaAitch)",
41-
"Rolf Timmermans (https://github.com/rolftimmermans)",
42-
"Ross Weir (https://github.com/ross-weir)",
43-
"Ryuichi Okumura (https://github.com/okuryu)",
44-
"Sampson Gao (https://github.com/sampsongao)",
45-
"Sam Roberts (https://github.com/sam-github)",
46-
"Taylor Woll (https://github.com/boingoing)",
47-
"Thomas Gentilhomme (https://github.com/fraxken)",
48-
"Tux3 (https://github.com/tux3)",
49-
"Yohei Kishimoto (https://github.com/morokosi)"
6+
{
7+
"name": "Abhishek Kumar Singh",
8+
"url": "https://github.com/abhi11210646"
9+
},
10+
{
11+
"name": "Alba Mendez",
12+
"url": "https://github.com/jmendeth"
13+
},
14+
{
15+
"name": "Andrew Petersen",
16+
"url": "https://github.com/kirbysayshi"
17+
},
18+
{
19+
"name": "Anisha Rohra",
20+
"url": "https://github.com/anisha-rohra"
21+
},
22+
{
23+
"name": "Anna Henningsen",
24+
"url": "https://github.com/addaleax"
25+
},
26+
{
27+
"name": "Arnaud Botella",
28+
"url": "https://github.com/BotellaA"
29+
},
30+
{
31+
"name": "Arunesh Chandra",
32+
"url": "https://github.com/aruneshchandra"
33+
},
34+
{
35+
"name": "Ben Berman",
36+
"url": "https://github.com/rivertam"
37+
},
38+
{
39+
"name": "Benjamin Byholm",
40+
"url": "https://github.com/kkoopa"
41+
},
42+
{
43+
"name": "Bill Gallafent",
44+
"url": "https://github.com/gallafent"
45+
},
46+
{
47+
"name": "Bruce A. MacNaughton",
48+
"url": "https://github.com/bmacnaughton"
49+
},
50+
{
51+
"name": "Cory Mickelson",
52+
"url": "https://github.com/corymickelson"
53+
},
54+
{
55+
"name": "David Halls",
56+
"url": "https://github.com/davedoesdev"
57+
},
58+
{
59+
"name": "Dongjin Na",
60+
"url": "https://github.com/nadongguri"
61+
},
62+
{
63+
"name": "Eric Bickle",
64+
"url": "https://github.com/ebickle"
65+
},
66+
{
67+
"name": "Gabriel Schulhof",
68+
"url": "https://github.com/gabrielschulhof"
69+
},
70+
{
71+
"name": "Gus Caplan",
72+
"url": "https://github.com/devsnek"
73+
},
74+
{
75+
"name": "Hitesh Kanwathirtha",
76+
"url": "https://github.com/digitalinfinity"
77+
},
78+
{
79+
"name": "Jake Barnes",
80+
"url": "https://github.com/DuBistKomisch"
81+
},
82+
{
83+
"name": "Jake Yoon",
84+
"url": "https://github.com/yjaeseok"
85+
},
86+
{
87+
"name": "Jason Ginchereau",
88+
"url": "https://github.com/jasongin"
89+
},
90+
{
91+
"name": "Jim Schlight",
92+
"url": "https://github.com/jschlight"
93+
},
94+
{
95+
"name": "Jinho Bang",
96+
"url": "https://github.com/romandev"
97+
},
98+
{
99+
"name": "joshgarde",
100+
"url": "https://github.com/joshgarde"
101+
},
102+
{
103+
"name": "Kevin Eady",
104+
"url": "https://github.com/KevinEady"
105+
},
106+
{
107+
"name": "Konstantin Tarkus",
108+
"url": "https://github.com/koistya"
109+
},
110+
{
111+
"name": "Kyle Farnung",
112+
"url": "https://github.com/kfarnung"
113+
},
114+
{
115+
"name": "legendecas",
116+
"url": "https://github.com/legendecas"
117+
},
118+
{
119+
"name": "Luciano Martorella",
120+
"url": "https://github.com/lmartorella"
121+
},
122+
{
123+
"name": "Mathias Küsel",
124+
"url": "https://github.com/mathiask88"
125+
},
126+
{
127+
"name": "Matteo Collina",
128+
"url": "https://github.com/mcollina"
129+
},
130+
{
131+
"name": "Michael Dawson",
132+
"url": "https://github.com/mhdawson"
133+
},
134+
{
135+
"name": "Michael Price",
136+
"url": "https://github.com/mikepricedev"
137+
},
138+
{
139+
"name": "Michele Campus",
140+
"url": "https://github.com/kYroL01"
141+
},
142+
{
143+
"name": "Mikhail Cheshkov",
144+
"url": "https://github.com/mcheshkov"
145+
},
146+
{
147+
"name": "Nicola Del Gobbo",
148+
"url": "https://github.com/NickNaso"
149+
},
150+
{
151+
"name": "Nick Soggin",
152+
"url": "https://github.com/iSkore"
153+
},
154+
{
155+
"name": "Nurbol Alpysbayev",
156+
"url": "https://github.com/anurbol"
157+
},
158+
{
159+
"name": "Philipp Renoth",
160+
"url": "https://github.com/DaAitch"
161+
},
162+
{
163+
"name": "Rolf Timmermans",
164+
"url": "https://github.com/rolftimmermans"
165+
},
166+
{
167+
"name": "Ross Weir",
168+
"url": "https://github.com/ross-weir"
169+
},
170+
{
171+
"name": "Ryuichi Okumura",
172+
"url": "https://github.com/okuryu"
173+
},
174+
{
175+
"name": "Sampson Gao",
176+
"url": "https://github.com/sampsongao"
177+
},
178+
{
179+
"name": "Sam Roberts",
180+
"url": "https://github.com/sam-github"
181+
},
182+
{
183+
"name": "Taylor Woll",
184+
"url": "https://github.com/boingoing"
185+
},
186+
{
187+
"name": "Thomas Gentilhomme",
188+
"url": "https://github.com/fraxken"
189+
},
190+
{
191+
"name": "Tim Rach",
192+
"url": "https://github.com/timrach"
193+
},
194+
{
195+
"name": "Tobias Nießen",
196+
"url": "https://github.com/tniessen"
197+
},
198+
{
199+
"name": "Tux3",
200+
"url": "https://github.com/tux3"
201+
},
202+
{
203+
"name": "Yohei Kishimoto",
204+
"url": "https://github.com/morokosi"
205+
}
50206
],
51207
"dependencies": {},
52208
"description": "Node.js API (N-API)",
@@ -84,5 +240,5 @@
84240
"dev:incremental": "node test",
85241
"doc": "doxygen doc/Doxyfile"
86242
},
87-
"version": "1.7.1"
243+
"version": "2.0.0"
88244
}

0 commit comments

Comments
 (0)