Skip to content
Compare
Choose a tag to compare
@berekuk berekuk released this 04 May 20:11
· 724 commits to main since this release
ab601e2

Standard library:

  • Added Spec.make function and @spec tag (#3113)

  • Added the basic try() function (#3137)

  • Added PointSet.support function and a new MixedSet.* namespace with several functions for working with 1-dimensional sets of points and segments (#3115, #3151)

  • Added Danger.yTransform function (#3127)

Bugfixes:

  • Fixed the issue with very slightly negative KDE values because of floating point errors (#3114)

  • Fixed parsing of x = {|...|...} -> ... statements(#3136)

Internals:

  • Use a custom PRNG (aleaPRNG) and always require seed in environment (#3006)

    • Note that this can make some models up to 2x slower, because it's hard to beat the native Math.random; but we'll make up for it with other optimizations in future releases
  • Variable stack is array-based, with up to 50% better performance in synthetic tests (#3054)

  • All Squiggle values are serializable (#3158)

  • Support pluggable runners, including the experimental webworker runner (#3158)

  • Simplified AST representation (#3136)

  • Disallow overrides of an internal function responsible for index lookups (#3135)