Skip to content

Releases: GoogleChromeLabs/asyncify

Release 1.2.0

23 Apr 14:32
Compare
Choose a tag to compare
  • Use asyncify_get_state now exported by Asyncify transform (see WebAssembly/binaryen#2679).
  • Improve error messages for missing import objects (previously would throw obscure Proxy construction error).

Release 1.1.2

08 Jan 16:51
Compare
Choose a tag to compare

Added TypeScript definitions (thanks @radu-matei!).

Release 1.1.1

03 Mar 15:44
Compare
Choose a tag to compare

(State machines are hard 😅)

This release should fix re-entrancy issues in scenarios where an imported function tries to call back into Wasm during an already runnning asynchronous call:

JS ->
  await (Wasm export) ->
    await (JS import) ->
      await (another Wasm export) ->
        await (another JS import) ->
          ...

Release 1.1.0

02 Mar 12:34
Compare
Choose a tag to compare
  • Add support for Proxy-based dynamic import objects. Previously such objects wouldn't be chained correctly unless they implement list of keys as well, even though they work with regular WebAssembly API.
  • Expand Asyncify buffer to 1000 bytes from previous 488 bytes. This is still pretty hand-wavy, but at least doesn't conflict with default area of Clang and should still work with with most apps in other langs.