v0.8.0
Minor Changes
-
844f0fd: Add a
downloadablelifecycle status. The hook previously parked inidlewhen the model needed a download, indistinguishable from a probe still in flight — consumers had to re-callavailability()themselves to know when to render a download affordance.checkAvailabilitynow surfaces what it learns:idleis strictly "probing availability", anddownloadablemeans the model awaits the user gesture Chrome requires before a fetch.prepare()(or any action method) called from a user activation moves it throughdownloadingtoready, exactly as before.Breaking for exhaustive
switches overStatus(they'll get a compile error pointing at the new state) and for any code that treated a settledidleas "download required" — that state is now named.