0.9.0
This release introduces support for catching JSError
instances in Swift from throwing JavaScript functions. This is possible thanks to the new JSThrowingFunction
and JSThrowingObject
classes. The former can only be called with try
, while the latter will expose all of its member functions as throwing. Use the new throws
property on JSFunction
to convert it to JSThrowingFunction
, and the new throwing
property on JSObject
to convert it to JSThrowingObject
.
Closed issues:
- Support JS errors (#37)
Merged pull requests:
- Update toolchain version swift-wasm-5.3.0-RELEASE (#108) via @kateinoigakukun
- Update ci trigger condition (#104) via @kateinoigakukun
- Fix branch and triple in
compatibility.yml
(#105) via @MaxDesiatov - Check source code compatibility (#103) via @kateinoigakukun
- JS Exception Support (#102) via @kateinoigakukun
- Mention
carton
Docker image and refine wording inREADME.md
(#101) via @MaxDesiatov