node-addon-api
Advanced tools
Changelog
2020-12-17 Version 3.1.0, @NickNaso
Napi::TypedThreadSafeFunction
class that is a new implementation for
thread-safe functions.Napi::AsyncProgressWorkerBase
.Napi::AsyncProgressWorker::OnProgress
caused by race
conditions of Napi::AsyncProgressWorker
.Napi::ArrayBuffer::Detach()
and Napi::ArrayBuffer::IsDetached()
.Napi::FinalizeCallback
it needs to create a
Napi::HandleScope
when it calls Napi::ObjectWrap::~ObjectWrap()
.Napi::TypedThreadSafeFunction
.Napi::TypedThreadSafeFunction
.sudo
tag from Travis CI.ff642c5b85
] - doc: fix tsfn docs to reflect true implementation (#860) (Kevin Eady)86feeebf54
] - src: empty data OnProgress in AsyncProgressWorker (legendecas) #853a7fb5fb31c
] - action: add stale action (#856) (Michael Dawson)fd44609885
] - chore: setup github actions for tests (#854) (legendecas) #854c52ace4813
] - script: fix complains that js files are not supported on npm run lint:fix (#852) (legendecas)b4a3364ad5
] - doc: remove unused Doxygen file (#851) (Michael Dawson)b810466ae2
] - doc: clarify when to use N-API (#849) (Michael Dawson)528b9f6832
] - test: remove sudo from travis (#850) (Michael Dawson)4bb680de4e
] - Remove misleading sentence (#847) (Nikolai Vavilov) #84748e6b584a3
] - Merge pull request #742 from KevinEady/contexted-tsfn-api-gcc-4 (Gabriel Schulhof)d5e37210cc
] - tools: print more instructions on clang-format check failed (#846) (legendecas) #846d9e11ff2c9
] - doc: add support info (#843) (Michael Dawson) #843356e93d69a
] - test: fixup testing for specific N-API version (#840) (Michael Dawson) #8405e5b9ce1b7
] - Apply formatting changes (Kevin Eady)559ad8c0c0
] - Merge remote-tracking branch 'upstream/master' into contexted-tsfn-api-gcc-4 (Kevin Eady)c24c455ced
] - Rename to TypedThreadSafeFunction (Kevin Eady)63b43f4125
] - test: fix buildType bug objectwrap_worker_thread (raisinten) #8376321f2ba1a
] - test: fix typos in addon_build/index.js (raisinten) #83859c6a6aeb0
] - fix: git-clang-format doesn't recognize no changes requested on given files (#835) (legendecas)1427b3ef78
] - src: create a HandleScope in FinalizeCallback (blagoev) #8328fb5820557
] - build: add incremental clang-format checks (legendecas) #8192c02d317e5
] - build: add pre-commit package for linting (#823) (Kevin Eady)1b52c28eb8
] - Clean up AsyncProgressWorker documentation (#831) (mastergberry)4abe7cfe30
] - test: rename tsfnex test files (Kevin Eady)c9563caa25
] - src: add ArrayBuffer::Detach() and ::IsDetached() (Tobias Nießen) #659c79cabaed2
] - doc: avoid directing users to HTTP (#828) (Tobias Nießen)7a13f861ab
] - doc: fix additional typo (Kevin Eady)7ec9741dd2
] - Merge remote-tracking branch 'upstream/master' into contexted-tsfn-api-gcc-4 (Kevin Eady)f5fad239fa
] - Update object_reference.md (#827) (kidneysolo)35b65712c2
] - Fix: some typos in documentation (#826) (Helio Frota)8983383000
] - Fix: some typos in the document (#825) (Ziqiu Zhao)826e466ef6
] - Fixed example in addon.md. (#820) (nempoBu4) #820b54f5eb788
] - Additional changes from review (Kevin Eady)59f27dac9a
] - Fix common.gypi (Kevin Eady)151a914c99
] - Apply documentation suggestions from code review (Kevin Eady)ceb27d4949
] - src: fix leak in AsyncProgressWorkerBase<DataType> (Ferdinand Holzer) #795Changelog
2020-09-18 Version 3.0.2, @NickNaso
include_dir
for use with gyp in a scalar context.Napi::Addon
to help handle the loading of a native add-on into
multiple threads and or multiple times in the same thread.Napi::Addon
.51e25f7c39
] - doc: remove a file (#815) (Gabriel Schulhof)8c9f1809a2
] - doc: add inheritance links and other changes (Gabriel Schulhof) #7986562e6b0ab
] - test: added tests to check the build process (NickNaso) #808a13b36c96e
] - test: fix the threasfafe function test (NickNaso) #807f27623ff61
] - build: introduce include_dir (Lovell Fuller) #7669aceea71fc
] - src: concentrate callbacks provided to core N-API (Gabriel Schulhof) #7862bc45bbffd
] - test: refactor test to use async/await (Velmisov) #787518cfdcdc1
] - test: test ObjectWrap destructor - no HandleScope (David Halls) #729c2cbbd9191
] - doc: add link to n-api tutorial website (#794) (Jim Schlight) #7941c2a8d59b5
] - doc: Added required return to example (#793) (pacop) #793cec2c76941
] - src: wrap finalizer callback (Gabriel Schulhof) #7624ce40d22a6
] - test: use assert.strictEqual() (Koki Nishihara) #777461e3640c6
] - test: string tests together (Gabriel Schulhof) #7735af645f649
] - src: add Addon<T> class (Gabriel Schulhof) #7496148fb4bcc
] - Synchronise Node.js versions in Appveyor Windows CI with Travis (#768) (Lovell Fuller)Changelog
2020-07-13 Version 3.0.1, @NickNaso
Napi::Reference
with Napi::TypedArray
.Napi::ObjectWrap
inheritance.Napi::ObjectWrap
.Napi::ArrayBuffer
and Napi::Buffer
.40c7926342
] - build: ensure paths with spaces can be used (Lovell Fuller) #757ef16dfb4a2
] - doc: update ObjectWrap example (Gabriel Schulhof) #75448f6762bf6
] - src: add __wasm32__ guards (Gus Caplan)bd2c5ec502
] - Fixes issue 745. (#748) (Nicola Del Gobbo)4c01af2d87
] - Fix typo in CHANGELOG (#715) (Kasumi Hanazuki)36e1af96d5
] - src: fix use of Reference with typed arrays (Michael Dawson) #726d463f02bc7
] - src: fix testEnumerables on ObjectWrap (Ferdinand Holzer) #736ba7ad37d44
] - src: fix ObjectWrap inheritance (David Halls) #73231504c862b
] - doc: fix minor typo in object_wrap.md (#741) (Daniel Bevenius) #741beccf2145d
] - test: fix up delays for array buffer test (Michael Dawson) #73745cb1d9748
] - Correct AsyncProgressWorker link in README (#716) (Jeroen Janssen)381c0da60c
] - doc: add instance data APIs (Gabriel Schulhof) #708Changelog
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) #465