Skip to content

Kudzu 0.8.4 - Browser-native handlers

Choose a tag to compare

@bunzzeok bunzzeok released this 06 Aug 00:39
· 21 commits to main since this release

Kudzu 0.8.4 fixes named event handlers that use standard browser globals during real React application migrations.

What landed

  • Keep localStorage, FileReader, and alert in route-specific browser ESM instead of SSR capture scope.
  • Build FrugalHQ backup export, file import, and reset handlers without evaluating browser-only globals in Node.
  • Verify the globals remain absent from serialized capture scope and resolve after real browser clicks.
  • Add no runtime, shared bytes, hydration, or browser component tree.
  • Pass the complete 133/133 test suite.

Boundary

Application-owned handler captures must still be JSON-safe. This release corrects only the proven standard browser globals and does not add arbitrary callback support.

Upgrade

npm install @kudzujs/core@^0.8.4