0.9.4
@quri/squiggle-lang (opens in a new tab)
Standard library:
-
Added
Spec.make
function and@spec
tag (#3113 (opens in a new tab)) -
Added the basic
try()
function (#3137 (opens in a new tab)) -
Added
PointSet.support
function and a newMixedSet.*
namespace with several functions for working with 1-dimensional sets of points and segments (#3115 (opens in a new tab), #3151 (opens in a new tab)) -
Added
Danger.yTransform
function (#3127 (opens in a new tab))
Bugfixes:
-
Fixed the issue with very slightly negative KDE values because of floating point errors (#3114 (opens in a new tab))
-
Fixed parsing of
x = {|...|...} -> ...
statements(#3136 (opens in a new tab))
Internals:
-
Use a custom PRNG (aleaPRNG) and always require seed in environment (#3006 (opens in a new tab))
- 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
- Note that this can make some models up to 2x slower, because it's hard to beat the native
-
Variable stack is array-based, with up to 50% better performance in synthetic tests (#3054 (opens in a new tab))
-
All Squiggle values are serializable (#3158 (opens in a new tab))
-
Support pluggable runners, including the experimental webworker runner (#3158 (opens in a new tab))
-
Simplified AST representation (#3136 (opens in a new tab))
-
Disallow overrides of an internal function responsible for index lookups (#3135 (opens in a new tab))
@quri/squiggle-components (opens in a new tab)
Features:
-
Stable seeds; re-runs of the same model with the same seed will always give the identical result (#3006 (opens in a new tab))
-
Added Meta+PageUp/PageDown shortcuts to control the current viewer tab (#3055 (opens in a new tab))
-
Added clickable gutter lines to focus on value variables (#2980 (opens in a new tab))
-
Show export data and links in Viewer (#3056 (opens in a new tab))
-
Support
autorun={false}
prop in<SquigglePlayground>
component (#3119 (opens in a new tab))
Bugfixes:
-
Fixed the regression where stacktrace locations weren't clickable
-
Recognize
!=
operators during highlighting (#3133 (opens in a new tab)) -
Fixed the issue with persisting focus and collapse/expand state after errors (#3129 (opens in a new tab))
-
Render negative values in pointsets correctly (#3126 (opens in a new tab))
Experimental:
-
Support
Spec
values (#3113 (opens in a new tab)) -
WebWorker runner (#3158 (opens in a new tab))
@quri/prettier-plugin-squiggle (opens in a new tab)
Use 0.9.4 Squiggle. No extension-specific changes.
@quri/squiggle-textmate-grammar (opens in a new tab)
Use 0.9.4 Squiggle. No extension-specific changes.
vscode-squiggle (opens in a new tab)
Use 0.9.4 Squiggle. No extension-specific changes.