Skip to content

Releases: ChainSafe/zapi

zapi: v2.1.0

16 May 12:56
c5c877a

Choose a tag to compare

2.1.0 (2026-05-15)

Features

  • support create_external_arraybuffer (#30) (a76b604)

Bug Fixes

  • bump eval branch quota for BeaconStateView (e522fa4)
  • bump eval branch quota for BeaconStateView (5cf7988)
  • doc comments regarding safety for Number.toU32() (4e74585)
  • doc comments regarding safety for Number.toU32() (7d05b19)
  • show correct error message (#25) (baa58f5)

zapi: v2.0.0

28 Apr 11:46
f9fa8b0

Choose a tag to compare

2.0.0 (2026-04-28)

⚠ BREAKING CHANGES

  • upgrade to Zig 0.16.0 (#9)

Features

  • add memory alloc feature for typed-array (#21) (56e6812)

Miscellaneous Chores

zapi: v1.0.1

21 Apr 14:33
8dc18e6

Choose a tag to compare

1.0.1 (2026-04-21)

Bug Fixes

zapi: v1.0.0

21 Apr 14:21
8f48a14

Choose a tag to compare

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)