node-addon-api
Advanced tools
Changelog
2022-05-02 Version 5.0.0, @NickNaso
const
.Napi
namespace with custom namespace.Napi::Function::Call
to call it with a c-style array
of Napi::Value
's.Napi::AsyncContext
class.Napi::ThreadSafeFunction
e
Napi::TypedThreadSafeFunction
class.Napi::Object::Set()
method.Napi::ClassPropertyDescriptor
.Napi::ObjectWrap
.eslint
configuration.ClangFormat
on Windows.f32db917f3
] - Add test coverage for async contexts (#1164) (Jack)24455f88af
] - src: check for tsfn in conditional_variable wait (Kevin Eady) #116840ed7ce409
] - src: fix regression introduced by #874 (Michael Dawson)9bea434326
] - doc: added some comments to ClassPropertyDescriptor. (#1149) (Nicola Del Gobbo)57c212e15f
] - buld: Enable running pre-commit ClangFormat on Win (Vladimir Morozov)8c46a9501a
] - doc: clarify ObjectWrap weak ref behavior (#1155) (Alba Mendez)01274966d5
] - build: run Windows CI only on nondeprecated build configurations (#1152) (Darshan Sen)b8449e17e0
] - src: mark methods of wrapper classes const (Nikolai Vavilov) #8745e2c1f24f8
] - lint: set sourceType to 'script' (#1141) (Anna Henningsen)da8af20152
] - doc: mention Napi::Env arg for Finalization callback (#1139) (extremeheat)5b51864a39
] - src: enable wrapping Napi namespace with custom namespace (#1135) (Anna Henningsen)c54aeef5fd
] - Add Function::Call Napi::Value override (#1026) (rgerd)e906b5a7ce
] - test: fix compilation problem on debian 8 (NickNaso) #11385790c55784
] - src: do not use non-static class member for constant value (#1134) (Anna Henningsen)b7659db945
] - Merge pull request #1130 from meixg/main (Jack)a840d51d21
] - Add test case for Object Set using uint32 as key (meixg)2c88a7ec4c
] - Merge pull request #1132 from JckXia/test-wfl-run (Jack)d3a5ed3869
] - Revert "window CI to running on 2019" (JckXia)cee899ade5
] - src: allow customization of ObjectWrap behavior (Aaron Meriwether) #112591879b4082
] - remove window-latest to debug (JckXia)1593ef46ee
] - Testing CI run (JckXia)744c8d2410
] - test: enhance the test framework (Deepak Rajamohan)Changelog
2022-01-21 Version 4.3.0, @NickNaso
Napi::Object
.napi_extended_error_info
in Napi::Error::New()
.Napi::Object
.7046834305
] - Update to use recent version of stale action (Michael Dawson)293c7327ad
] - Merge pull request #1075 from JckXia/handle-error-thrown (Jack)706b19986d
] - test: create tools/eslint-format (Doni Rubiagatra) #1080e0567d098a
] - Update documents (JckXia)691813842e
] - Refactor code. Using hard coded string instead of using symbol (JckXia)7423cc5025
] - Update object_wrap.md (#1094) (Alexander Floh)5aab27e6e1
] - doc: add blurb about SetInstanceData (Gabriel Schulhof)e439222fe6
] - test: add bigint value test (WenheLI) #10960dfa89f4ef
] - doc: document object iterators (#1090) (Darshan Sen)04b26a9d9b
] - test: add first set of func Ref tests (JckXia) #1035a0b3fe9197
] - Replace magic value with symbol (JckXia)173c5bc9d9
] - Update PR based on review comments (JckXia)02bcfbccfd
] - Update doc and appending GUID to object property (JckXia)c89f0bfb0b
] - Remove un-necessary comment/iostream and updated docs to reflect on limitations with this impl (JckXia)ed4d1c51c4
] - Added unwrapping logic to handle graceful error handling for primitives (JckXia)4663453eae
] - src: fix usage of napi_extended_error_info
in Error::New()
(Darshan Sen) #1092cb228418e6
] - doc: fix typo in TypedThreadSafeFunction example (#1083) (Tobias Nießen)b70acdda1f
] - test: remove travis config (#1082) (Michael Dawson)1404b7cbea
] - test: update compiler used for testing (#1079) (Michael Dawson)4351bffd53
] - doc: fixup to meet lint rules (Michael Dawson) #1077bd8f6e6d1a
] - src: add iterator for Object (Darshan Sen)d8fc7b869a
] - lint: add eslint based on config-semistandard (#1067) (Doni Rubiagatra)Changelog
2021-09-17 Version 4.2.0, @NickNaso
2dc1f5b66c
] - Merge pull request #1065 from strager/move-only-functor (Nicola Del Gobbo)2b57a4aa4c
] - src: fix casts to not be undefined behavior (Anna Henningsen) #107076de4d8222
] - docs: fix typos (#1068) (todoroff)22a2f3c926
] - docs: fix typo and formatting (#1062) (strager)62b666c34c
] - test: run tests with opts to prefix bld root path (Deepak Rajamohan) #1055cbac3aac5d
] - test: standardize unit test file names (Deepak Rajamohan) #10563e5897a78b
] - src,test: allow creating Function with move-only functor (Matthew "strager" Glazar)da2e754a02
] - test: fix errors reported by newer compiler (Michael Dawson)9aaf3b1324
] - doc: fix documentation about how to enable C++ exception (#1059) (Nicola Del Gobbo) #1059b2f861987f
] - test: fixed the way to enable C++ exceptions. (#1061) (Nicola Del Gobbo) #1061Changelog
2021-08-25 Version 4.1.0, @NickNaso
Napi::Reference
updated the default value to reflect the most possible
values when there are any errors occurred on napi_reference_unref
.Napi::String
initialization.napi_add_env_cleanup_hook
and
napi_remove_env_cleanup_hook
.Napi::Maybe<T>
class to handle pending exception when cpp exception
disabled.Napi::Symbol
.3615041423
] - src: return Maybe on pending exception when cpp exception disabled (legendecas) #92710564a43c6
] - src: add AddCleanupHook (Kevin Eady) #1014a459f5cc8f
] - doc: update tests to avoid running in parallel (Michael Dawson) #10246697c51d1d
] - src,test: fix up null char * exception thrown (Gabriel Schulhof) #1019e02e8a4ce3
] - test: add first set of symbol tests (JckXia) #972da50b51398
] - test: dd check for nullptr inside String init (JckXia) #1015627dbf3c37
] - doc: update examples for context sensitivity (Kevin Eady) #101337a9b8e753
] - src: set default return value of Reference Ref/Unref to 0 (legendecas) #1004Changelog
2021-06-15 Version 4.0.0, @NickNaso
Napi::Error::ThrowAsJavaScriptException
introducing the preprocessor directive NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS
.10.x
to 12.x
.028107f686
] - src: fix Error::ThrowAsJavaScriptException crash (rudolftam) #975fed13534c5
] - src: fix gcc-11 c++20 compilation (Kevin Eady) #1009b75afc4d29
] - test: function reference call & construct (legendecas) #1005Changelog
2021-05-28 Version 3.2.1, @NickNaso
6d41ee5a3a
] - Fixed readme for new release. (NickNaso)Changelog
2021-05-17 Version 3.2.0, @NickNaso
Napi::ObjectWrap
instance for getter and setter method.Napi::Object::Freeze
and Napi::object::Seal
methods.Napi::Reference
is now copyable.Napi::Object::PropertyLValue
.Napi::Object
.Napi::Function
contructors.Napi::ThreadSafeFunction
test.52721312f6
] - docs: add napi-rs iin Other Bindings section (#999) (LongYinan)78a6570a42
] - doc: fix typo in code example (#997) (Tobias Nießen)da3bd5778f
] - test: fix undoc assumptions about the timing of tsfn calls (legendecas) #995410cf6a81e
] - src: return bool on object freeze and seal (#991) (legendecas)93f1898312
] - src: return bool on object set and define property (#977) (legendecas)331c2ee274
] - build: add Node.js v16.x to CI (#983) (legendecas)b6f5eb15e6
] - test: run test suites with helpers (legendecas) #976fbcdf00ea0
] - test: rename misspelled parameters (Tobias Nießen) #97363a6c32e80
] - test: fix intermittent TSFN crashes (Kevin Eady) #9748f120b033f
] - fix: key for wapping drawing's system condition (#970) (Kévin VOYER)1c9d528d66
] - doc: correct struct definition (#969) (Darshan Sen)5e64d1fa61
] - Added badges for Node-API v7 and v8. (#954) (Nicola Del Gobbo)6ce629b3fa
] - src: add pull request template (#967) (Michael Dawson)98126661af
] - Update CONTRIBUTING.md (#966) (Michael Dawson)77350eee98
] - src: added Freeze and Seal method to Object class. (NickNaso) #955bc5147cc4a
] - Finished tests relating to fetch property from Global Object (JckXia)0127813111
] - doc: unambiguously mark deprecated signatures (Tobias Nießen) #942787e216105
] - doc: rename N-API with Node-API (Darshan Sen) #951628023689a
] - src: rename N-API with Node-API on comments (NickNaso) #9535c6391578f
] - build: add CI configuration for Windows (NickNaso) #9488ef07251ec
] - doc: added some warnings for buffer and array buffer factory method. (#929) (Nicola Del Gobbo)6490b1f730
] - doc: sync Object::Set value arg with Value::From (#933) (Tobias Nießen)7319a0d7a2
] - Fix tab indent (#938) (Tobias Nießen)1916cb937e
] - chore: fixup linter commands (#940) (legendecas)fc4585fa23
] - test: dd tests for Function constructors (JoseExposito) #93787b7aae469
] - doc: warn about SuppressDestruct() (#926) (Anna Henningsen)71494a49a3
] - src,doc: refactor to replace typedefs with usings (Darshan Sen) #910298ff8d9d2
] - test: add additional tests for Object (JoseExposito) #9238a1147b430
] - revert: src: add additional tests for Function (Michael Dawson)bb56ffaa6f
] - doc: fix documentation for object api (Nicola Del Gobbo) #9313b8bddab49
] - src: add additional tests for Function (José Expósito) #92874ab50c775
] - src: allow references to be copyable in APIs (legendecas) #915929709d0fe
] - doc: add propertylvalue.md (#925) (Gabriel Schulhof)69d0d98be4
] - fixup (Anna Henningsen)46e41d961b
] - fixup (Anna Henningsen)1af1642fb7
] - doc: warn about SuppressDestruct() (Anna Henningsen)12c548b2ff
] - tools: fix error detection (#914) (Darshan Sen)458d895d5b
] - packaging: list files to be published to npm (Lovell Fuller) #889f7ed2490d4
] - test: remove outdated V8 flag (Darshan Sen) #895a575a6ec60
] - src: fix leak in ObjectWrap instance set/getters (Kevin Eady) #899b6e844e0b0
] - doc: fix spelling of "targeted" and "targeting" (#904) (Tobias Nießen)4d856f6e91
] - src: remove unnecessary symbol exposure (Gabriel Schulhof) #896f35bb7d0d7
] - doc: Update GitHub URL references from 'master' to 'HEAD' (#898) (Jim Schlight)286ae215d1
] - Add warning about branch rename (Michael Dawson)a4a7b28288
] - Update branch references from master to main (#886) (Jim Schlight)a2ad0a107a
] - docs: add NAN to N-API resource link (#880) (kidneysolo)1c040eeb63
] - test: load testModules automatically (raisinten) #876bf478e4496
] - src: use NAPI_NOEXCEPT macro instead of noexcept (NickNaso) #864744705f2eb
] - test: refactor remove repeated execution index.js (raisinten) #839db62e3c811
] - Update team members (Michael Dawson)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) #708