v0.44.0
What's Changed
- test: return napi_exception_pending on throwing proxy handlers by @toyobayashi in #75
- delay injecting HEAP_DATA_VIEW declaration by @toyobayashi in #88
- move
napi_adjust_external_memory
to JS by @toyobayashi in #87 - sync latest headers by @toyobayashi in #84
- add
EMNAPI_{MAJOR,MINOR,PATCH}_VERSION
andemnapi_get_runtime_version
by @toyobayashi in #89
Breaking Changes
emnapi_get_emscripten_version
has been removed, use__EMSCRIPTEN_{major,minor,tiny}__
instead.
Possible upcoming breaking changes in the future
- Require node-api-headers as a dependency
- Users should always define
-DBUILDING_NODE_EXTENSION
- Emscripten users should define
-DNAPI_EXTERN=__attribute__((__import_module__("env")))
manually sincenapi
is the default module where Node.js wants to import symbols from. See emscripten-core/emscripten#20035
Full Changelog: v0.43.1...v0.44.0