Releases: toyobayashi/emnapi
Releases · toyobayashi/emnapi
v1.4.3
What's Changed
- update @emnapi/wasi-threads@1.0.2 in the package.json dependency of @emnapi/core
Full Changelog: v1.4.2...v1.4.3
v1.4.2
v1.4.1
v1.4.0
What's Changed
- allow napi_delete_reference in basic finalizers (#130)
- define NAPI_VERSION 10 (#133)
- perf: reduce the overhead of binding function call (1.5x faster) (#139)
Note
If you are using Emscripten >= 3.1.60, please manually specify the link option -sEXPORTED_RUNTIME_METHODS=['emnapiInit']
(#131) (emscripten-core/emscripten#23057)
Full Changelog: v1.3.1...v1.4.0
v1.3.1
What's Changed
- fix:
napi_is_buffer(Uint8Array)
should returntrue
by @toyobayashi in #129 - add napi_create_buffer_from_arraybuffer by @toyobayashi in #126
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
- feat: add
suppressDestroy
to context by @toyobayashi in #124 - refactor: rename nogc to basic by @toyobayashi in #125
- update libuv source by @toyobayashi in #121
- refactor: remove RefBase by @toyobayashi in #122
- add support for UTF-8 and Latin-1 property keys by @toyobayashi in #127
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- test: store external type tags by value by @toyobayashi in #114
- fix: pthread worker leak by @toyobayashi in #115
- feat: gyp add OS
wasm
alias by @toyobayashi in #113 - feat: add new option to allow waiting thread start before thread-spawn return by @toyobayashi in #116
- feat: separate
@emnapi/wasi-threads
package by @toyobayashi in #117 - fix: respect user specified Buffer by @toyobayashi in #118
- build: add
wasm32-wasip1[-threads]
targets and use LLVM 18 to build libraries by @toyobayashi in #119 - feat:
reuseWorker
strict mode by @toyobayashi in #120
Full Changelog: v1.1.1...v1.2.0
v1.1.1
v1.1.0
What's Changed
- test: make napi_get_buffer_info check if passed buffer is valid by @toyobayashi in #108
- feat: segregate nogc APIs from rest via type system by @toyobayashi in #110
- test: fix unreliable assumption in js-native-api/test_cannot_run_js by @toyobayashi in #111
- fix: missing sources in gyp wasi + threads target
Full Changelog: v1.0.0...v1.1.0
v1.0.0
What's Changed
- refactor: migrate
@emnapi/core
to typescript by @toyobayashi in #100 - fix: improve
getUnsharedTextDecoderView
by @toyobayashi in #101 - feat: add a prepare script by @mmomtchev in #104
- fix: truncate number in
napi_get_value_{int32,uint32,int64}
by @toyobayashi in #105 - feat: add basic gyp support by @toyobayashi in #106
- build: add
wasm64-emscripten
prebuilt libraries by @toyobayashi in #106
Breaking Changes
The headers location is changed from node_modules/emnapi/include
to node_modules/emnapi/include/node
# old
# emcc ... -Inode_modules/emnapi/include
# new
emcc ... -Inode_modules/emnapi/include/node
New Contributors
- @mmomtchev made their first contribution in #104
Full Changelog: v0.45.0...v1.0.0