Skip to content

v0.8.1

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Jun 14:07
4fc3d4e

Patch Changes

  • aab7c13: Update @types/dom-chromium-ai to ^0.0.17.

  • e96e9bd: Lifecycle and streaming fixes:

    • Inline array-valued options (e.g. expectedInputLanguages: ["en"]) no longer crash with "Too many re-renders" — option arrays are compared element-wise.
    • Hooks no longer throw during SSR: both useSyncExternalStore call sites now provide a server snapshot (idle lifecycle, null download progress), with clean hydration.
    • Exiting a streaming loop early (break/throw) now cancels the underlying stream instead of leaving the model generating into an abandoned reader.
    • Per-call options are forwarded to the browser APIs wholesale ({ ...opts, signal }), so future upstream option fields flow through instead of being dropped.