Skip to content

0.9.0

Compare
Choose a tag to compare
@MaxDesiatov MaxDesiatov released this 27 Nov 12:22
· 516 commits to main since this release
b7a0243

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: