Napi::Object
added templated property descriptors.Napi::ObjectWrap
added templated methods.Napi::ObjectWrap
the wrap is removed only on failure.Napi::ObjectWrap
the constructor's exceptions are gracefully handled.Napi::Function
added templated factory functions.Env::RunScript
method to run JavaScript code contained in a string.Napi::Function
.Napi::AsyncProgressQueueWorker
api.NAPI_VERSION > 5
.Napi::AsyncWorker::OnWorkComplete
and Napi::AsyncWorker::OnExecute
methods
are override-able.Napi::ThreadSafeFunction
.Napi::ArrayBuffer
.Napi::Object
.Napi::Function
.Napi::ObjectWrap
.Napi::AsyncProgressQueueWorker
.Napi::Object
.Napi::Function
.Napi::ObjectWrap
.Napi::Env
.Napi::AsyncProgressQueueWorker
.187318e37f
] - doc: Removed references to Node.js lower than 10.x. (#709) (Nicola Del Gobbo)9c9accfbbe
] - src: add support for addon instance data (Gabriel Schulhof) #66382a96502a4
] - src: change guards to NAPI_VERSION > 5 (Gabriel Schulhof) #697a64e8a5641
] - ci: move travis from 13 to 14 (#707) (Gabriel Schulhof)4de23c9d6b
] - doc: fix support bigint64/biguint64 guards (Yulong Wang) #705fedc8195e3
] - doc: fix semicolon missing in async_worker.md (Azlan Mukhtar) #701cdb662506c
] - doc: fix typo in bigint.md (#700) (Kelvin)e1a827ae29
] - src: fix AsyncProgressQueueWorker compilation (#696) (Gabriel Schulhof) #6962c3d5df463
] - Merge pull request #692 from kelvinhammond/patch-1 (Nicola Del Gobbo)623e876949
] - Merge pull request #688 from NickNaso/badges (Nicola Del Gobbo)6c97913d1f
] - Fix minor typo in object_lifetime_management.md (Kelvin)6b8dd47c55
] - Added badge section to documentation. (NickNaso)89e62a9154
] - doc: recommend tags of addon helpers (legendecas) #683ab018444ae
] - src: implement AsyncProgressQueueWorker (legendecas) #585d43da6ac2b
] - doc: add @legendecas to active member list (legendecas)cb498bbe7f
] - doc: Add Napi::BigInt::New() overload for uint64_t (ikokostya)baaaa8452c
] - doc: link threadsafe function from JS function (legendecas)7f56a78ff7
] - objectwrap: remove wrap only on failure (Gabriel Schulhof)4d816183da
] - doc: fix example code (András Timár, Dr) #6577ac6e21801
] - gyp: fix gypfile name in index.js (Anna Henningsen) #65846484202ca
] - test: user data in function property descriptor (Kevin Eady) #6520f8d730483
] - doc: fix syntax error in example (András Timár, Dr) #6504e885069f1
] - src: call napi\_remove\_wrap()
in ObjectWrap
dtor (Anna Henningsen) #4752fde5c3ca3
] - test: update BigInt test for recent change in core (Michael Dawson) #649e8935bd8d9
] - test: add test for own properties on ObjectWrap (Guenter Sandner) #64523ff7f0b24
] - src: make OnWorkComplete and OnExecute override-able (legendecas) #58986384f94d3
] - objectwrap: gracefully handle constructor exceptions (Gabriel Schulhof)9af69da01f
] - remove N-API implementation, v6.x and v8.x support (Gabriel Schulhof) #643920d544779
] - benchmark: add templated version of Function (Gabriel Schulhof) #63703759f7759
] - ignore benchmark built archives (legendecas) #6315eeabb0214
] - tsfn: Remove erroneous finalizer cleanup (Kevin Eady) #6369e0e0f31e4
] - src: remove unnecessary forward declarations (Gabriel Schulhof) #63379deefb6f3
] - src: explicitly disallow assign and copy (legendecas) #590af50ac281b
] - error: do not replace pending exception (Gabriel Schulhof) #629b72f1d6978
] - Disable caching in ArrayBuffer (Tobias Nießen) #6110e7483eb7b
] - Fix code format in tests (Tobias Nießen) #6176a0646356d
] - add benchmarking framework (Gabriel Schulhof) #623ffc71edd54
] - Add Env::RunScript (Tobias Nießen) #616a1b106066e
] - src: add templated function factories (Gabriel Schulhof) #608c584343217
] - Add GetPropertyNames, HasOwnProperty, Delete (#615) (Tobias Nießen) #6153acc4b32f5
] - Fix std::string encoding (#619) (Tobias Nießen) #619e71d0eadcc
] - [doc] Fixed links to array documentation (#613) (Nicola Del Gobbo)3dfb1f0591
] - Change "WG" to "team" (Tobias Nießen)ce91e14860
] - objectwrap: add template methods (Dmitry Ashkadov) #604cfa71b60f7
] - object: add templated property descriptors (Gabriel Schulhof) #610734725e971
] - Correctly define copy assignment operators. (Rolf Timmermans)Napi::AsyncProgressWorker
api.Napi::ThreadSafeFunction::GetContext
.Napi::ThreadSafeFunction
.Napi::ThreadSafeFunction::Ref
and Napi::ThreadSafeFunction::Unref
to Napi::ThreadSafeFunction
.Napi::Object::AddFinalizer
method.napi_add_finalizer()
to attach data when building against N-API 5.Napi::Date
api.Napi::ObjectWrap::Finalize
method.Napi::AsyncProgressWorker
.Napi::AsyncWorker
documentation.Napi::Object::AddFinalizer
method.Napi::ThreadSafeFunction
.Napi::AsyncProgressWorker
api.Napi::Date
api.Napi::ThreadSafeFunction
.c881168d49
] - tsfn: add error checking on GetContext (#583) (Kevin Eady) #58324d75dd82f
] - Merge pull request #588 from NickNaso/add-asyncprogress-worker-readme (Nicola Del Gobbo)aa79e37b62
] - Merge pull request #587 from timrach/patch-1 (Nicola Del Gobbo)df75e08c2b
] - tsfn: support direct calls to underlying napi_tsfn (Kevin Eady) #582298dfae58
] - doc: Added AsyncProgressWorker to readme (NickNaso)b3609d33b6
] - Fix return type and declaration of setter callback (Tim Rach)295e560f55
] - test: improve guards for experimental features (legendecas)2e71842f63
] - tsfn: Implement copy constructor (Kevin Eady) #546650562cab9
] - src: implement AsyncProgressWorker (legendecas) #529bdfd14101f
] - src: attach data with napi_add_finalizer (Gabriel Schulhof) #5779e955a802b
] - doc: change node.js to Node.js per guideline (#579) (Tobias Nießen) #579b42e21e3a9
] - build: move node/6 to travis allowed failures and add node/13 (#573) (Gabriel Schulhof)8d6132f609
] - doc: improve AsyncWorker docs (#571) (legendecas) #571bc8fc23627
] - test: do not run TSFN tests on NAPI_VERSION < 4 (legendecas) #576bcc1d58fc4
] - implement Object::AddFinalizer (Gabriel Schulhof)e9a4bcd52a
] - doc: updates Make.js doc to current best practices (Jim Schlight) #558b513d1aa7a
] - doc: fix return type of ArrayBuffer::Data (Tobias Nießen) #55234c11cf0a4
] - src: disallow copying, double close of scopes (legendecas) #566ce139a05e8
] - src: make failure of closing scopes fatal (legendecas) #566740c79823e
] - src: add Env() to AsyncContext (Rolf Timmermans) #568ea9ce1c801
] - tsfn: add wrappers for Ref and Unref (Kevin Eady) #5612e1769e1a3
] - error: remove unnecessary if condition (legendecas) #562828f223a87
] - doc: fix spelling in ObjectWrap doc (#563) (Tobias Nießen) #563dd9fa8a4a8
] - doc: move Arunesh and Taylor to Emeritus (#540) (Michael Dawson) #540cf8b8415df
] - doc: add Kevin to the list of collaborators (#539) (Michael Dawson) #5395d6aeae7b5
] - build: enable travis for fast PR check (legendecas)6192e705cd
] - src: add napi_date (Mathias Küsel) #4977b1ee96d52
] - doc: update prebuild_tools.md (Nurbol Alpysbayev) #5270b4f3a5b8c
] - tsfn: fix crash on releasing tsfn (legendecas) #532c3c8814d2f
] - implement virutal ObjectWrap::Finalize (Michael Price) #515c20bcbd069
] - Merge pull request #518 from NickNaso/master (Nicola Del Gobbo)6720d57253
] - Create the native threadsafe_function for test only for N-API greater than 3. (NickNaso)37b6c185ad
] - Fix compilation breakage on 1.7.0 (NickNaso)Napi::ThreadSafeFunction
api.Napi::AsyncWorker::GetResult()
method to Napi::AsyncWorker
.Napi::AsyncWorker::Destroy()()
method to Napi::AsyncWorker
.Napi::ThreadSafeFunction
.Napi::ObjectWrap
.717c9ab163
] - AsyncWorker: add GetResult() method (Kevin Eady) #512d9d991bbc9
] - doc: add ThreadSafeFunction to main README (#513) (Kevin Eady) #513ac6000d0fd
] - doc: fix minor typo (Yohei Kishimoto) #510e9fa1eaa86
] - doc: document ThreadSafeFunction (#494) (Kevin Eady) #494cab3b1e2a2
] - doc: ClassPropertyDescriptor example (Ross Weir) #507c32d7dbdcf
] - macros: create errors fully namespaced (Gabriel Schulhof) #5060a90df2fcb
] - Implement ThreadSafeFunction class (Jinho Bang)1fb540eeb5
] - Use curly brackets to include node_api.h (NickNaso) #493b2b08122ea
] - AsyncWorker: make callback optional (Kevin Eady) #489a0cac77c82
] - Added test for bool operator (NickNaso) #490ab7d8fcc48
] - src: fix objectwrap test case (Michael Dawson) #4953b6b9eb88a
] - AsyncWorker: introduce Destroy() method (Gabriel Schulhof) #488f633fbd95d
] - string.md: Document existing New(env, value, length) APIs (Tux3) #486aaea55eda9
] - Little fix on code example (Nicola Del Gobbo) #470e1cf9a35a1
] - Use Value::IsEmpty
to check for empty value (NickNaso) #4783ad5dfc7d9
] - Fix link (Alba Mendez) #481a3b4d99c45
] - doc: Add contribution philosophy doc (Hitesh Kanwathirtha)36863f087b
] - doc: refer to TypedArray and ArrayBuffer from Array (Gabriel "|Nix|" Schulhof) #465SuppressDestruct
method to Napi::AsyncWorker
.void *data
usage in Napi::PropertyDescriptors
.83b41c2fe4
] - Document adding -fvisibility=hidden flag for macOS users (Nicola Del Gobbo) #4601ed7ad8769
] - doc: correct return type of Int32Value to int32_t (Bill Gallafent) #459b0f6b601aa
] - src: add AsyncWorker destruction suppression (Gabriel Schulhof) #40772b1975cff
] - doc: fix links to the Property Descriptor docs (Ryuichi Okumura) #458fcfc612728
] - build: new build targets for debug purposes (Jinho Bang) #186c629553cd7
] - doc: minor doc corrections and clarifications (Bruce A. MacNaughton) #4267b87e0b999
] - doc: update number.md (Bernardo Heynemann) #436fcf173d2a1
] - src: expose macros that throw errors (Gabriel Schulhof) #448b409a2f987
] - package: add npm search keywords (Sam Roberts) #4520bc7987806
] - doc: fix references to Weak and Persistent (Jake Barnes) #428ad6f569f85
] - doc: dix typo (Abhishek Kumar Singh) #43528df833a49
] - 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 some Finalizer
signatures (Philipp Renoth) #414020ac4a628
] - src: make Object::GetPropertyNames()
const (Philipp Renoth)#41591eaa6f4cb
] - src: fix callbackData leaks on error napi status (Philipp Renoth) #4170b40275752
] - src: fix noexcept control flow issues (Philipp Renoth) #420c1ff2936f9
] - src: fix missing void*data usage in PropertyDescriptors (Luciano Martorella) #37407a0fc4e95
] - src: fix selection logic for 6.x (Michael Dawson) #402Napi::CallbackScope
.Napi::CallbackScope
only with N-API v3.e7cd292a74
] - src: remove unused CallbackScope member (Gabriel Schulhof) #391d47399fe25
] - src: guard CallbackScope with N-API v3 (Michael Dawson) #39529a0262ab9
] - doc: fix typo (Dongjin Na) #385b6dc15b88d
] - doc: make links point to node-addon-examples repo (Nicola Del Gobbo) #389Napi::CallbackScope
class that help to have the equivalent of the scope
associated with a callback in place when making certain N-API callsNapi::Array
class.Napi::ArrayBuffer
class.8ce605c657
] - build: avoid using package-lock.json (Jaeseok Yoon) #359fa3a6150b3
] - src: use MakeCallback() -> Call() in AsyncWorker (Jinho Bang) #3612342415463
] - test: create test objects in the stack instead of the heap (Dongjin Na) #37167b7db0a6f
] - test: write tests for Array class (Jaeseok Yoon) #363729f6dc4ee
] - test: add arraybuffer tests (Dongjin Na) #369405f3e5b5b
] - src: implement CallbackScope class (Jinho Bang) #362015d95312f
] - doc: fix Napi::Reference link (Gentilhomme) #365fd65078e3c
] - README.md: link to new ABI stability guide (Gabriel Schulhof) #367ffebf9ba9a
] - Updates for release 1.5.0 (NickNaso)Napi::AsyncContext
class to handle asynchronous operation.Napi::BigInt
class to work with BigInt type.Napi::VersionManagement
class to retrieve the versions of Node.js and N-API.Napi::FunctionReference
.Napi::Promise::Deferred
2009c019af
] - Merge pull request #292 from devsnek/feature/bigint (Gus Caplan)e44aca985e
] - add bigint class (Gus Caplan)a3951ab973
] - Add documentation for Env(). (Rolf Timmermans) #318a6f7a6ad51
] - 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) #323223474900f
] - doc: update Version management (Dongjin Na) #3604f76262a10
] - doc: some fix on Napi::Boolean
documentation (NickNaso) #35478374f72d2
] - doc: number documentation (NickNaso) #35651ffe453f8
] - doc: doc cleanup (NickNaso) #353fc11c944b2
] - doc: major doc cleanup (NickNaso) #335100d0a7cb2
] - doc: first pass on objectwrap documentation (NickNaso) #321c7d54180ff
] - doc: the Napi::ObjectWrap example does not compile (Arnaud Botella) #3397cdd78726a
] - doc: added cpp highlight for string.md (Jaeseok Yoon) #3298ed29f547c
] - doc: add blurb about ABI stability (Gabriel Schulhof) #326757eb1f5a3
] - doc: add function and function reference doc (NickNaso) #2992885c18591
] - doc: Create changelog for release 1.4.0 (Nicola Del Gobbo)917bd60baa
] - src: remove TODOs by fixing memory leaks (Gabriel Schulhof) #343dfcb93945f
] - src: implement AsyncContext class (Jinho Bang) #252211ed38d0d
] - src: make 'nothing' target a static library (Gabriel Schulhof) #34897c4ab5cf2
] - src: add Call and MakeCallback that accept cargs (NickNaso) #344b6e2d92c09
] - src: enable DataView feature by default (Jinho) #3310a00e7c97b
] - src: implement missing descriptor defs for symbols (Philipp Renoth) #28038e01b7e3b
] - src: first pass on adding version management apis (NickNaso) #32579ee8381d2
] - src: fix compile failure in test (Michael Dawson) #3454d92a6066f
] - src: Add ObjectReference test case (Anisha Rohra) #212779560f397
] - test: add operator overloading tests in Number (Your Name) #35573fed84ceb
] - test: add ability to control experimental tests (Michael Dawson) #35014c69abd46
] - test: write tests for Boolean class (Jaeseok Yoon) #3282ad47a83b1
] - test: explicitly cast to uint32_t in test (Gabriel Schulhof) #341622ffaea76
] - test: Tighten up compiler warnings (Mikhail Cheshkov) #315fd3c37b0f2
] - tools: add tool to check for N-API modules (Gabriel Schulhof) #3467dc5ac8bc3
] - doc: update metadata for release (Nicola Del Gobbo)d68e86adb4
] - doc: Added documentation for PropertyDescriptor (Anisha Rohra) #309968a5f2000
] - doc: Add documentation for ObjectReference.md (Anisha Rohra) #307908cdc314c
] - doc: add TypedArray
and TypedArrayOf
(Kyle Farnung) #3052ff776ffe3
] - backport node::Persistent (Gabriel Schulhof) #30098161970c9
] - Backport perf, crash and exception handling fixes (Gabriel Schulhof) #295dd1191e086
] - test: fix asyncworker test so it runs on 6.x (Michael Dawson) #29811697fcecd
] - doc: ArrayBuffer and Buffer documentation (Kyle Farnung) #256605aa2babf
] - Add memory management feature (NickNaso) #28686be13a611
] - doc: Fix HandleScope docs (Ben Berman) #28790f92c4dc0
] - doc: Update broken links in README.md (Hitesh Kanwathirtha) #290c2a620dc11
] - doc: Clarify positioning versus N-API (Michael Dawson) #2886cff890ee5
] - doc: Fix typo in docs (Ben Berman) #2847394bfd154
] - doc: Fix typo in docs (Ben Berman) #28512b2cdeed3
] - fix test files (Kyle Farnung) #2579ab6607242
] - doc: Update Doc Version Number (joshgarde) #277e029a076c6
] - doc: First pass at basic Node Addon API docs (Hitesh Kanwathirtha) #26874ff79717e
] - doc: fix link to async_worker.md (Michael Dawson)5a63f45eda
] - doc: First step of error and async doc (NickNaso) #2729d38f61afb
] - doc: New Promise and Reference docs (Jim Schlight) #24343ff9fa836
] - doc: Updated Object documentation (Anisha Rohra) #254b197f7cc8b
] - doc: minor typos (Nick Soggin) #2484b8918b352
] - Add resource parameters to AsyncWorker constructor (Jinho Bang) #2531ecf7c19b6
] - doc: fix wrong link in readme (miloas) #255a750ed1932
] - release: updates to metadata for next release (Michael Dawson)386c2aeb74
] - test: remove dep on later C++ feature (Michael Dawson) https://github.com/nodejs/node-addon-api/pull/26710697734da
] - Use built-in N-API on Node.js >= 6.14.2 (Gabriel Schulhof)75086da273
] - test: add basic tests and doc for scopes (Michael Dawson) https://github.com/nodejs/node-addon-api/pull/250341dbd25d5
] - doc: update blurb explaining NODE_ADDON_API (Gabriel Schulhof) https://github.com/nodejs/node-addon-api/pull/251cf6c93e4ee
] - don't try to escape null (Michael Dawson) https://github.com/nodejs/node-addon-api/pull/24515e4b35fc2
] - test: fix MSVC warning C4244 in tests (Kyle Farnung) https://github.com/nodejs/node-addon-api/pull/2367f3ca03b8e
] - Create a doc for migration (Sampson Gao) https://github.com/nodejs/node-addon-api/pull/1180a2177debe
] - Fix test failures on linuxOne and AIX (Jinho Bang) https://github.com/nodejs/node-addon-api/pull/232d567f4b6b5
] - Added Napi::Value::IsExternal() (Eric Bickle) https://github.com/nodejs/node-addon-api/pull/2271b0f0e004a
] - Update node-gyp.md (Michele Campus) https://github.com/nodejs/node-addon-api/pull/226faf19c4f7a
] - Fixed initialization of std::string to nullptr (Eric Bickle) https://github.com/nodejs/node-addon-api/pull/2289c4d321b57
] - Implement data manipulation methods for dataview (Jinho Bang) https://github.com/nodejs/node-addon-api/pull/2185a39fdca6f
] - n-api: throw RangeError napi_create_typedarray() (Jinho Bang) https://github.com/nodejs/node-addon-api/pull/216673b59d319
] - src: Initial implementation of DataView class (Jinho Bang) https://github.com/nodejs/node-addon-api/pull/2050a899bf1c5
] - doc: update indication of latest version (Michael Dawson) https://github.com/nodejs/node-addon-api/pull/21117c74e5a5e
] - n-api: RangeError in napi_create_dataview() (Jinho Bang) https://github.com/nodejs/node-addon-api/pull/2144058a29989
] - n-api: fix memory leak in napi_async_destroy() (Jinho Bang) https://github.com/nodejs/node-addon-api/pull/213