node-addon-api
Advanced tools
Changelog
2020-04-30 Version 3.0.0, @NickNaso
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)Changelog
2019-11-21 Version 2.0.0, @NickNaso
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) #515Changelog
2019-07-23 Version 1.7.1, @NickNaso
c20bcbd069
] - 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)Changelog
2019-07-23 Version 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) #465Changelog
2019-04-03 Version 1.6.3, @NickNaso
SuppressDestruct
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) #374Changelog
2018-11-29 Version 1.6.2, @NickNaso
07a0fc4e95
] - src: fix selection logic for 6.x (Michael Dawson) #402Changelog
2018-11-14 Version 1.6.1, @NickNaso
Napi::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) #389Changelog
2018-11-02 Version 1.6.0, @NickNaso
Napi::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)