Skip to content

Releases: toyobayashi/emnapi

v0.18.2

22 Jul 11:11
Compare
Choose a tag to compare
  • fix: export original exports if register function returns NULL

v0.18.1

15 Jul 07:49
Compare
Choose a tag to compare
  • fix napi_delete_property throws in strict mode
  • support emscripten 3.1.16 -sLEGACY_RUNTIME=0 or -sSTRICT=1

v0.18.0

13 Jul 10:01
Compare
Choose a tag to compare
  • BREAKING: CMake target name has been changed emnapiemnapi_full
  • napi_wrap, napi_*_reference can be used to target environment which has no FinalizationRegistry and WeakRef support now, but may throw error when passing finalizer_cb related param

v0.17.0

03 Jul 15:49
Compare
Choose a tag to compare
  • BREAKING: Remove napi_create_external_arraybuffer
  • BREAKING: napi_run_script returns napi_generic_failure if using -sDYNAMIC_EXECUTION=0
  • Refactor runtime code (Reference, HandleScope)

v0.16.1

21 Jun 08:25
Compare
Choose a tag to compare

Make cpp wrapper thread safe functions available

v0.16.0

21 Jun 08:24
Compare
Choose a tag to compare

v0.15.1

19 Jun 06:59
Compare
Choose a tag to compare
0.15.1

v0.15.0

17 Jun 09:44
Compare
Choose a tag to compare
  • Support multithread simple asynchronous operations #3
  • Add napi_detach_arraybuffer and napi_adjust_external_memory

v0.14.0

14 Jun 05:15
Compare
Choose a tag to compare

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

14 Jun 05:06
Compare
Choose a tag to compare
revert