- Added
SuppressDestruct
method toNapi::AsyncWorker
. - Added new build targets for debug.
- Exposed macros that throw errors.
- Fixed memory leaks caused by callback data when a napi error occurs.
- Fixed missing
void *data
usage inNapi::PropertyDescriptors
.
- Some minor corrections all over the documentation
- [
83b41c2fe4
] - Document adding -fvisibility=hidden flag for macOS users (Nicola Del Gobbo) #460 - [
1ed7ad8769
] - doc: correct return type of Int32Value to int32_t (Bill Gallafent) #459 - [
b0f6b601aa
] - src: add AsyncWorker destruction suppression (Gabriel Schulhof) #407 - [
72b1975cff
] - doc: fix links to the Property Descriptor docs (Ryuichi Okumura) #458 - [
fcfc612728
] - build: new build targets for debug purposes (Jinho Bang) #186 - [
c629553cd7
] - doc: minor doc corrections and clarifications (Bruce A. MacNaughton) #426 - [
7b87e0b999
] - doc: update number.md (Bernardo Heynemann) #436 - [
fcf173d2a1
] - src: expose macros that throw errors (Gabriel Schulhof) #448 - [
b409a2f987
] - package: add npm search keywords (Sam Roberts) #452 - [
0bc7987806
] - doc: fix references to Weak and Persistent (Jake Barnes) #428 - [
ad6f569f85
] - doc: dix typo (Abhishek Kumar Singh) #435 - [
28df833a49
] - Merge pull request #441 from jschlight/master (Jim Schlight) - [
4921e74d83
] - Rearranges names to be alphabetical (Jim Schlight) - [
48220335b0
] - Membership review update (Jim Schlight) - [
44f0695533
] - Merge pull request #394 from NickNaso/create_release (Nicola DelGobbo) - [
fa49d68416
] - doc: fix someFinalizer
signatures (Philipp Renoth) #414 - [
020ac4a628
] - src: makeObject::GetPropertyNames()
const (Philipp Renoth)#415 - [
91eaa6f4cb
] - src: fix callbackData leaks on error napi status (Philipp Renoth) #417 - [
0b40275752
] - src: fix noexcept control flow issues (Philipp Renoth) #420 - [
c1ff2936f9
] - src: fix missing void*data usage in PropertyDescriptors (Luciano Martorella) #374
- Fixed selection logic for version 6.x.
- [
07a0fc4e95
] - src: fix selection logic for 6.x (Michael Dawson) #402
- Updated links for examples to point to node-addon-examples repo.
- Fixed typos on some parts of documentation.
- Removed unused member on
Napi::CallbackScope
. - Enabled
Napi::CallbackScope
only with N-API v3.
- [
e7cd292a74
] - src: remove unused CallbackScope member (Gabriel Schulhof) #391 - [
d47399fe25
] - src: guard CallbackScope with N-API v3 (Michael Dawson) #395 - [
29a0262ab9
] - doc: fix typo (Dongjin Na) #385 - [
b6dc15b88d
] - doc: make links point to node-addon-examples repo (Nicola Del Gobbo) #389
- Improved documentation about ABI stability.
- Add
Napi::CallbackScope
class that help to have the equivalent of the scope associated with a callback in place when making certain N-API calls
- Added tests for
Napi::Array
class. - Added tests for
Napi::ArrayBuffer
class.
- [
8ce605c657
] - build: avoid using package-lock.json (Jaeseok Yoon) #359 - [
fa3a6150b3
] - src: use MakeCallback() -> Call() in AsyncWorker (Jinho Bang) #361 - [
2342415463
] - test: create test objects in the stack instead of the heap (Dongjin Na) #371 - [
67b7db0a6f
] - test: write tests for Array class (Jaeseok Yoon) #363 - [
729f6dc4ee
] - test: add arraybuffer tests (Dongjin Na) #369 - [
405f3e5b5b
] - src: implement CallbackScope class (Jinho Bang) #362 - [
015d95312f
] - doc: fix Napi::Reference link (Gentilhomme) #365 - [
fd65078e3c
] - README.md: link to new ABI stability guide (Gabriel Schulhof) #367 - [
ffebf9ba9a
] - Updates for release 1.5.0 (NickNaso)
- Completed the documentation to cover all the API surface.
- Numerous fixes to make documentation more consistent in all of its parts.
- Add
Napi::AsyncContext
class to handle asynchronous operation. - Add
Napi::BigInt
class to work with BigInt type. - Add
Napi::VersionManagement
class to retrieve the versions of Node.js and N-API. - Fix potential memory leaks.
- DataView feature is enabled by default
- Add descriptor for Symbols
- Add new methods on
Napi::FunctionReference
. - Add the possibility to retrieve the environment on
Napi::Promise::Deferred
- Add tool to check if a native add-on is built using N-API
- Start to increase the test coverage
- Fix in the test suite to better handle the experimental features that are not yet backported in the previous Node.js version.
- [
2009c019af
] - Merge pull request #292 from devsnek/feature/bigint (Gus Caplan) - [
e44aca985e
] - add bigint class (Gus Caplan) - [
a3951ab973
] - Add documentation for Env(). (Rolf Timmermans) #318 - [
a6f7a6ad51
] - Add Env() to Promise::Deferred. (Rolf Timmermans) - [
0097e96b92
] - Fixed broken links for Symbol and String (NickNaso) - [
b0ecd38d76
] - Fix Code of conduct link properly (#323) (Jake Yoon) #323 - [
223474900f
] - doc: update Version management (Dongjin Na) #360 - [
4f76262a10
] - doc: some fix onNapi::Boolean
documentation (NickNaso) #354 - [
78374f72d2
] - doc: number documentation (NickNaso) #356 - [
51ffe453f8
] - doc: doc cleanup (NickNaso) #353 - [
fc11c944b2
] - doc: major doc cleanup (NickNaso) #335 - [
100d0a7cb2
] - doc: first pass on objectwrap documentation (NickNaso) #321 - [
c7d54180ff
] - doc: the Napi::ObjectWrap example does not compile (Arnaud Botella) #339 - [
7cdd78726a
] - doc: added cpp highlight for string.md (Jaeseok Yoon) #329 - [
8ed29f547c
] - doc: add blurb about ABI stability (Gabriel Schulhof) #326 - [
757eb1f5a3
] - doc: add function and function reference doc (NickNaso) #299 - [
2885c18591
] - doc: Create changelog for release 1.4.0 (Nicola Del Gobbo) - [
917bd60baa
] - src: remove TODOs by fixing memory leaks (Gabriel Schulhof) #343 - [
dfcb93945f
] - src: implement AsyncContext class (Jinho Bang) #252 - [
211ed38d0d
] - src: make 'nothing' target a static library (Gabriel Schulhof) #348 - [
97c4ab5cf2
] - src: add Call and MakeCallback that accept cargs (NickNaso) #344 - [
b6e2d92c09
] - src: enable DataView feature by default (Jinho) #331 - [
0a00e7c97b
] - src: implement missing descriptor defs for symbols (Philipp Renoth) #280 - [
38e01b7e3b
] - src: first pass on adding version management apis (NickNaso) #325 - [
79ee8381d2
] - src: fix compile failure in test (Michael Dawson) #345 - [
4d92a6066f
] - src: Add ObjectReference test case (Anisha Rohra) #212 - [
779560f397
] - test: add operator overloading tests in Number (Your Name) #355 - [
73fed84ceb
] - test: add ability to control experimental tests (Michael Dawson) #350 - [
14c69abd46
] - test: write tests for Boolean class (Jaeseok Yoon) #328 - [
2ad47a83b1
] - test: explicitly cast to uint32_t in test (Gabriel Schulhof) #341 - [
622ffaea76
] - test: Tighten up compiler warnings (Mikhail Cheshkov) #315 - [
fd3c37b0f2
] - tools: add tool to check for N-API modules (Gabriel Schulhof) #346
- Numerous additions to the documentation, filling out coverage of API surface
- Add resource parameters to AsyncWorker constructor
- Add memory management feature
- [
7dc5ac8bc3
] - doc: update metadata for release (Nicola Del Gobbo) - [
d68e86adb4
] - doc: Added documentation for PropertyDescriptor (Anisha Rohra) #309 - [
968a5f2000
] - doc: Add documentation for ObjectReference.md (Anisha Rohra) #307 - [
908cdc314c
] - doc: addTypedArray
andTypedArrayOf
(Kyle Farnung) #305 - [
2ff776ffe3
] - backport node::Persistent (Gabriel Schulhof) #300 - [
98161970c9
] - Backport perf, crash and exception handling fixes (Gabriel Schulhof) #295 - [
dd1191e086
] - test: fix asyncworker test so it runs on 6.x (Michael Dawson) #298 - [
11697fcecd
] - doc: ArrayBuffer and Buffer documentation (Kyle Farnung) #256 - [
605aa2babf
] - Add memory management feature (NickNaso) #286 - [
86be13a611
] - doc: Fix HandleScope docs (Ben Berman) #287 - [
90f92c4dc0
] - doc: Update broken links in README.md (Hitesh Kanwathirtha) #290 - [
c2a620dc11
] - doc: Clarify positioning versus N-API (Michael Dawson) #288 - [
6cff890ee5
] - doc: Fix typo in docs (Ben Berman) #284 - [
7394bfd154
] - doc: Fix typo in docs (Ben Berman) #285 - [
12b2cdeed3
] - fix test files (Kyle Farnung) #257 - [
9ab6607242
] - doc: Update Doc Version Number (joshgarde) #277 - [
e029a076c6
] - doc: First pass at basic Node Addon API docs (Hitesh Kanwathirtha) #268 - [
74ff79717e
] - doc: fix link to async_worker.md (Michael Dawson) - [
5a63f45eda
] - doc: First step of error and async doc (NickNaso) #272 - [
9d38f61afb
] - doc: New Promise and Reference docs (Jim Schlight) #243 - [
43ff9fa836
] - doc: Updated Object documentation (Anisha Rohra) #254 - [
b197f7cc8b
] - doc: minor typos (Nick Soggin) #248 - [
4b8918b352
] - Add resource parameters to AsyncWorker constructor (Jinho Bang) #253 - [
1ecf7c19b6
] - doc: fix wrong link in readme (miloas) #255 - [
a750ed1932
] - release: updates to metadata for next release (Michael Dawson)
- Added documentation for Scopes
- Added documentation for migration from NAN
- Update documentation to better explain the use of NODE_ADDON_API
- Implement data manipulation methods for dataview
- Use built-in N-API on Node.js >= 6.14.2
- Value
- Added IsExternal()
- IsObject() allow functions
- String
- Fixed initialization of std::string to nullptr
- Fix test failures on linuxOne and AIX
- Added basic tests for Scopes
- Fix MSVC warning C4244 in tests
- [386c2aeb74] - test: remove dep on later C++ feature (Michael Dawson) nodejs#267
- [10697734da] - Use built-in N-API on Node.js >= 6.14.2 (Gabriel Schulhof)
- [75086da273] - test: add basic tests and doc for scopes (Michael Dawson) nodejs#250
- [341dbd25d5] - doc: update blurb explaining NODE_ADDON_API (Gabriel Schulhof) nodejs#251
- [cf6c93e4ee] - don't try to escape null (Michael Dawson) nodejs#245
- [15e4b35fc2] - test: fix MSVC warning C4244 in tests (Kyle Farnung) nodejs#236
- [7f3ca03b8e] - Create a doc for migration (Sampson Gao) nodejs#118
- [0a2177debe] - Fix test failures on linuxOne and AIX (Jinho Bang) nodejs#232
- [d567f4b6b5] - Added Napi::Value::IsExternal() (Eric Bickle) nodejs#227
- [1b0f0e004a] - Update node-gyp.md (Michele Campus) nodejs#226
- [faf19c4f7a] - Fixed initialization of std::string to nullptr (Eric Bickle) nodejs#228
- [9c4d321b57] - Implement data manipulation methods for dataview (Jinho Bang) nodejs#218
- [5a39fdca6f] - n-api: throw RangeError napi_create_typedarray() (Jinho Bang) nodejs#216
- [1376377202] - Make IsObject() allow functions (Jinho Bang) nodejs#217
- [673b59d319] - src: Initial implementation of DataView class (Jinho Bang) nodejs#205
- [0a899bf1c5] - doc: update indication of latest version (Michael Dawson) nodejs#211
- [17c74e5a5e] - n-api: RangeError in napi_create_dataview() (Jinho Bang) nodejs#214
- [4058a29989] - n-api: fix memory leak in napi_async_destroy() (Jinho Bang) nodejs#213