Releases: toyobayashi/emnapi
Releases · toyobayashi/emnapi
v0.42.0
What's Changed
- rename internal
NAPI_VERSION
definition by @toyobayashi in #71 - fix package types exports thanks to attw (ceb5e8d)
- use
-fno-strict-aliasing
for emmalloc by @toyobayashi in #74 - return
napi_generic_failure
instead of throwing if runtime has noBigInt
by @toyobayashi in #76 - test: add test for effect of
UV_THREADPOOL_SIZE
by @toyobayashi in #77 - represent
napi_callback_info
with non-zero number by @toyobayashi in #78 - fix import namespace of
_emnapi_async_work_pool_size
(8d4e9e3) - test: rename n-api to node-api by @toyobayashi in #79
- test: inline helper functions by @toyobayashi in #80
- fix uncaught exceptions policy (cba668c)
Full Changelog: v0.41.0...v0.42.0
v0.41.0
v0.40.0
What's Changed
- implement experimental
node_api_create_external_string_*
by @toyobayashi in #68 - drop
ts-macros
to fix broken output code by @toyobayashi in #69
Full Changelog: v0.39.0...v0.40.0
v0.39.0
What's Changed
- get Node API version used by addon by @toyobayashi in #64
callIntoModule
force uncaught exception by @toyobayashi in #65- add status napi_cannot_run_js by @toyobayashi in #66
- define version 9 by @toyobayashi in #67
Full Changelog: v0.38.3...v0.39.0
v0.38.3
What's Changed
- test: passing NULL to napi_define_class by @toyobayashi in #62
- fix MessageChannel undefined by @toyobayashi in #63
Full Changelog: v0.38.2...v0.38.3
v0.38.2
What's Changed
- check
NAPI_VERSION
after#include "node_api.h"
by @toyobayashi in 9b41404
Full Changelog: v0.38.1...v0.38.2
v0.38.1
What's Changed
- test: passing NULL to number APIs by @toyobayashi in #58
- fix compilation error when defining
NAPI_VERSION < 8
by @toyobayashi in #60
Full Changelog: v0.38.0...v0.38.1
v0.38.0
What's Changed
- test: verify cleanup hooks order by @toyobayashi in #53
- test: null string by @toyobayashi in #54
- fix
emnapi_sync_memory
signature by @toyobayashi in #55 - perf: decode small UTF8 string by @toyobayashi in #56
- BREAKING CHANGE: no longer ship modified node-addon-api headers by @toyobayashi in #57
Users who use node-addon-api need to npm install node-addon-api
and then manually add node-addon-api package path to the compiler include directories, via -I
/ include_directories()
/ target_include_directories()
/ cmake -DEMNAPI_FIND_NODE_ADDON_API=ON
Full Changelog: v0.37.0...v0.38.0
v0.37.0
What's Changed
- test: extend type-tagging to externals by @toyobayashi in #51
- make error message more friendly when Buffer is undefined by @toyobayashi in #48
- support coming emscripten 3.1.36 by @toyobayashi in #52
- sync Node-API headers from Node.js official repo by @toyobayashi in #49
Full Changelog: v0.36.3...v0.37.0
v0.36.3
What's Changed
- refactor: use local string helper instead of emscripten's runtime methods (support emscripten 3.1.35) by @toyobayashi in #46
Full Changelog: v0.36.2...v0.36.3