Skip to content

Commit 60348d1

Browse files
committed
Prepare release 3.2.0.
1 parent 5272131 commit 60348d1

File tree

3 files changed

+103
-3
lines changed

3 files changed

+103
-3
lines changed

CHANGELOG.md

+84
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,89 @@
11
# node-addon-api Changelog
22

3+
## 2021-05-17 Version 3.2.0, @NickNaso
4+
5+
### Notable changes:
6+
7+
#### API
8+
9+
- Remove unnecessary symbol exposure.
10+
- Fixed leak in `Napi::ObjectWrap` instance for getter and setter method.
11+
- Added `Napi::Object::Freeze` and `Napi::object::Seal` methods.
12+
- `Napi::Reference` is now copyable.
13+
14+
#### Documentation
15+
16+
- Added docuemtnation for `Napi::Object::PropertyLValue`.
17+
- Changed all N-API references to Node-API.
18+
- Some minor corrections all over the documentation.
19+
20+
#### TEST
21+
22+
- Added tests relating to fetch property from Global Object.
23+
- Added addtiona tests for `Napi::Object`.
24+
- Added test for `Napi::Function` contructors.
25+
- Fixed intermittent failure for `Napi::ThreadSafeFunction` test.
26+
- Some minor corrections all over the test suite.
27+
28+
### TOOL
29+
30+
- Added Node.js v16.x to CI.
31+
- Added CI configuration for Windows.
32+
- Some fixex on linter command.
33+
34+
### Commits
35+
36+
* [[`52721312f6`](https://github.com/nodejs/node-addon-api/commit/52721312f6)] - **docs**: add napi-rs iin Other Bindings section (#999) (LongYinan)
37+
* [[`78a6570a42`](https://github.com/nodejs/node-addon-api/commit/78a6570a42)] - **doc**: fix typo in code example (#997) (Tobias Nießen)
38+
* [[`da3bd5778f`](https://github.com/nodejs/node-addon-api/commit/da3bd5778f)] - **test**: fix undoc assumptions about the timing of tsfn calls (legendecas) [#995](https://github.com/nodejs/node-addon-api/pull/995)
39+
* [[`410cf6a81e`](https://github.com/nodejs/node-addon-api/commit/410cf6a81e)] - **src**: return bool on object freeze and seal (#991) (legendecas)
40+
* [[`93f1898312`](https://github.com/nodejs/node-addon-api/commit/93f1898312)] - **src**: return bool on object set and define property (#977) (legendecas)
41+
* [[`331c2ee274`](https://github.com/nodejs/node-addon-api/commit/331c2ee274)] - **build**: add Node.js v16.x to CI (#983) (legendecas)
42+
* [[`b6f5eb15e6`](https://github.com/nodejs/node-addon-api/commit/b6f5eb15e6)] - **test**: run test suites with helpers (legendecas) [#976](https://github.com/nodejs/node-addon-api/pull/976)
43+
* [[`fbcdf00ea0`](https://github.com/nodejs/node-addon-api/commit/fbcdf00ea0)] - **test**: rename misspelled parameters (Tobias Nießen) [#973](https://github.com/nodejs/node-addon-api/pull/973)
44+
* [[`63a6c32e80`](https://github.com/nodejs/node-addon-api/commit/63a6c32e80)] - **test**: fix intermittent TSFN crashes (Kevin Eady) [#974](https://github.com/nodejs/node-addon-api/pull/974)
45+
* [[`8f120b033f`](https://github.com/nodejs/node-addon-api/commit/8f120b033f)] - **fix**: key for wapping drawing's system condition (#970) (Kévin VOYER)
46+
* [[`1c9d528d66`](https://github.com/nodejs/node-addon-api/commit/1c9d528d66)] - **doc**: correct struct definition (#969) (Darshan Sen)
47+
* [[`5e64d1fa61`](https://github.com/nodejs/node-addon-api/commit/5e64d1fa61)] - Added badges for Node-API v7 and v8. (#954) (Nicola Del Gobbo)
48+
* [[`6ce629b3fa`](https://github.com/nodejs/node-addon-api/commit/6ce629b3fa)] - **src**: add pull request template (#967) (Michael Dawson)
49+
* [[`98126661af`](https://github.com/nodejs/node-addon-api/commit/98126661af)] - Update CONTRIBUTING.md (#966) (Michael Dawson)
50+
* [[`77350eee98`](https://github.com/nodejs/node-addon-api/commit/77350eee98)] - **src**: added Freeze and Seal method to Object class. (NickNaso) [#955](https://github.com/nodejs/node-addon-api/pull/955)
51+
* [[`bc5147cc4a`](https://github.com/nodejs/node-addon-api/commit/bc5147cc4a)] - Finished tests relating to fetch property from Global Object (JckXia)
52+
* [[`0127813111`](https://github.com/nodejs/node-addon-api/commit/0127813111)] - **doc**: unambiguously mark deprecated signatures (Tobias Nießen) [#942](https://github.com/nodejs/node-addon-api/pull/942)
53+
* [[`787e216105`](https://github.com/nodejs/node-addon-api/commit/787e216105)] - **doc**: rename N-API with Node-API (Darshan Sen) [#951](https://github.com/nodejs/node-addon-api/pull/951)
54+
* [[`628023689a`](https://github.com/nodejs/node-addon-api/commit/628023689a)] - **src**: rename N-API with Node-API on comments (NickNaso) [#953](https://github.com/nodejs/node-addon-api/pull/953)
55+
* [[`5c6391578f`](https://github.com/nodejs/node-addon-api/commit/5c6391578f)] - **build**: add CI configuration for Windows (NickNaso) [#948](https://github.com/nodejs/node-addon-api/pull/948)
56+
* [[`8ef07251ec`](https://github.com/nodejs/node-addon-api/commit/8ef07251ec)] - **doc**: added some warnings for buffer and array buffer factory method. (#929) (Nicola Del Gobbo)
57+
* [[`6490b1f730`](https://github.com/nodejs/node-addon-api/commit/6490b1f730)] - **doc**: sync Object::Set value arg with Value::From (#933) (Tobias Nießen)
58+
* [[`7319a0d7a2`](https://github.com/nodejs/node-addon-api/commit/7319a0d7a2)] - Fix tab indent (#938) (Tobias Nießen)
59+
* [[`1916cb937e`](https://github.com/nodejs/node-addon-api/commit/1916cb937e)] - **chore**: fixup linter commands (#940) (legendecas)
60+
* [[`fc4585fa23`](https://github.com/nodejs/node-addon-api/commit/fc4585fa23)] - **test**: dd tests for Function constructors (JoseExposito) [#937](https://github.com/nodejs/node-addon-api/pull/937)
61+
* [[`87b7aae469`](https://github.com/nodejs/node-addon-api/commit/87b7aae469)] - **doc**: warn about SuppressDestruct() (#926) (Anna Henningsen)
62+
* [[`71494a49a3`](https://github.com/nodejs/node-addon-api/commit/71494a49a3)] - **src,doc**: refactor to replace typedefs with usings (Darshan Sen) [#910](https://github.com/nodejs/node-addon-api/pull/910)
63+
* [[`298ff8d9d2`](https://github.com/nodejs/node-addon-api/commit/298ff8d9d2)] - **test**: add additional tests for Object (JoseExposito) [#923](https://github.com/nodejs/node-addon-api/pull/923)
64+
* [[`8a1147b430`](https://github.com/nodejs/node-addon-api/commit/8a1147b430)] - **revert**: src: add additional tests for Function (Michael Dawson)
65+
* [[`bb56ffaa6f`](https://github.com/nodejs/node-addon-api/commit/bb56ffaa6f)] - **doc**: fix documentation for object api (Nicola Del Gobbo) [#931](https://github.com/nodejs/node-addon-api/pull/931)
66+
* [[`3b8bddab49`](https://github.com/nodejs/node-addon-api/commit/3b8bddab49)] - **src**: add additional tests for Function (José Expósito) [#928](https://github.com/nodejs/node-addon-api/pull/928)
67+
* [[`74ab50c775`](https://github.com/nodejs/node-addon-api/commit/74ab50c775)] - **src**: allow references to be copyable in APIs (legendecas) [#915](https://github.com/nodejs/node-addon-api/pull/915)
68+
* [[`929709d0fe`](https://github.com/nodejs/node-addon-api/commit/929709d0fe)] - **doc**: add propertylvalue.md (#925) (Gabriel Schulhof)
69+
* [[`69d0d98be4`](https://github.com/nodejs/node-addon-api/commit/69d0d98be4)] - fixup (Anna Henningsen)
70+
* [[`46e41d961b`](https://github.com/nodejs/node-addon-api/commit/46e41d961b)] - fixup (Anna Henningsen)
71+
* [[`1af1642fb7`](https://github.com/nodejs/node-addon-api/commit/1af1642fb7)] - **doc**: warn about SuppressDestruct() (Anna Henningsen)
72+
* [[`12c548b2ff`](https://github.com/nodejs/node-addon-api/commit/12c548b2ff)] - **tools**: fix error detection (#914) (Darshan Sen)
73+
* [[`458d895d5b`](https://github.com/nodejs/node-addon-api/commit/458d895d5b)] - **packaging**: list files to be published to npm (Lovell Fuller) [#889](https://github.com/nodejs/node-addon-api/pull/889)
74+
* [[`f7ed2490d4`](https://github.com/nodejs/node-addon-api/commit/f7ed2490d4)] - **test**: remove outdated V8 flag (Darshan Sen) [#895](https://github.com/nodejs/node-addon-api/pull/895)
75+
* [[`a575a6ec60`](https://github.com/nodejs/node-addon-api/commit/a575a6ec60)] - **src**: fix leak in ObjectWrap instance set/getters (Kevin Eady) [#899](https://github.com/nodejs/node-addon-api/pull/899)
76+
* [[`b6e844e0b0`](https://github.com/nodejs/node-addon-api/commit/b6e844e0b0)] - **doc**: fix spelling of "targeted" and "targeting" (#904) (Tobias Nießen)
77+
* [[`4d856f6e91`](https://github.com/nodejs/node-addon-api/commit/4d856f6e91)] - **src**: remove unnecessary symbol exposure (Gabriel Schulhof) [#896](https://github.com/nodejs/node-addon-api/pull/896)
78+
* [[`f35bb7d0d7`](https://github.com/nodejs/node-addon-api/commit/f35bb7d0d7)] - **doc**: Update GitHub URL references from 'master' to 'HEAD' (#898) (Jim Schlight)
79+
* [[`286ae215d1`](https://github.com/nodejs/node-addon-api/commit/286ae215d1)] - Add warning about branch rename (Michael Dawson)
80+
* [[`a4a7b28288`](https://github.com/nodejs/node-addon-api/commit/a4a7b28288)] - Update branch references from master to main (#886) (Jim Schlight)
81+
* [[`a2ad0a107a`](https://github.com/nodejs/node-addon-api/commit/a2ad0a107a)] - **docs**: add NAN to N-API resource link (#880) (kidneysolo)
82+
* [[`1c040eeb63`](https://github.com/nodejs/node-addon-api/commit/1c040eeb63)] - **test**: load testModules automatically (raisinten) [#876](https://github.com/nodejs/node-addon-api/pull/876)
83+
* [[`bf478e4496`](https://github.com/nodejs/node-addon-api/commit/bf478e4496)] - **src**: use NAPI\_NOEXCEPT macro instead of noexcept (NickNaso) [#864](https://github.com/nodejs/node-addon-api/pull/864)
84+
* [[`744705f2eb`](https://github.com/nodejs/node-addon-api/commit/744705f2eb)] - **test**: refactor remove repeated execution index.js (raisinten) [#839](https://github.com/nodejs/node-addon-api/pull/839)
85+
* [[`db62e3c811`](https://github.com/nodejs/node-addon-api/commit/db62e3c811)] - Update team members (Michael Dawson)
86+
387
## 2020-12-17 Version 3.1.0, @NickNaso
488

589
### Notable changes:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ and node-addon-api.
7070
- **[Contributors](#contributors)**
7171
- **[License](#license)**
7272

73-
## **Current version: 3.1.0**
73+
## **Current version: 3.2.0**
7474

7575
(See [CHANGELOG.md](CHANGELOG.md) for complete Changelog)
7676

@@ -83,7 +83,7 @@ This allows addons built with it to run with Node.js versions which support the
8383
**However** the node-addon-api support model is to support only the active LTS Node.js versions. This means that
8484
every year there will be a new major which drops support for the Node.js LTS version which has gone out of service.
8585

86-
The oldest Node.js version supported by the current version of node-addon-api is Node.js 10.x.
86+
The oldest Node.js version supported by the current version of node-addon-api is Node.js 12.x.
8787

8888
## Setup
8989
- [Installation and usage](doc/setup.md)

package.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@
115115
"name": "ikokostya",
116116
"url": "https://github.com/ikokostya"
117117
},
118+
{
119+
"name": "Jack Xia",
120+
"url": "https://github.com/JckXia"
121+
},
118122
{
119123
"name": "Jake Barnes",
120124
"url": "https://github.com/DuBistKomisch"
@@ -139,6 +143,10 @@
139143
"name": "Jinho Bang",
140144
"url": "https://github.com/romandev"
141145
},
146+
{
147+
"name": "José Expósito",
148+
"url": "https://github.com/JoseExposito"
149+
},
142150
{
143151
"name": "joshgarde",
144152
"url": "https://github.com/joshgarde"
@@ -155,6 +163,10 @@
155163
"name": "Kevin Eady",
156164
"url": "https://github.com/KevinEady"
157165
},
166+
{
167+
"name": "Kévin VOYER",
168+
"url": "https://github.com/kecsou"
169+
},
158170
{
159171
"name": "kidneysolo",
160172
"url": "https://github.com/kidneysolo"
@@ -175,6 +187,10 @@
175187
"name": "legendecas",
176188
"url": "https://github.com/legendecas"
177189
},
190+
{
191+
"name": "LongYinan",
192+
"url": "https://github.com/Brooooooklyn"
193+
},
178194
{
179195
"name": "Lovell Fuller",
180196
"url": "https://github.com/lovell"
@@ -347,6 +363,6 @@
347363
"lint:fix": "node tools/clang-format --fix"
348364
},
349365
"pre-commit": "lint",
350-
"version": "3.1.0",
366+
"version": "3.2.0",
351367
"support": true
352368
}

0 commit comments

Comments
 (0)