Releases: toyobayashi/emnapi
Releases · toyobayashi/emnapi
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
v0.36.2
What's Changed
- fix wasm32-wasi-threads prebuilt libraries missing in emnapi npm package
Full Changelog: v0.36.1...v0.36.2
v0.36.1
What's Changed
- prebuild wasm32-wasi-threads libraries by @toyobayashi in #44
Full Changelog: v0.36.0...v0.36.1
v0.36.0
What's Changed
- prebuilt library use emscripten 3.1.34
- fix prebuilt library use wrong symbol after emscripten 3.1.32 #41 (comment)
- allow symbol as reference target by @toyobayashi in #43
- allow
napi_create_string_*
receiveNULL
as parameter if length is set to0
in #43 - (BREAKING CHANGE) rename
onInstantiated
tobeforeInit
and change function signature 8c208e4
Full Changelog: v0.35.0...v0.36.0
v0.35.0
What's Changed
- Implement multithreaded async work in JS by @toyobayashi in #40
Full Changelog: v0.34.0...v0.35.0