Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 10 Jun 11:35
· 6 commits to main since this release
68b6f11

Minor Changes

  • 844f0fd: Add a downloadable lifecycle status. The hook previously parked in idle when the model needed a download, indistinguishable from a probe still in flight — consumers had to re-call availability() themselves to know when to render a download affordance. checkAvailability now surfaces what it learns: idle is strictly "probing availability", and downloadable means the model awaits the user gesture Chrome requires before a fetch. prepare() (or any action method) called from a user activation moves it through downloading to ready, exactly as before.

    Breaking for exhaustive switches over Status (they'll get a compile error pointing at the new state) and for any code that treated a settled idle as "download required" — that state is now named.