Skip to content

Releases: superwall/superscript

0.1.12

22 Oct 13:56
03f68d8
Compare
Choose a tag to compare

Fixes

  • Adds Result types to fix issues when building for iOS.

0.1.11

22 Oct 13:42
a070662
Compare
Choose a tag to compare

Enhancements

  • Adds new Android target.
  • Ensures JSON deserialization is done in a safe manner.

0.1.10

22 Oct 11:05
Compare
Choose a tag to compare

Enhancements

  • Updates GitHub workflow for the renaming of the iOS repository.

0.1.9

17 Oct 12:52
3d76917
Compare
Choose a tag to compare

0.1.9

Enhancements

  • Added returning of a JSON encoded Result<PassableValue,String> from the exposed methods instead of relying on panics.
    Example JSON:
    • Error: {"Err":"No such key: should_display"}
    • Ok: {"Ok":{"type":"bool","value":true}}

Fixes

  • Fixed a bug where getting properties from device would panic when device functions were defined

0.1.8

14 Oct 15:26
Compare
Choose a tag to compare
  • Device computed function should be working now

0.1.7

14 Oct 14:02
daa8d67
Compare
Choose a tag to compare

Changes

  • Fixes issue with device not being registered in the rummer

0.1.6

30 Sep 09:27
daa8d67
Compare
Choose a tag to compare

Changes

  • Adds parse_to_ast method to transform expressions into AST
  • Adds WASM compilation target and a bindgen wrapper
  • Generates JS bindings for the methods and HostContext
  • Adds a WASM target only non-concurrent HostContext
  • Adds build script for both browser and node targets
  • Adds usage examples

0.1.3

26 Aug 14:02
6ad983d
Compare
Choose a tag to compare

Changes

  • Add foreign interface marker to UDL

0.1.2

26 Aug 10:34
356a3c8
Compare
Choose a tag to compare

Changes

  • Makes HostContext async
  • Formats code with cargo fmt
  • Fixes empty platform unwrap error
  • Adds JSON examples

0.1.1

12 Aug 10:39
4831177
Compare
Choose a tag to compare
  • Adds support for AST and contextual AST evaluation
  • Adds support for function arguments in platform objects
  • Improves android build process
  • Updates docs