Releases: ChainSafe/zapi
Releases · ChainSafe/zapi
zapi: v2.1.0
zapi: v2.0.0
zapi: v1.0.1
zapi: v1.0.0
1.0.0 (2026-04-21)
⚠ BREAKING CHANGES
- use zapi namespace (#12)
Features
- add AsyncWork, allow Callback to error (696fcba)
- add more napi features (b719441)
- add Raw variant functions for callFunction, newInstance, makeCallback (#8) (d3c86be)
- add threadsafe function queue size default (#4) (8aa5358)
- add ThreadSafeFunction (8ac058a)
- add TypedarrayType.elementType (cf01345)
- add typescript management library (89d87a8)
- allow env and value params/return in callback (32499ff)
- better callback error name (9c69292)
- CallbackInfo generic on argc (5c2cd2a)
- configurable napi version (9aa9271)
- get/setInstanceData, add/removeEnvCleanupHook (5f28202)
- js: add high-level DSL with JS-aligned types (#11) (997b1fe)
- make getLastErrorInfo safer (281b326)
- more typesafe wrap (2e6b7fa)
- parallel target builds with concurrency control (#3) (e91c11b)
- refresh ts code (27ec2e9)
- remove Value.nullptr (50da3b1)
- throwLastErrorInfo (f035c43)
- type-tag-aware unwrap and removeWrap (#7) (c7f1e21)
- typesafe removeWrap (61dbc38)
- untyped finalize hint (4f8c9b1)
- use zapi namespace (#12) (5a51cf2)
- Value.isPromise (e604d49)
Bug Fixes
- allow createFunction data to be null (9120421)
- allow undefined symbols during build time (#1) (085c03b)
- buggy arraybuffer / buffer creation (f820a6e)
- callFunction bug (ca9e2fc)
- fatalError return type (4a83d97)
- remove yarn files (c02bf9f)
- safer callback handling and argument validation (#5) (223afa5)
- safer integer conversion and external buffer support (#6) (ff0f0c8)
- throw*Error type fixes (354e36d)
- use createRequire (7d4f5fd)
- use napi_version option (fe1589c)
- various bugs (ed2af49)