Skip to content

Releases: jerry4718/napi-blitz

v0.3.223

Choose a tag to compare

@github-actions github-actions released this 07 Sep 15:44
890f62b

Breaking Changes

  • Removed setProxyCompat (842a886). Proxy compatibility is now the default and automatic; drop any calls to the removed export.

Fixed

  • Layer instances wrapped in a reactive proxy now work (842a886). Under a receiver-passing proxy, DOM accessors previously failed with an napi_unwrap error because reactive traps re-wrapped the object-typed self-reference key, tripping the V8 proxy invariant. The registry address is now stored as a scalar BigInt data property, which traps pass through unchanged, so the instance resolves under any proxy.
  • Query APIs no longer silently drop nodes (3cb4603). querySelector, querySelectorAll, getElementsByTagName, getElementsByClassName, getElementById, documentElement, head, body, parentNode, firstChild and the other child/sibling accessors used to swallow internal wrap failures and return short arrays or null; the error now propagates.

Internal

  • Unified all native reference wrappers (LayerRef, WeakRef, ToggleRef, OtherRef) behind a single const-generic RefInner with a shared new/from_raw/raw_value constructor set (a47a578, 105c7d0), and collapsed the wrap-and-hold boilerplate into wrap_node_ref (3cb4603). No JavaScript-facing API changes.

v0.3.222

Choose a tag to compare

@github-actions github-actions released this 05 Sep 17:37
436123c

What's Changed

  • window.requestAnimationFrame / cancelAnimationFrame — driven by winit redraw; callbacks are released when they run, are cancelled, or the window closes; the queue pauses while the window is occluded.
  • setProxyCompat(mode) — global, once-written switch for layer proxy compat:
      - "off" (default): pre-proxy behavior and cost
      - "on" / "auto": layer accessors resolve through receiver-passing proxies (e.g. Vue reactivity)
  • Examples html-3d-sphere / vue-3d-sphere migrated to rAF loops
  • Tests: rAF behavior / GC retention, proxy interop (three modes)

v0.3.221

Choose a tag to compare

@github-actions github-actions released this 04 Sep 16:36
2c21e44
v0.3.221

v0.3.220

Choose a tag to compare

@github-actions github-actions released this 04 Sep 13:26
10a9d37
v0.3.220

v0.2.219

Choose a tag to compare

@github-actions github-actions released this 25 Aug 04:03
v0.2.219

v0.2.218

Choose a tag to compare

@github-actions github-actions released this 21 Aug 19:54
v0.2.218

v0.1.217

Choose a tag to compare

@github-actions github-actions released this 17 Aug 09:35
v0.1.217

v0.1.216

Choose a tag to compare

@github-actions github-actions released this 12 Aug 06:08
v0.1.216

v0.1.215

Choose a tag to compare

@github-actions github-actions released this 12 Aug 06:07
v0.1.216

v0.1.213

Choose a tag to compare

@github-actions github-actions released this 08 Aug 16:48
v0.1.213