Releases: toyobayashi/emnapi
Releases · toyobayashi/emnapi
v0.18.2
- fix: export original
exports
if register function returnsNULL
v0.18.1
- fix
napi_delete_property
throws in strict mode - support emscripten 3.1.16
-sLEGACY_RUNTIME=0
or-sSTRICT=1
v0.18.0
- BREAKING: CMake target name has been changed
emnapi
→emnapi_full
napi_wrap
,napi_*_reference
can be used to target environment which has noFinalizationRegistry
andWeakRef
support now, but may throw error when passingfinalizer_cb
related param
v0.17.0
- BREAKING: Remove
napi_create_external_arraybuffer
- BREAKING:
napi_run_script
returnsnapi_generic_failure
if using-sDYNAMIC_EXECUTION=0
- Refactor runtime code (Reference, HandleScope)
v0.16.1
Make cpp wrapper thread safe functions available
v0.16.0
v0.15.1
0.15.1
v0.15.0
v0.14.0
According to Emscripten 3.2.0 changelog:
Emscripten now knows what minimum browser versions the WASM_BIGINT feature requires and will automatically set the defaults accordingly. (emscripten-core/emscripten#17163)
Now these APIs are working when specifying -sWASM_BIGINT=true
:
napi_create_int64
napi_create_bigint_int64
napi_create_bigint_uint64
v0.13.2
revert