Skip to content

Releases: superwall/superscript

1.0.13

Choose a tag to compare

@yusuftor yusuftor released this 28 Jan 13:28
d12ecd7

Fixes

  • Fixes issue with String and Int comparison. For example, device.appBuildString == "5690201", was converting the appBuildString to an Integer and so the Int to String comparison wasn't working. This was a regression in 1.0.12.

1.0.12

Choose a tag to compare

@ianrumac ianrumac released this 06 Jan 16:39
521926f

1.0.12

  • Bump version

Previous

Fixes

  • Fixes comparison issue of padded numbers by skipping expression conversion and normalization in special cases

Fixes

  • Removes modulemap from outputs

1.0.4

Choose a tag to compare

@ianrumac ianrumac released this 15 Oct 16:06
11f5406

1.0.4

Enhancements

  • Updates Android to support 16kb page sizes on all platforms

1.0.1

Choose a tag to compare

@ianrumac ianrumac released this 23 Jul 12:11
e37555f

1.0.1

Enhancements

  • Adds hasFn function that checks for the existance of a function or returns false
  • Enhance hasFn and has checks to do the following:
    • If a device. or computed. function is used, or a variable is accessed in an expression
    • Wrap the accessor in has or hasFn
    • Wrap the evaluation to:
      • Evaluate has/hasFn first
      • if true, run the expression.
      • if false and the right side is atomic, we evaluate the default fallback value (0 for int/float, "" for String)
      • if false and the right side is not atomic, we wrap the whole expression to return false (to avoid error due to comparing different types)
  • Removes string.toBool(),string.toInt(), string.toFloat() functions as every possible valid atom conversion is done in the AST

General

  • Adds more tests, improves test coverage, adds displaying coverage badge
  • Improves README.MD and adds an interpretation-flow.md to serve as a guide for how things are interpreted

1.0.0

Choose a tag to compare

@ianrumac ianrumac released this 21 Jul 14:14
1729b1d

1.0.0

Enhancements

  • Adds truthiness and string normalization so value such as "true", "false", "1.1" etc are treated as true, false, 1.1. This occurs on both left and right side of an expression.
  • Adds conversion methods bool.toString(), float.toString(), int.toString(), bool.toString() and string.toBool(),string.toInt(), string.toFloat() to enable typecasting in CEL

Truthiness

  • Fixes issues with undeclared references for properties by wrapping them in a has(x)? x : Null tertiary expression

0.2.8

Choose a tag to compare

@ianrumac ianrumac released this 28 May 16:30
2850715

0.2.8

Enhancements

  • Pass linker flags for 16kb architecture on Android

0.2.7

Choose a tag to compare

@ianrumac ianrumac released this 28 May 14:49

0.2.7

Enhancements

  • Moves the HostContext to a Sync version with callback and no return
  • Updates Android NDK to support 16kb page sizes
  • Updates Uniffi version

0.2.0

Choose a tag to compare

@ianrumac ianrumac released this 11 Mar 17:34
4c6480b

0.2.0

  • Add typescript wrapper for the JS library
  • Add aarch64 support for Android

0.1.12

Choose a tag to compare

@yusuftor yusuftor released this 22 Oct 13:56
03f68d8

Fixes

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

0.1.11

Choose a tag to compare

@yusuftor yusuftor released this 22 Oct 13:42
a070662

Enhancements

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