Documentation
v0.8.4

0.8.4

Published Aug 16, 2023

@quri/squiggle-lang (opens in a new tab)

Breaking changes

New features

  • Support for unicode sequences in strings; any JSON that doesn't include null values is now a valid value in Squiggle
  • Apply logarithmic KDE on skewed distributions

@quri/squiggle-components (opens in a new tab)

New features

  • Playground viewer (and SquiggleViewer component) always shows both variables and the result
  • Comments and strings render as markdown
  • Line wrapping editor setting

Improvements

  • Error boundary in SquiggleViewer; fatal errors won't crash the entire playground anymore
  • In distribution charts, adjust PDF height on non-linear scales
  • Better log scale error message
  • Swap row/column order in table chart dimension
  • Increase number precision in distribution summary tables
Function chart improvements
  • Pick x scale points equidistantly on a mapped scale for non-linear scales
  • Group numeric function errors (we were already grouping dist function errors, but not numeric)
  • Don't draw cursor lines if cursor is outside of CartesianFrame
  • Floating dist function previews
  • Filter infinite values in dist functions

@quri/prettier-plugin-squiggle (opens in a new tab)

  • Fix NPM release (0.8.0 didn't include JS files)
  • Don't wrap lambda body in extra {}
  • Correctly indent lambda body
  • Escape quotes in strings
  • Fix capitalized keys formatting in dicts
  • Preserve shorthand entries in dicts

@quri/ui (opens in a new tab)

  • GlobeIcon and LockIcon

Squiggle Hub (opens in a new tab)

  • Support for private models
  • Various performance improvements
  • Models are sorted by last updated time
  • /status page with basic statistics
  • Various minor improvements and bugfixes

Documentation website (opens in a new tab)

New Contributors

Full Changelog: https://github.com/quantified-uncertainty/squiggle/compare/@quri/squiggle-components@0.8.0...0.8.1 (opens in a new tab)