Releases: quantified-uncertainty/squiggle
@quri/[email protected]
- More robust support for "export" keyword (#3264)
@quri/[email protected]
@quri/[email protected]
-
Profiler mode (#3268)
-
Fix x axis position in function charts (#3311)
-
Improve stacktrace locations for imports (#3262)
-
Support
externalViewerActions
prop inSquiggleChart
for wiring the viewer with something else than an editor (#3262) -
Normalized AST serialization - significantly reduces the produced bundle size, in some cases (#3271)
-
Import variables have tooltips (#3312)
-
Names with tooltips have hover styles (#3312)
@quri/[email protected]
Compatible with Squiggle 0.9.5. No extension-specific changes.
@quri/[email protected]
- Add
CubeTransparentIcon
icon
@quri/[email protected]
Standard library:
-
Added
Spec.make
function and@spec
tag (#3113) -
Added the basic
try()
function (#3137) -
Added
PointSet.support
function and a newMixedSet.*
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
- 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)
-
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)
@quri/[email protected]
Features:
-
Stable seeds; re-runs of the same model with the same seed will always give the identical result (#3006)
-
Added Meta+PageUp/PageDown shortcuts to control the current viewer tab (#3055)
-
Added clickable gutter lines to focus on value variables (#2980)
-
Show export data and links in Viewer (#3056)
-
Support
autorun={false}
prop in<SquigglePlayground>
component (#3119)
Bugfixes:
-
Fixed the regression where stacktrace locations weren't clickable
-
Recognize
!=
operators during highlighting (#3133) -
Fixed the issue with persisting focus and collapse/expand state after errors (#3129)
-
Render negative values in pointsets correctly (#3126)
Experimental:
@quri/[email protected]
Use 0.9.3 Squiggle. No extension-specific changes.
@quri/[email protected]
-
Breaking: disallow capitalized variable names that we allowed by accident in 0.9.0 release (#2987)
-
Added
@location
tag andTag.getLocation
(#3011) -
Added
@startOpen
,@startClosed
, andTag.getStartOpenState
(#2975) -
Added
Danger.parseFloat
,System.sampleCount
andDanger.now
(#2974) -
SqOutput
includes a separateimports
dictionary; all exports are tagged withexportData
tag. (#2969) -
Bug fix:
@format
tag now works on 0 values (#2961)
Internals:
@quri/[email protected]
-
Tooltips for top-level variables (#2776)
-
Tooltips for import strings can be injected with
renderImportTooltip
prop; used on Squiggle Hub to show imported model cards (#2990) -
Added simple keyboard navigation for the Viewer (#2983)
-
Show "Imports" and "Exports" tabs in the Viewer (#2969)
-
Grey out the Run button when code hasn't been changed (#3012)
-
Fixed an error with "Find in editor" and tooltips not working for decorated values (#2988)
-
Critical bug fix: always start dist y scale from 0 (#2982)