Skip to content

Commit 0e34f22

Browse files
committed
release: v6.1.0.
1 parent 5adb896 commit 0e34f22

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

CHANGELOG.md

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

3+
## 2023-04-20 Version 6.1.0, @NickNaso
4+
5+
### Notable changes
6+
7+
#### API
8+
9+
- Enforce type checks on `Napi::Value::As()`.
10+
- Added `Napi::TypeTaggable` class.
11+
- Defined `NAPI_HAS_THREADS` to make TSFN available on Emscripten.
12+
- Defined `NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED` and
13+
`Napi::Buffer::NewOrCopy()` to handle the support for external buffers.
14+
15+
#### TEST
16+
17+
- Added tests for `Napi::Reference<T>` class.
18+
- Added tests for copy/move semantics.
19+
- Added tests for `Napi::RangeError` and `Napi::TypeError` class.
20+
- Fixed inconsistent failure executing test suite.
21+
- Added tests for `Napi::ObjectReference<T>` class.
22+
- Added tests for `Napi::ObjectWrap<T>` class.
23+
24+
### Documentation
25+
26+
- Added documentation for `Napi::TypeTaggable`.
27+
- Some minor fixes all over the documentation.
28+
29+
### Commits
30+
31+
- \[[`5adb896782`](https://github.com/nodejs/node-addon-api/commit/5adb896782)] - **src**: enforce type checks on Napi::Value::As() (#1281) (Chengzhong Wu)
32+
- \[[`d9faac7ec2`](https://github.com/nodejs/node-addon-api/commit/d9faac7ec2)] - Fix exits/exists typo in docs for Env::AddCleanupHook() (#1306) (Mathias Stearn)
33+
- \[[`164459ca03`](https://github.com/nodejs/node-addon-api/commit/164459ca03)] - **doc**: update class hierarchy for TypeTaggable (Gabriel Schulhof) [#1303](https://github.com/nodejs/node-addon-api/pull/1303)
34+
- \[[`d01304437c`](https://github.com/nodejs/node-addon-api/commit/d01304437c)] - **src**: interject class TypeTaggable (Gabriel Schulhof) [#1298](https://github.com/nodejs/node-addon-api/pull/1298)
35+
- \[[`d4942ccd4f`](https://github.com/nodejs/node-addon-api/commit/d4942ccd4f)] - **test**: Complete test coverage for Reference\<T> class (#1277) (Jack)
36+
- \[[`a8ad7e7a7b`](https://github.com/nodejs/node-addon-api/commit/a8ad7e7a7b)] - **test**: Add tests for copy/move semantics (JckXia) [#1295](https://github.com/nodejs/node-addon-api/pull/1295)
37+
- \[[`e484327344`](https://github.com/nodejs/node-addon-api/commit/e484327344)] - Add test coverage for typed and range err (#1280) (Jack)
38+
- \[[`ebc7858593`](https://github.com/nodejs/node-addon-api/commit/ebc7858593)] - **test**: Update wait with a condition (#1297) (Jack)
39+
- \[[`0b53d885f5`](https://github.com/nodejs/node-addon-api/commit/0b53d885f5)] - **src**: define `NAPI_HAS_THREADS` (toyobayashi) [#1283](https://github.com/nodejs/node-addon-api/pull/1283)
40+
- \[[`464610babf`](https://github.com/nodejs/node-addon-api/commit/464610babf)] - **test**: complete objectRefs tests (JckXia) [#1274](https://github.com/nodejs/node-addon-api/pull/1274)
41+
- \[[`b16c762a19`](https://github.com/nodejs/node-addon-api/commit/b16c762a19)] - **src**: handle no support for external buffers (legendecas) [#1273](https://github.com/nodejs/node-addon-api/pull/1273)
42+
- \[[`61b8e28720`](https://github.com/nodejs/node-addon-api/commit/61b8e28720)] - **test**: Add test covg for obj wrap (#1269) (Jack)
43+
344
## 2023-02-03 Version 6.0.0, @NickNaso
445

546
### Notable changes

README.md

+1-1
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: 6.0.0**
73+
## **Current version: 6.1.0**
7474

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

package.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@
247247
"name": "Mathias Küsel",
248248
"url": "https://github.com/mathiask88"
249249
},
250+
{
251+
"name": "Mathias Stearn",
252+
"url": "https://github.com/RedBeard0531"
253+
},
250254
{
251255
"name": "Matteo Collina",
252256
"url": "https://github.com/mcollina"
@@ -355,6 +359,10 @@
355359
"name": "todoroff",
356360
"url": "https://github.com/todoroff"
357361
},
362+
{
363+
"name": "Toyo Li",
364+
"url": "https://github.com/toyobayashi"
365+
},
358366
{
359367
"name": "Tux3",
360368
"url": "https://github.com/tux3"
@@ -451,6 +459,6 @@
451459
"lint:fix": "node tools/clang-format --fix && node tools/eslint-format --fix"
452460
},
453461
"pre-commit": "lint",
454-
"version": "6.0.0",
462+
"version": "6.1.0",
455463
"support": true
456464
}

0 commit comments

Comments
 (0)