diff --git a/.changeset/chatty-hairs-marry.md b/.changeset/chatty-hairs-marry.md deleted file mode 100644 index 6a45782343..0000000000 --- a/.changeset/chatty-hairs-marry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-components": minor ---- - -Most viewer items begin in collapsed state diff --git a/.changeset/clever-rocks-love.md b/.changeset/clever-rocks-love.md deleted file mode 100644 index 4f369538b6..0000000000 --- a/.changeset/clever-rocks-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": minor ---- - -Partial compile-time type checking and inference diff --git a/.changeset/four-moles-tickle.md b/.changeset/four-moles-tickle.md deleted file mode 100644 index 082fb6265b..0000000000 --- a/.changeset/four-moles-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/ui": patch ---- - -support `tooltip` prop in all form fields diff --git a/.changeset/gorgeous-schools-mix.md b/.changeset/gorgeous-schools-mix.md deleted file mode 100644 index 197e83ddf1..0000000000 --- a/.changeset/gorgeous-schools-mix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/ui": patch ---- - -support `layout` prop in form fields, remove `inlineLabel` prop diff --git a/.changeset/grumpy-tomatoes-shave.md b/.changeset/grumpy-tomatoes-shave.md deleted file mode 100644 index 4d8017202f..0000000000 --- a/.changeset/grumpy-tomatoes-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": minor ---- - -Fix stack unwind in `try()` function diff --git a/.changeset/late-onions-tease.md b/.changeset/late-onions-tease.md deleted file mode 100644 index 4682d1da36..0000000000 --- a/.changeset/late-onions-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": patch ---- - -Added List.sample and List.sampleN diff --git a/.changeset/lovely-parents-whisper.md b/.changeset/lovely-parents-whisper.md deleted file mode 100644 index 949f00e82c..0000000000 --- a/.changeset/lovely-parents-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-components": minor ---- - -Improve viewer UI diff --git a/.changeset/many-taxis-rest.md b/.changeset/many-taxis-rest.md deleted file mode 100644 index 2357c7d9bf..0000000000 --- a/.changeset/many-taxis-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": patch ---- - -Added Number.mod diff --git a/.changeset/neat-queens-tie.md b/.changeset/neat-queens-tie.md deleted file mode 100644 index 2767ec93be..0000000000 --- a/.changeset/neat-queens-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": minor ---- - -Experimental: unit type annotations diff --git a/.changeset/neat-sloths-learn.md b/.changeset/neat-sloths-learn.md deleted file mode 100644 index 266ffe90ae..0000000000 --- a/.changeset/neat-sloths-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": minor ---- - -Added `Number.mod` function diff --git a/.changeset/nervous-worms-grow.md b/.changeset/nervous-worms-grow.md deleted file mode 100644 index 93f91c2ad8..0000000000 --- a/.changeset/nervous-worms-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": patch ---- - -Truncate long lists when converting to strings diff --git a/.changeset/next-release.md b/.changeset/next-release.md deleted file mode 100644 index 1be7119dcb..0000000000 --- a/.changeset/next-release.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@quri/squiggle-lang": patch -"@quri/squiggle-components": patch -"@quri/prettier-plugin-squiggle": patch -"@quri/squiggle-textmate-grammar": patch -"vscode-squiggle": patch ---- diff --git a/.changeset/odd-olives-tease.md b/.changeset/odd-olives-tease.md deleted file mode 100644 index 0ad7814520..0000000000 --- a/.changeset/odd-olives-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-components": minor ---- - -Fix error location reporting in editor diff --git a/.changeset/orange-goats-report.md b/.changeset/orange-goats-report.md deleted file mode 100644 index e3d39059fa..0000000000 --- a/.changeset/orange-goats-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": minor ---- - -String.make supports d3 format strings for numbers and dates diff --git a/.changeset/warm-chairs-double.md b/.changeset/warm-chairs-double.md deleted file mode 100644 index b82fbfdae7..0000000000 --- a/.changeset/warm-chairs-double.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": minor ---- - -Fix minor parser quirks; allow line breaks in import statements and "a to b" expressions diff --git a/.changeset/wicked-rice-work.md b/.changeset/wicked-rice-work.md deleted file mode 100644 index ff0a37368e..0000000000 --- a/.changeset/wicked-rice-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@quri/squiggle-lang": patch ---- - -Added Number.maxValue and Number.minValue diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 6b98251273..ac4f98b652 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,130 +1,138 @@ # @quri/squiggle-components +## 0.10.0 + +* Most viewer items begin in collapsed state ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Improve viewer UI ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Fix error location reporting in editor ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + ## 0.9.5 -- Profiler mode ([#3268](https://github.com/quantified-uncertainty/squiggle/pull/3268)) +* Profiler mode ([#3268](https://github.com/quantified-uncertainty/squiggle/pull/3268)) -- Fix x axis position in function charts ([#3311](https://github.com/quantified-uncertainty/squiggle/pull/3311)) +* Fix x axis position in function charts ([#3311](https://github.com/quantified-uncertainty/squiggle/pull/3311)) -- Improve stacktrace locations for imports ([#3262](https://github.com/quantified-uncertainty/squiggle/pull/3262)) +* Improve stacktrace locations for imports ([#3262](https://github.com/quantified-uncertainty/squiggle/pull/3262)) -- Support `externalViewerActions` prop in `SquiggleChart` for wiring the viewer with something else than an editor ([#3262](https://github.com/quantified-uncertainty/squiggle/pull/3262)) +* Support `externalViewerActions` prop in `SquiggleChart` for wiring the viewer with something else than an editor ([#3262](https://github.com/quantified-uncertainty/squiggle/pull/3262)) -- Normalized AST serialization - significantly reduces the produced bundle size, in some cases ([#3271](https://github.com/quantified-uncertainty/squiggle/pull/3271)) +* Normalized AST serialization - significantly reduces the produced bundle size, in some cases ([#3271](https://github.com/quantified-uncertainty/squiggle/pull/3271)) -- Import variables have tooltips ([#3312](https://github.com/quantified-uncertainty/squiggle/pull/3312)) +* Import variables have tooltips ([#3312](https://github.com/quantified-uncertainty/squiggle/pull/3312)) -- Names with tooltips have hover styles ([#3312](https://github.com/quantified-uncertainty/squiggle/pull/3312)) +* Names with tooltips have hover styles ([#3312](https://github.com/quantified-uncertainty/squiggle/pull/3312)) -- Improved styles for the editor search panel ([#3316](https://github.com/quantified-uncertainty/squiggle/pull/3316)) +* Improved styles for the editor search panel ([#3316](https://github.com/quantified-uncertainty/squiggle/pull/3316)) ## 0.9.4 Features: -- Stable seeds; re-runs of the same model with the same seed will always give the identical result ([#3006](https://github.com/quantified-uncertainty/squiggle/pull/3006)) +* Stable seeds; re-runs of the same model with the same seed will always give the identical result ([#3006](https://github.com/quantified-uncertainty/squiggle/pull/3006)) -- Added Meta+PageUp/PageDown shortcuts to control the current viewer tab ([#3055](https://github.com/quantified-uncertainty/squiggle/pull/3055)) +* Added Meta+PageUp/PageDown shortcuts to control the current viewer tab ([#3055](https://github.com/quantified-uncertainty/squiggle/pull/3055)) -- Added clickable gutter lines to focus on value variables ([#2980](https://github.com/quantified-uncertainty/squiggle/pull/2980)) +* Added clickable gutter lines to focus on value variables ([#2980](https://github.com/quantified-uncertainty/squiggle/pull/2980)) -- Show export data and links in Viewer ([#3056](https://github.com/quantified-uncertainty/squiggle/pull/3056)) +* Show export data and links in Viewer ([#3056](https://github.com/quantified-uncertainty/squiggle/pull/3056)) -- Support `autorun={false}` prop in `` component ([#3119](https://github.com/quantified-uncertainty/squiggle/pull/3119)) +* Support `autorun={false}` prop in `` component ([#3119](https://github.com/quantified-uncertainty/squiggle/pull/3119)) Bugfixes: -- Fixed the regression where stacktrace locations weren't clickable +* Fixed the regression where stacktrace locations weren't clickable -- Recognize `!=` operators during highlighting ([#3133](https://github.com/quantified-uncertainty/squiggle/pull/3133)) +* Recognize `!=` operators during highlighting ([#3133](https://github.com/quantified-uncertainty/squiggle/pull/3133)) -- Fixed the issue with persisting focus and collapse/expand state after errors ([#3129](https://github.com/quantified-uncertainty/squiggle/pull/3129)) +* Fixed the issue with persisting focus and collapse/expand state after errors ([#3129](https://github.com/quantified-uncertainty/squiggle/pull/3129)) -- Render negative values in pointsets correctly ([#3126](https://github.com/quantified-uncertainty/squiggle/pull/3126)) +* Render negative values in pointsets correctly ([#3126](https://github.com/quantified-uncertainty/squiggle/pull/3126)) Experimental: -- Support `Spec` values ([#3113](https://github.com/quantified-uncertainty/squiggle/pull/3113)) +* Support `Spec` values ([#3113](https://github.com/quantified-uncertainty/squiggle/pull/3113)) -- WebWorker runner ([#3158](https://github.com/quantified-uncertainty/squiggle/pull/3158)) +* WebWorker runner ([#3158](https://github.com/quantified-uncertainty/squiggle/pull/3158)) ## 0.9.3 -- Tooltips for top-level variables ([#2776](https://github.com/quantified-uncertainty/squiggle/pull/2776)) +* Tooltips for top-level variables ([#2776](https://github.com/quantified-uncertainty/squiggle/pull/2776)) -- Tooltips for import strings can be injected with `renderImportTooltip` prop; used on Squiggle Hub to show imported model cards ([#2990](https://github.com/quantified-uncertainty/squiggle/pull/2990)) +* Tooltips for import strings can be injected with `renderImportTooltip` prop; used on Squiggle Hub to show imported model cards ([#2990](https://github.com/quantified-uncertainty/squiggle/pull/2990)) -- Added simple keyboard navigation for the Viewer ([#2983](https://github.com/quantified-uncertainty/squiggle/pull/2983)) +* Added simple keyboard navigation for the Viewer ([#2983](https://github.com/quantified-uncertainty/squiggle/pull/2983)) -- Show "Imports" and "Exports" tabs in the Viewer ([#2969](https://github.com/quantified-uncertainty/squiggle/pull/2969)) +* Show "Imports" and "Exports" tabs in the Viewer ([#2969](https://github.com/quantified-uncertainty/squiggle/pull/2969)) -- Grey out the Run button when code hasn't been changed ([#3012](https://github.com/quantified-uncertainty/squiggle/pull/3012)) +* Grey out the Run button when code hasn't been changed ([#3012](https://github.com/quantified-uncertainty/squiggle/pull/3012)) -- Fixed an error with "Find in editor" and tooltips not working for decorated values ([#2988](https://github.com/quantified-uncertainty/squiggle/pull/2988)) +* Fixed an error with "Find in editor" and tooltips not working for decorated values ([#2988](https://github.com/quantified-uncertainty/squiggle/pull/2988)) -- Critical bug fix: always start dist y scale from 0 ([#2982](https://github.com/quantified-uncertainty/squiggle/pull/2982)) +* Critical bug fix: always start dist y scale from 0 ([#2982](https://github.com/quantified-uncertainty/squiggle/pull/2982)) ## 0.9.2 -- Top level navigation in viewer (Result/Variables) is represented as a dropdown ([#2909](https://github.com/quantified-uncertainty/squiggle/pull/2909)) +* Top level navigation in viewer (Result/Variables) is represented as a dropdown ([#2909](https://github.com/quantified-uncertainty/squiggle/pull/2909)) -- `` component takes a single `SqValue` instead of `resultVariables` and `resultItem` ([#2909](https://github.com/quantified-uncertainty/squiggle/pull/2909)) +* `` component takes a single `SqValue` instead of `resultVariables` and `resultItem` ([#2909](https://github.com/quantified-uncertainty/squiggle/pull/2909)) -- Fixed `RelativeValues.gridPlot` display ([#2927](https://github.com/quantified-uncertainty/squiggle/pull/2927)) +* Fixed `RelativeValues.gridPlot` display ([#2927](https://github.com/quantified-uncertainty/squiggle/pull/2927)) -- Fixed dist chart legend positioning and how it affects the chart height ([#2911](https://github.com/quantified-uncertainty/squiggle/pull/2911)) +* Fixed dist chart legend positioning and how it affects the chart height ([#2911](https://github.com/quantified-uncertainty/squiggle/pull/2911)) -- Fixed documention css quirks in editor ([#2913](https://github.com/quantified-uncertainty/squiggle/pull/2913)) +* Fixed documention css quirks in editor ([#2913](https://github.com/quantified-uncertainty/squiggle/pull/2913)) -- Added `Tag.notebook` view for Lists ([#2929](https://github.com/quantified-uncertainty/squiggle/pull/2929)) +* Added `Tag.notebook` view for Lists ([#2929](https://github.com/quantified-uncertainty/squiggle/pull/2929)) ## 0.9.0 -- Dates and Durations improvements ([#2572](https://github.com/quantified-uncertainty/squiggle/pull/2572)) +* Dates and Durations improvements ([#2572](https://github.com/quantified-uncertainty/squiggle/pull/2572)) You can now type `Date(2023)` to represent Jan 1 2023. Added date domains (`f(x: [Date(1980), Date(2050)])`) that's used in function plots for the x axis. Minor changes to the Date library. -- Updated distribution charts to be prettier and better support different sizes ([#2782](https://github.com/quantified-uncertainty/squiggle/pull/2782)) +* Updated distribution charts to be prettier and better support different sizes ([#2782](https://github.com/quantified-uncertainty/squiggle/pull/2782)) -- Hide calculator top when empty, auto-close widgets with strings of <25 chars, expose errors when items are focused. ([#2547](https://github.com/quantified-uncertainty/squiggle/pull/2547)) +* Hide calculator top when empty, auto-close widgets with strings of <25 chars, expose errors when items are focused. ([#2547](https://github.com/quantified-uncertainty/squiggle/pull/2547)) -- `Calculator.make(fn)` works for functions with n>0 params ([#2694](https://github.com/quantified-uncertainty/squiggle/pull/2694)) +* `Calculator.make(fn)` works for functions with n>0 params ([#2694](https://github.com/quantified-uncertainty/squiggle/pull/2694)) -- Tooltips and inline documentation for stdlib functions in editor ([#2583](https://github.com/quantified-uncertainty/squiggle/pull/2583)) +* Tooltips and inline documentation for stdlib functions in editor ([#2583](https://github.com/quantified-uncertainty/squiggle/pull/2583)) -- Breaking: Removed `points(number)` from `Plot.distFn` and `Plot.numericFn` plots, replaced with`xPoints(number[])`. ([#2768](https://github.com/quantified-uncertainty/squiggle/pull/2768)) +* Breaking: Removed `points(number)` from `Plot.distFn` and `Plot.numericFn` plots, replaced with`xPoints(number[])`. ([#2768](https://github.com/quantified-uncertainty/squiggle/pull/2768)) -- Added `window.squiggleOutput` output for debugging ([#2564](https://github.com/quantified-uncertainty/squiggle/pull/2564)) +* Added `window.squiggleOutput` output for debugging ([#2564](https://github.com/quantified-uncertainty/squiggle/pull/2564)) -- New dropdown menu on each value in viewer ([#2549](https://github.com/quantified-uncertainty/squiggle/pull/2549)) +* New dropdown menu on each value in viewer ([#2549](https://github.com/quantified-uncertainty/squiggle/pull/2549)) -- Show vertical lines when distribution summary table cells are hovered ([#2585](https://github.com/quantified-uncertainty/squiggle/pull/2585)) +* Show vertical lines when distribution summary table cells are hovered ([#2585](https://github.com/quantified-uncertainty/squiggle/pull/2585)) -- Calculator result functions no longer re-run on input changes. Calculator inputs can be empty, if the function doesn't take any arguments ([#2525](https://github.com/quantified-uncertainty/squiggle/pull/2525)) +* Calculator result functions no longer re-run on input changes. Calculator inputs can be empty, if the function doesn't take any arguments ([#2525](https://github.com/quantified-uncertainty/squiggle/pull/2525)) ## 0.8.6 -- Added [Calculators](https://www.squiggle-language.com/docs/Api/Calculator), useful for presenting functions to end-users ([#2265](https://github.com/quantified-uncertainty/squiggle/pull/2265), [#2343](https://github.com/quantified-uncertainty/squiggle/pull/2343)) +* Added [Calculators](https://www.squiggle-language.com/docs/Api/Calculator), useful for presenting functions to end-users ([#2265](https://github.com/quantified-uncertainty/squiggle/pull/2265), [#2343](https://github.com/quantified-uncertainty/squiggle/pull/2343)) -- Added `title` to all [plots](https://www.squiggle-language.com/docs/Api/Plot), and to scales for labeling x and y axes. Added validation for `tickFormat`. ([#2337](https://github.com/quantified-uncertainty/squiggle/pull/2337)) +* Added `title` to all [plots](https://www.squiggle-language.com/docs/Api/Plot), and to scales for labeling x and y axes. Added validation for `tickFormat`. ([#2337](https://github.com/quantified-uncertainty/squiggle/pull/2337)) -- Highlight multiline strings correctly ([#2302](https://github.com/quantified-uncertainty/squiggle/pull/2302)) +* Highlight multiline strings correctly ([#2302](https://github.com/quantified-uncertainty/squiggle/pull/2302)) ## 0.8.5 -- Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) +* Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) -- Autocompletion improvements: ([#2233](https://github.com/quantified-uncertainty/squiggle/pull/2233)) +* Autocompletion improvements: ([#2233](https://github.com/quantified-uncertainty/squiggle/pull/2233)) - - suggest local function names - - suggest parameter names - - don't suggest unreachable vars (declared below or in unreachable local scopes) - - different icon for local functions + * suggest local function names + * suggest parameter names + * don't suggest unreachable vars (declared below or in unreachable local scopes) + * different icon for local functions Editor grammar improvements: - - functions with 0 parameters don't break the parser - - trailing expressions are now really optional (they weren't, but Lezer recovered from it so it didn't matter) + * functions with 0 parameters don't break the parser + * trailing expressions are now really optional (they weren't, but Lezer recovered from it so it didn't matter) -- Improved symlog scale ticks ([#2245](https://github.com/quantified-uncertainty/squiggle/pull/2245)) +* Improved symlog scale ticks ([#2245](https://github.com/quantified-uncertainty/squiggle/pull/2245)) \ No newline at end of file diff --git a/packages/components/package.json b/packages/components/package.json index f1fffc6477..ea056d755e 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@quri/squiggle-components", - "version": "0.9.6-0", + "version": "0.10.0", "license": "MIT", "engines": { "node": ">=20.x" diff --git a/packages/content/content/docs/Changelog/meta.json b/packages/content/content/docs/Changelog/meta.json index 2a140a81cb..c228b2ebba 100644 --- a/packages/content/content/docs/Changelog/meta.json +++ b/packages/content/content/docs/Changelog/meta.json @@ -1,18 +1 @@ -{ - "title": "Changelog", - "pages": [ - "v0.9.5", - "v0.9.4", - "v0.9.3", - "v0.9.2", - "v0.9.0", - "v0.8.6", - "v0.8.5", - "v0.8.4", - "v0.8.0", - "v0.7.0", - "v0.6.0", - "v0.5.1", - "v0.5.0" - ] -} +{"title":"Changelog","pages":["v0.10.0","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.0","v0.8.6","v0.8.5","v0.8.4","v0.8.0","v0.7.0","v0.6.0","v0.5.1","v0.5.0"]} \ No newline at end of file diff --git a/packages/content/content/docs/Changelog/v0.10.0.mdx b/packages/content/content/docs/Changelog/v0.10.0.mdx new file mode 100644 index 0000000000..0ad78674bb --- /dev/null +++ b/packages/content/content/docs/Changelog/v0.10.0.mdx @@ -0,0 +1,44 @@ +## 0.10.0 + +### [@quri/squiggle-lang](https://www.npmjs.com/package/@quri/squiggle-lang) + +* Partial compile-time type checking and inference ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Fix stack unwind in `try()` function ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Experimental: unit type annotations ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Added `Number.mod` function ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* String.make supports d3 format strings for numbers and dates ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Fix minor parser quirks; allow line breaks in import statements and "a to b" expressions ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +- Added List.sample and List.sampleN ([#3398](https://github.com/quantified-uncertainty/squiggle/pull/3398)) + +- Added Number.mod ([`a939793`](https://github.com/quantified-uncertainty/squiggle/commit/a939793a982aa57cc894b85debef293b68d7d358)) + +- Truncate long lists when converting to strings ([#3440](https://github.com/quantified-uncertainty/squiggle/pull/3440)) + +- Added Number.maxValue and Number.minValue ([#3397](https://github.com/quantified-uncertainty/squiggle/pull/3397)) + +### [@quri/squiggle-components](https://www.npmjs.com/package/@quri/squiggle-components) + +* Most viewer items begin in collapsed state ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Improve viewer UI ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Fix error location reporting in editor ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +### [@quri/prettier-plugin-squiggle](https://www.npmjs.com/package/@quri/prettier-plugin-squiggle) + +_No changes._ + +### [@quri/squiggle-textmate-grammar](https://www.npmjs.com/package/@quri/squiggle-textmate-grammar) + +_No changes._ + +### [vscode-squiggle](https://marketplace.visualstudio.com/items?itemName=QURI.vscode-squiggle) + +_No changes._ + diff --git a/packages/prettier-plugin/CHANGELOG.md b/packages/prettier-plugin/CHANGELOG.md index cc318b5d48..15fded2e94 100644 --- a/packages/prettier-plugin/CHANGELOG.md +++ b/packages/prettier-plugin/CHANGELOG.md @@ -1,5 +1,7 @@ # @quri/prettier-plugin-squiggle +## 0.10.0 + ## 0.9.5 Compatible with Squiggle 0.9.5. No extension-specific changes. @@ -10,24 +12,24 @@ Compatible with Squiggle 0.9.4. No extension-specific changes. ## 0.9.3 -- Fixed incorrect extra commas on empty lists ([#2997](https://github.com/quantified-uncertainty/squiggle/pull/2997)) +* Fixed incorrect extra commas on empty lists ([#2997](https://github.com/quantified-uncertainty/squiggle/pull/2997)) ## 0.9.2 -- Fixed Prettier bug where trailing comma after single-element dict key would be removed ([#2946](https://github.com/quantified-uncertainty/squiggle/pull/2946)) +* Fixed Prettier bug where trailing comma after single-element dict key would be removed ([#2946](https://github.com/quantified-uncertainty/squiggle/pull/2946)) ## 0.9.0 -- Improved formatting for pipe statements and newlines ([`b5d1394`](https://github.com/quantified-uncertainty/squiggle/commit/b5d139465c72a742b0ac319068d4acc1d7ab0e4d)) +* Improved formatting for pipe statements and newlines ([`b5d1394`](https://github.com/quantified-uncertainty/squiggle/commit/b5d139465c72a742b0ac319068d4acc1d7ab0e4d)) ## 0.8.6 -- Improve package.json exports ([#2329](https://github.com/quantified-uncertainty/squiggle/pull/2329)) +* Improve package.json exports ([#2329](https://github.com/quantified-uncertainty/squiggle/pull/2329)) -- Don't quote new lines in strings ([#2293](https://github.com/quantified-uncertainty/squiggle/pull/2293)) +* Don't quote new lines in strings ([#2293](https://github.com/quantified-uncertainty/squiggle/pull/2293)) ## 0.8.5 -- Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) +* Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) -- Fixed exports field order in package.json ([#2276](https://github.com/quantified-uncertainty/squiggle/pull/2276)) +* Fixed exports field order in package.json ([#2276](https://github.com/quantified-uncertainty/squiggle/pull/2276)) \ No newline at end of file diff --git a/packages/prettier-plugin/package.json b/packages/prettier-plugin/package.json index e2343caf87..ef108a4203 100644 --- a/packages/prettier-plugin/package.json +++ b/packages/prettier-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@quri/prettier-plugin-squiggle", - "version": "0.9.6-0", + "version": "0.10.0", "license": "MIT", "homepage": "https://squiggle-language.com", "author": "Quantified Uncertainty Research Institute", diff --git a/packages/squiggle-lang/CHANGELOG.md b/packages/squiggle-lang/CHANGELOG.md index da495c572f..f4f09d7295 100644 --- a/packages/squiggle-lang/CHANGELOG.md +++ b/packages/squiggle-lang/CHANGELOG.md @@ -1,149 +1,171 @@ # @quri/squiggle-lang +## 0.10.0 + +* Partial compile-time type checking and inference ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Fix stack unwind in `try()` function ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Experimental: unit type annotations ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Added `Number.mod` function ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* String.make supports d3 format strings for numbers and dates ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +* Fix minor parser quirks; allow line breaks in import statements and "a to b" expressions ([`9a6da67`](https://github.com/quantified-uncertainty/squiggle/commit/9a6da67fb67ff276cb349185d685ed8d91dcc8a6)) + +- Added List.sample and List.sampleN ([#3398](https://github.com/quantified-uncertainty/squiggle/pull/3398)) + +- Added Number.mod ([`a939793`](https://github.com/quantified-uncertainty/squiggle/commit/a939793a982aa57cc894b85debef293b68d7d358)) + +- Truncate long lists when converting to strings ([#3440](https://github.com/quantified-uncertainty/squiggle/pull/3440)) + +- Added Number.maxValue and Number.minValue ([#3397](https://github.com/quantified-uncertainty/squiggle/pull/3397)) + ## 0.9.5 -- Profiler mode ([#3268](https://github.com/quantified-uncertainty/squiggle/pull/3268)) +* Profiler mode ([#3268](https://github.com/quantified-uncertainty/squiggle/pull/3268)) -- `SampleSet.sampleN` combines samples up to the shortest sampleset in its arguments ([#3270](https://github.com/quantified-uncertainty/squiggle/pull/3270)) +* `SampleSet.sampleN` combines samples up to the shortest sampleset in its arguments ([#3270](https://github.com/quantified-uncertainty/squiggle/pull/3270)) -- Normalized AST serialization - significantly reduces the produced bundle size, in some cases ([#3271](https://github.com/quantified-uncertainty/squiggle/pull/3271)) +* Normalized AST serialization - significantly reduces the produced bundle size, in some cases ([#3271](https://github.com/quantified-uncertainty/squiggle/pull/3271)) ## 0.9.4 Standard library: -- Added `Spec.make` function and `@spec` tag ([#3113](https://github.com/quantified-uncertainty/squiggle/pull/3113)) +* Added `Spec.make` function and `@spec` tag ([#3113](https://github.com/quantified-uncertainty/squiggle/pull/3113)) -- Added the basic `try()` function ([#3137](https://github.com/quantified-uncertainty/squiggle/pull/3137)) +* Added the basic `try()` function ([#3137](https://github.com/quantified-uncertainty/squiggle/pull/3137)) -- Added `PointSet.support` function and a new `MixedSet.*` namespace with several functions for working with 1-dimensional sets of points and segments ([#3115](https://github.com/quantified-uncertainty/squiggle/pull/3115), [#3151](https://github.com/quantified-uncertainty/squiggle/pull/3151)) +* Added `PointSet.support` function and a new `MixedSet.*` namespace with several functions for working with 1-dimensional sets of points and segments ([#3115](https://github.com/quantified-uncertainty/squiggle/pull/3115), [#3151](https://github.com/quantified-uncertainty/squiggle/pull/3151)) -- Added `Danger.yTransform` function ([#3127](https://github.com/quantified-uncertainty/squiggle/pull/3127)) +* Added `Danger.yTransform` function ([#3127](https://github.com/quantified-uncertainty/squiggle/pull/3127)) Bugfixes: -- Fixed the issue with very slightly negative KDE values because of floating point errors ([#3114](https://github.com/quantified-uncertainty/squiggle/pull/3114)) +* Fixed the issue with very slightly negative KDE values because of floating point errors ([#3114](https://github.com/quantified-uncertainty/squiggle/pull/3114)) -- Fixed parsing of `x = {|...|...} -> ...` statements([#3136](https://github.com/quantified-uncertainty/squiggle/pull/3136)) +* Fixed parsing of `x = {|...|...} -> ...` statements([#3136](https://github.com/quantified-uncertainty/squiggle/pull/3136)) Internals: -- Use a custom PRNG (aleaPRNG) and always require seed in environment ([#3006](https://github.com/quantified-uncertainty/squiggle/pull/3006)) +* Use a custom PRNG (aleaPRNG) and always require seed in environment ([#3006](https://github.com/quantified-uncertainty/squiggle/pull/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 `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](https://github.com/quantified-uncertainty/squiggle/pull/3054)) +* Variable stack is array-based, with up to 50% better performance in synthetic tests ([#3054](https://github.com/quantified-uncertainty/squiggle/pull/3054)) -- All Squiggle values are serializable ([#3158](https://github.com/quantified-uncertainty/squiggle/pull/3158)) +* All Squiggle values are serializable ([#3158](https://github.com/quantified-uncertainty/squiggle/pull/3158)) -- Support pluggable runners, including the experimental webworker runner ([#3158](https://github.com/quantified-uncertainty/squiggle/pull/3158)) +* Support pluggable runners, including the experimental webworker runner ([#3158](https://github.com/quantified-uncertainty/squiggle/pull/3158)) -- Simplified AST representation ([#3136](https://github.com/quantified-uncertainty/squiggle/pull/3136)) +* Simplified AST representation ([#3136](https://github.com/quantified-uncertainty/squiggle/pull/3136)) -- Disallow overrides of an internal function responsible for index lookups ([#3135](https://github.com/quantified-uncertainty/squiggle/pull/3135)) +* Disallow overrides of an internal function responsible for index lookups ([#3135](https://github.com/quantified-uncertainty/squiggle/pull/3135)) ## 0.9.3 -- Breaking: disallow capitalized variable names that we allowed by accident in 0.9.0 release ([#2987](https://github.com/quantified-uncertainty/squiggle/pull/2987)) +* Breaking: disallow capitalized variable names that we allowed by accident in 0.9.0 release ([#2987](https://github.com/quantified-uncertainty/squiggle/pull/2987)) -- Added `@location` tag and `Tag.getLocation` ([#3011](https://github.com/quantified-uncertainty/squiggle/pull/3011)) +* Added `@location` tag and `Tag.getLocation` ([#3011](https://github.com/quantified-uncertainty/squiggle/pull/3011)) -- Added `@startOpen`, `@startClosed`, and `Tag.getStartOpenState` ([#2975](https://github.com/quantified-uncertainty/squiggle/pull/2975)) +* Added `@startOpen`, `@startClosed`, and `Tag.getStartOpenState` ([#2975](https://github.com/quantified-uncertainty/squiggle/pull/2975)) -- Added `Danger.parseFloat`, `System.sampleCount` and `Danger.now` ([#2974](https://github.com/quantified-uncertainty/squiggle/pull/2974)) +* Added `Danger.parseFloat`, `System.sampleCount` and `Danger.now` ([#2974](https://github.com/quantified-uncertainty/squiggle/pull/2974)) -- `SqOutput` includes a separate `imports` dictionary; all exports are tagged with `exportData` tag. ([#2969](https://github.com/quantified-uncertainty/squiggle/pull/2969)) +* `SqOutput` includes a separate `imports` dictionary; all exports are tagged with `exportData` tag. ([#2969](https://github.com/quantified-uncertainty/squiggle/pull/2969)) -- Bug fix: `@format` tag now works on 0 values ([#2961](https://github.com/quantified-uncertainty/squiggle/pull/2961)) +* Bug fix: `@format` tag now works on 0 values ([#2961](https://github.com/quantified-uncertainty/squiggle/pull/2961)) Internals: -- Added `versionAdded` flag for built-in functions, for documenting the version when the function became available ([#2965](https://github.com/quantified-uncertainty/squiggle/pull/2965)) +* Added `versionAdded` flag for built-in functions, for documenting the version when the function became available ([#2965](https://github.com/quantified-uncertainty/squiggle/pull/2965)) -- Infrastructure for custom seedable PRNGs ([#2992](https://github.com/quantified-uncertainty/squiggle/pull/2992)) +* Infrastructure for custom seedable PRNGs ([#2992](https://github.com/quantified-uncertainty/squiggle/pull/2992)) ## 0.9.2 -- Breaking: Deprecated `Plot` titles ([#2925](https://github.com/quantified-uncertainty/squiggle/pull/2925)) +* Breaking: Deprecated `Plot` titles ([#2925](https://github.com/quantified-uncertainty/squiggle/pull/2925)) -- Breaking: Renamed `Tag.all` -> `Tag.getAll` ([#2925](https://github.com/quantified-uncertainty/squiggle/pull/2925)) +* Breaking: Renamed `Tag.all` -> `Tag.getAll` ([#2925](https://github.com/quantified-uncertainty/squiggle/pull/2925)) -- Breaking: Renamed `Tag.description` to `Tag.doc` ([#2827](https://github.com/quantified-uncertainty/squiggle/pull/2827)) +* Breaking: Renamed `Tag.description` to `Tag.doc` ([#2827](https://github.com/quantified-uncertainty/squiggle/pull/2827)) -- Fix `isEqual` and `==` for Squiggle Lists ([#2920](https://github.com/quantified-uncertainty/squiggle/pull/2920)) +* Fix `isEqual` and `==` for Squiggle Lists ([#2920](https://github.com/quantified-uncertainty/squiggle/pull/2920)) -- Added `throw` function ([#2941](https://github.com/quantified-uncertainty/squiggle/pull/2941)) +* Added `throw` function ([#2941](https://github.com/quantified-uncertainty/squiggle/pull/2941)) -- Adds `Tag.notebook` view for Lists ([#2929](https://github.com/quantified-uncertainty/squiggle/pull/2929)) +* Adds `Tag.notebook` view for Lists ([#2929](https://github.com/quantified-uncertainty/squiggle/pull/2929)) ## 0.9.0 -- Support for tags (`Tag.*` functions) and decorators (`@decoratorName`) that can be used to affect how the value is displayed. ([`b5d1394`](https://github.com/quantified-uncertainty/squiggle/commit/b5d139465c72a742b0ac319068d4acc1d7ab0e4d)) +* Support for tags (`Tag.*` functions) and decorators (`@decoratorName`) that can be used to affect how the value is displayed. ([`b5d1394`](https://github.com/quantified-uncertainty/squiggle/commit/b5d139465c72a742b0ac319068d4acc1d7ab0e4d)) Tags can be attached to any value, and decorators can be attached to any variable or function definition. Decorators are proxied to Tag functions, e.g. `@name("X var") x = 5` is the same as `x = 5 -> Tag.name("X var")`. Builtin tags: `@name`, `@description`, `@format`, `@showAs`, `@hide`. -* Dates and Durations improvements ([#2572](https://github.com/quantified-uncertainty/squiggle/pull/2572)) +- Dates and Durations improvements ([#2572](https://github.com/quantified-uncertainty/squiggle/pull/2572)) You can now type `Date(2023)` to represent Jan 1 2023. Added date domains (`f(x: [Date(1980), Date(2050)])`) that's used in function plots for the x axis. Minor changes to the Date library. -* Added `Calculator.make(fn)` shorthand ([#2660](https://github.com/quantified-uncertainty/squiggle/pull/2660)) +- Added `Calculator.make(fn)` shorthand ([#2660](https://github.com/quantified-uncertainty/squiggle/pull/2660)) -* Updated distribution charts to be prettier and better support different sizes ([#2782](https://github.com/quantified-uncertainty/squiggle/pull/2782)) +- Updated distribution charts to be prettier and better support different sizes ([#2782](https://github.com/quantified-uncertainty/squiggle/pull/2782)) -* Tag percentage values with percentage format, so that they're rendered as percentages in viewer ([#2759](https://github.com/quantified-uncertainty/squiggle/pull/2759)) +- Tag percentage values with percentage format, so that they're rendered as percentages in viewer ([#2759](https://github.com/quantified-uncertainty/squiggle/pull/2759)) -* Added `List.sortBy`, `List.maxBy`, `List.minBy`, `Dict.has`, `Dict.size`, `Dict.delete`, and added definitions to `Number.min` and `Number.max` that support two number params ([#2551](https://github.com/quantified-uncertainty/squiggle/pull/2551)) +- Added `List.sortBy`, `List.maxBy`, `List.minBy`, `Dict.has`, `Dict.size`, `Dict.delete`, and added definitions to `Number.min` and `Number.max` that support two number params ([#2551](https://github.com/quantified-uncertainty/squiggle/pull/2551)) -* Removed `title` attribute from `Table.make()`; you can use `@name` and `@description` tags instead ([#2718](https://github.com/quantified-uncertainty/squiggle/pull/2718)) +- Removed `title` attribute from `Table.make()`; you can use `@name` and `@description` tags instead ([#2718](https://github.com/quantified-uncertainty/squiggle/pull/2718)) -* `Calculator.make(fn)` works for functions with n>0 params ([#2694](https://github.com/quantified-uncertainty/squiggle/pull/2694)) +- `Calculator.make(fn)` works for functions with n>0 params ([#2694](https://github.com/quantified-uncertainty/squiggle/pull/2694)) -* Expose `getFunctionDocumentation` function to render documentatiton in the playground ([#2583](https://github.com/quantified-uncertainty/squiggle/pull/2583)) +- Expose `getFunctionDocumentation` function to render documentatiton in the playground ([#2583](https://github.com/quantified-uncertainty/squiggle/pull/2583)) -* Breaking: Change `Number.rangeDomain({min, max})` to be `rangeDomain(min, max)` ([#2692](https://github.com/quantified-uncertainty/squiggle/pull/2692)) +- Breaking: Change `Number.rangeDomain({min, max})` to be `rangeDomain(min, max)` ([#2692](https://github.com/quantified-uncertainty/squiggle/pull/2692)) -* Alias `Module.make()` methods to `Module()` ([#2681](https://github.com/quantified-uncertainty/squiggle/pull/2681)) +- Alias `Module.make()` methods to `Module()` ([#2681](https://github.com/quantified-uncertainty/squiggle/pull/2681)) -* Breaking: Removed `points(number)` from `Plot.distFn` and `Plot.numericFn` plots, replaced with`xPoints(number[])`. ([#2768](https://github.com/quantified-uncertainty/squiggle/pull/2768)) +- Breaking: Removed `points(number)` from `Plot.distFn` and `Plot.numericFn` plots, replaced with`xPoints(number[])`. ([#2768](https://github.com/quantified-uncertainty/squiggle/pull/2768)) -* Added `Dist.median`, `Number.quantile`, `Number.median` ([#2577](https://github.com/quantified-uncertainty/squiggle/pull/2577)) +- Added `Dist.median`, `Number.quantile`, `Number.median` ([#2577](https://github.com/quantified-uncertainty/squiggle/pull/2577)) -* Added data-first definitions for `Plot.dist`, `Plot.dists`, `Plot.numericFn`, `Plot.distFn`, `Table.make`, `Calculator.make`. Deprecate old versions. ([#2676](https://github.com/quantified-uncertainty/squiggle/pull/2676)) +- Added data-first definitions for `Plot.dist`, `Plot.dists`, `Plot.numericFn`, `Plot.distFn`, `Table.make`, `Calculator.make`. Deprecate old versions. ([#2676](https://github.com/quantified-uncertainty/squiggle/pull/2676)) -* Breaking: `Plot.scatter` now only accepts sampleset distributions. ([#2655](https://github.com/quantified-uncertainty/squiggle/pull/2655)) +- Breaking: `Plot.scatter` now only accepts sampleset distributions. ([#2655](https://github.com/quantified-uncertainty/squiggle/pull/2655)) -* Calculator result functions no longer re-run on input changes. Calculator inputs can be empty, if the function doesn't take any arguments ([#2525](https://github.com/quantified-uncertainty/squiggle/pull/2525)) +- Calculator result functions no longer re-run on input changes. Calculator inputs can be empty, if the function doesn't take any arguments ([#2525](https://github.com/quantified-uncertainty/squiggle/pull/2525)) -* Fix `!` operator: `!0` now evaluates to `true`, and `!1` to `false` ([#2658](https://github.com/quantified-uncertainty/squiggle/pull/2658)) +- Fix `!` operator: `!0` now evaluates to `true`, and `!1` to `false` ([#2658](https://github.com/quantified-uncertainty/squiggle/pull/2658)) -* Fix pointwise combination precision issues on discrete PointSet dists. This was affecting `mixture` and pointwise operators. ([#2514](https://github.com/quantified-uncertainty/squiggle/pull/2514)) +- Fix pointwise combination precision issues on discrete PointSet dists. This was affecting `mixture` and pointwise operators. ([#2514](https://github.com/quantified-uncertainty/squiggle/pull/2514)) ## 0.8.6 -- Added [Calculators](https://www.squiggle-language.com/docs/Api/Calculator), useful for presenting functions to end-users ([#2265](https://github.com/quantified-uncertainty/squiggle/pull/2265), [#2343](https://github.com/quantified-uncertainty/squiggle/pull/2343)) +* Added [Calculators](https://www.squiggle-language.com/docs/Api/Calculator), useful for presenting functions to end-users ([#2265](https://github.com/quantified-uncertainty/squiggle/pull/2265), [#2343](https://github.com/quantified-uncertainty/squiggle/pull/2343)) -- Added `title` to all [plots](https://www.squiggle-language.com/docs/Api/Plot), and to scales for labeling x and y axes. Added validation for `tickFormat`. ([#2337](https://github.com/quantified-uncertainty/squiggle/pull/2337)) +* Added `title` to all [plots](https://www.squiggle-language.com/docs/Api/Plot), and to scales for labeling x and y axes. Added validation for `tickFormat`. ([#2337](https://github.com/quantified-uncertainty/squiggle/pull/2337)) -- Improved [mixture()](https://www.squiggle-language.com/docs/Api/Dist#mixture) typing, but limited to 5 parameters maximum ([#2334](https://github.com/quantified-uncertainty/squiggle/pull/2334)) +* Improved [mixture()](https://www.squiggle-language.com/docs/Api/Dist#mixture) typing, but limited to 5 parameters maximum ([#2334](https://github.com/quantified-uncertainty/squiggle/pull/2334)) -- Added [Dict.pick](https://www.squiggle-language.com/docs/Api/Dictionary#pick), [Dict.omit](https://www.squiggle-language.com/docs/Api/Dictionary#omit) ([#2376](https://github.com/quantified-uncertainty/squiggle/pull/2376)) +* Added [Dict.pick](https://www.squiggle-language.com/docs/Api/Dictionary#pick), [Dict.omit](https://www.squiggle-language.com/docs/Api/Dictionary#omit) ([#2376](https://github.com/quantified-uncertainty/squiggle/pull/2376)) -- [sum](https://www.squiggle-language.com/docs/Api/Number#sum), [product](https://www.squiggle-language.com/docs/Api/Number#product), [sort](https://www.squiggle-language.com/docs/Api/Number#sort), [cumsum](https://www.squiggle-language.com/docs/Api/Number#cumulative-sum), [cumprod](https://www.squiggle-language.com/docs/Api/Number#cumulative-product) all accept lists with 0 elements ([#2351](https://github.com/quantified-uncertainty/squiggle/pull/2351)) +* [sum](https://www.squiggle-language.com/docs/Api/Number#sum), [product](https://www.squiggle-language.com/docs/Api/Number#product), [sort](https://www.squiggle-language.com/docs/Api/Number#sort), [cumsum](https://www.squiggle-language.com/docs/Api/Number#cumulative-sum), [cumprod](https://www.squiggle-language.com/docs/Api/Number#cumulative-product) all accept lists with 0 elements ([#2351](https://github.com/quantified-uncertainty/squiggle/pull/2351)) -- Added [Dist.sum](https://www.squiggle-language.com/docs/Api/Dist#sum), [Dist.product](https://www.squiggle-language.com/docs/Api/Dist#product), [Dist.cumsum](https://www.squiggle-language.com/docs/Api/Dist#cumulative-sum), [Dist.cumprod](https://www.squiggle-language.com/docs/Api/Dist#cumulative-product), [Dist.diff](https://www.squiggle-language.com/docs/Api/Dist#diff) ([#2356](https://github.com/quantified-uncertainty/squiggle/pull/2356)) +* Added [Dist.sum](https://www.squiggle-language.com/docs/Api/Dist#sum), [Dist.product](https://www.squiggle-language.com/docs/Api/Dist#product), [Dist.cumsum](https://www.squiggle-language.com/docs/Api/Dist#cumulative-sum), [Dist.cumprod](https://www.squiggle-language.com/docs/Api/Dist#cumulative-product), [Dist.diff](https://www.squiggle-language.com/docs/Api/Dist#diff) ([#2356](https://github.com/quantified-uncertainty/squiggle/pull/2356)) -- Added [List.slice](https://www.squiggle-language.com/docs/Api/List#slice), [Danger.combinations](https://www.squiggle-language.com/docs/Api/Danger#combinations), [Danger.allCombinations](https://www.squiggle-language.com/docs/Api/Danger#allcombinations) ([#2347](https://github.com/quantified-uncertainty/squiggle/pull/2347)) +* Added [List.slice](https://www.squiggle-language.com/docs/Api/List#slice), [Danger.combinations](https://www.squiggle-language.com/docs/Api/Danger#combinations), [Danger.allCombinations](https://www.squiggle-language.com/docs/Api/Danger#allcombinations) ([#2347](https://github.com/quantified-uncertainty/squiggle/pull/2347)) -- Added more standard library functions: [typeOf](https://www.squiggle-language.com/docs/Api/Builtin#typeof), [List.every](https://www.squiggle-language.com/docs/Api/List#every), [List.some](https://www.squiggle-language.com/docs/Api/List#some), [List.find](https://www.squiggle-language.com/docs/Api/List#find), [List.findIndex](https://www.squiggle-language.com/docs/Api/List#findindex), [List.zip](https://www.squiggle-language.com/docs/Api/List#zip), [List.unzip](https://www.squiggle-language.com/docs/Api/List#unzip), [List.shuffle](https://www.squiggle-language.com/docs/Api/List#shuffle), [List.uniq](https://www.squiggle-language.com/docs/Api/List#uniq) (works with more types now), [List.uniqBy](https://www.squiggle-language.com/docs/Api/List#uniqby), [Dist.make](https://www.squiggle-language.com/docs/Api/Dist#make), [PointSet.fromNumber](https://www.squiggle-language.com/docs/Api/DistPointSet#fromnumber), [PointSet.make](https://www.squiggle-language.com/docs/Api/DistPointSet#make), [SampleSet.fromNumber](https://www.squiggle-language.com/docs/Api/DistSampleSet#fromnumber), [SampleSet.make](https://www.squiggle-language.com/docs/Api/DistSampleSet#make), [String.make](https://www.squiggle-language.com/docs/Api/String#make), [String.split](https://www.squiggle-language.com/docs/Api/String#split) ([#2290](https://github.com/quantified-uncertainty/squiggle/pull/2290)) +* Added more standard library functions: [typeOf](https://www.squiggle-language.com/docs/Api/Builtin#typeof), [List.every](https://www.squiggle-language.com/docs/Api/List#every), [List.some](https://www.squiggle-language.com/docs/Api/List#some), [List.find](https://www.squiggle-language.com/docs/Api/List#find), [List.findIndex](https://www.squiggle-language.com/docs/Api/List#findindex), [List.zip](https://www.squiggle-language.com/docs/Api/List#zip), [List.unzip](https://www.squiggle-language.com/docs/Api/List#unzip), [List.shuffle](https://www.squiggle-language.com/docs/Api/List#shuffle), [List.uniq](https://www.squiggle-language.com/docs/Api/List#uniq) (works with more types now), [List.uniqBy](https://www.squiggle-language.com/docs/Api/List#uniqby), [Dist.make](https://www.squiggle-language.com/docs/Api/Dist#make), [PointSet.fromNumber](https://www.squiggle-language.com/docs/Api/DistPointSet#fromnumber), [PointSet.make](https://www.squiggle-language.com/docs/Api/DistPointSet#make), [SampleSet.fromNumber](https://www.squiggle-language.com/docs/Api/DistSampleSet#fromnumber), [SampleSet.make](https://www.squiggle-language.com/docs/Api/DistSampleSet#make), [String.make](https://www.squiggle-language.com/docs/Api/String#make), [String.split](https://www.squiggle-language.com/docs/Api/String#split) ([#2290](https://github.com/quantified-uncertainty/squiggle/pull/2290)) -- Expanded equality comparisons to include all distributions, dates, time durations, scales, domains, arrays, and dictionaries. +* Expanded equality comparisons to include all distributions, dates, time durations, scales, domains, arrays, and dictionaries. ## 0.8.5 -- Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) +* Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) -- Added support for `%` as a number suffix ([#2239](https://github.com/quantified-uncertainty/squiggle/pull/2239)) +* Added support for `%` as a number suffix ([#2239](https://github.com/quantified-uncertainty/squiggle/pull/2239)) -- Support `pow(dist, integer)` on distributions with negative samples ([#2235](https://github.com/quantified-uncertainty/squiggle/pull/2235)) +* Support `pow(dist, integer)` on distributions with negative samples ([#2235](https://github.com/quantified-uncertainty/squiggle/pull/2235)) \ No newline at end of file diff --git a/packages/squiggle-lang/package.json b/packages/squiggle-lang/package.json index de52fb36be..54a2c07ce0 100644 --- a/packages/squiggle-lang/package.json +++ b/packages/squiggle-lang/package.json @@ -1,6 +1,6 @@ { "name": "@quri/squiggle-lang", - "version": "0.9.6-0", + "version": "0.10.0", "license": "MIT", "homepage": "https://squiggle-language.com", "author": "Quantified Uncertainty Research Institute", diff --git a/packages/squiggle-lang/src/library/version.ts b/packages/squiggle-lang/src/library/version.ts index 444e38265d..f17660c188 100644 --- a/packages/squiggle-lang/src/library/version.ts +++ b/packages/squiggle-lang/src/library/version.ts @@ -3,7 +3,7 @@ import { Value } from "../value/index.js"; import { vString } from "../value/VString.js"; // automatically updated on release by ops/ patch-js utils -const VERSION = "0.9.6-0"; +const VERSION = "0.10.0"; export function makeVersionConstant(): ImmutableMap { return ImmutableMap([["System.version", vString(VERSION)]]); } diff --git a/packages/textmate-grammar/CHANGELOG.md b/packages/textmate-grammar/CHANGELOG.md index f3dc8b915a..cae7689180 100644 --- a/packages/textmate-grammar/CHANGELOG.md +++ b/packages/textmate-grammar/CHANGELOG.md @@ -1,8 +1,10 @@ # @quri/squiggle-textmate-grammar +## 0.10.0 + ## 0.9.5 -- More robust support for "export" keyword ([#3264](https://github.com/quantified-uncertainty/squiggle/pull/3264)) +* More robust support for "export" keyword ([#3264](https://github.com/quantified-uncertainty/squiggle/pull/3264)) ## 0.9.4 @@ -14,4 +16,4 @@ Use 0.9.3 Squiggle. No extension-specific changes. ## 0.9.2 -Initial public release. +Initial public release. \ No newline at end of file diff --git a/packages/textmate-grammar/package.json b/packages/textmate-grammar/package.json index 0f99203f2d..2de112ed64 100644 --- a/packages/textmate-grammar/package.json +++ b/packages/textmate-grammar/package.json @@ -1,6 +1,6 @@ { "name": "@quri/squiggle-textmate-grammar", - "version": "0.9.6-0", + "version": "0.10.0", "scripts": { "build": "mkdir -p dist && js-yaml src/squiggle.tmLanguage.yaml >dist/squiggle.tmLanguage.json && js-yaml src/squiggle.js.yaml >dist/squiggle.js.json", "lint": "prettier --check .", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index ed090bb6e0..874f7e5956 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,51 +1,57 @@ # @quri/ui +## 0.2.3 + +* support `tooltip` prop in all form fields ([#3442](https://github.com/quantified-uncertainty/squiggle/pull/3442)) + +* support `layout` prop in form fields, remove `inlineLabel` prop ([#3442](https://github.com/quantified-uncertainty/squiggle/pull/3442)) + ## 0.2.2 -- Add `CubeTransparentIcon` icon +* Add `CubeTransparentIcon` icon ## 0.2.1 -- Support JSX titles in dropdown items +* Support JSX titles in dropdown items -- Update `DocumentTextIcon` icon +* Update `DocumentTextIcon` icon ## 0.2.0 -- Support `placement` prop in `` component ([#2498](https://github.com/quantified-uncertainty/squiggle/pull/2498)) +* Support `placement` prop in `` component ([#2498](https://github.com/quantified-uncertainty/squiggle/pull/2498)) -- Added `window.squiggleOutput` output for debugging ([#2564](https://github.com/quantified-uncertainty/squiggle/pull/2564)) +* Added `window.squiggleOutput` output for debugging ([#2564](https://github.com/quantified-uncertainty/squiggle/pull/2564)) -- Rename `ArrowUturnLeftIcon` to `ResetIcon` ([#2549](https://github.com/quantified-uncertainty/squiggle/pull/2549)) +* Rename `ArrowUturnLeftIcon` to `ResetIcon` ([#2549](https://github.com/quantified-uncertainty/squiggle/pull/2549)) -- `` component ([#2498](https://github.com/quantified-uncertainty/squiggle/pull/2498)) +* `` component ([#2498](https://github.com/quantified-uncertainty/squiggle/pull/2498)) -- Rename `ChatBubbleLeftIcon` to `CommentIcon`, remove other unused chat icons ([#2498](https://github.com/quantified-uncertainty/squiggle/pull/2498)) +* Rename `ChatBubbleLeftIcon` to `CommentIcon`, remove other unused chat icons ([#2498](https://github.com/quantified-uncertainty/squiggle/pull/2498)) -- `` component children now can access `close` function through `useCloseDropdown` hook ([#2549](https://github.com/quantified-uncertainty/squiggle/pull/2549)) +* `` component children now can access `close` function through `useCloseDropdown` hook ([#2549](https://github.com/quantified-uncertainty/squiggle/pull/2549)) -- `generateProvider` helper ([#2585](https://github.com/quantified-uncertainty/squiggle/pull/2585)) +* `generateProvider` helper ([#2585](https://github.com/quantified-uncertainty/squiggle/pull/2585)) ## 0.1.5 -- `WrenchIcon` ([#2237](https://github.com/quantified-uncertainty/squiggle/pull/2237)) +* `WrenchIcon` ([#2237](https://github.com/quantified-uncertainty/squiggle/pull/2237)) -- `DropdownMenuLinkItem` for `` links +* `DropdownMenuLinkItem` for `` links -- Expose `` component ([#2237](https://github.com/quantified-uncertainty/squiggle/pull/2237)) +* Expose `` component ([#2237](https://github.com/quantified-uncertainty/squiggle/pull/2237)) -- `` and ``` components accept `standaloneLabel\` prop ([#2237](https://github.com/quantified-uncertainty/squiggle/pull/2237)) +* `` and ``` components accept `standaloneLabel\` prop ([#2237](https://github.com/quantified-uncertainty/squiggle/pull/2237)) -- Improved `` styles ([#2296](https://github.com/quantified-uncertainty/squiggle/pull/2296)) +* Improved `` styles ([#2296](https://github.com/quantified-uncertainty/squiggle/pull/2296)) -- `PlusIcon` ([#2296](https://github.com/quantified-uncertainty/squiggle/pull/2296)) +* `PlusIcon` ([#2296](https://github.com/quantified-uncertainty/squiggle/pull/2296)) ## 0.1.4 -- Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) +* Downgrade Typescript target to ES2021. This should help with loading Squiggle components on Observable through unpkg.com. ([#2269](https://github.com/quantified-uncertainty/squiggle/pull/2269)) -- `SelectFormField` and `SelectStringFormField` components ([#2260](https://github.com/quantified-uncertainty/squiggle/pull/2260)) +* `SelectFormField` and `SelectStringFormField` components ([#2260](https://github.com/quantified-uncertainty/squiggle/pull/2260)) -- "use client" directive in non-server-compatible components ([#2260](https://github.com/quantified-uncertainty/squiggle/pull/2260)) +* "use client" directive in non-server-compatible components ([#2260](https://github.com/quantified-uncertainty/squiggle/pull/2260)) -- New icons: `GroupIcon`, `RightArrowIcon` and `EmptyIcon` ([#2260](https://github.com/quantified-uncertainty/squiggle/pull/2260)) +* New icons: `GroupIcon`, `RightArrowIcon` and `EmptyIcon` ([#2260](https://github.com/quantified-uncertainty/squiggle/pull/2260)) \ No newline at end of file diff --git a/packages/ui/package.json b/packages/ui/package.json index 9bcbbb74cd..f09b178344 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@quri/ui", - "version": "0.2.2", + "version": "0.2.3", "license": "MIT", "engines": { "node": ">=20.x" diff --git a/packages/versioned-components/CHANGELOG.md b/packages/versioned-components/CHANGELOG.md new file mode 100644 index 0000000000..92cef0b3d4 --- /dev/null +++ b/packages/versioned-components/CHANGELOG.md @@ -0,0 +1,3 @@ +# @quri/versioned-squiggle-components + +## 0.9.6 \ No newline at end of file diff --git a/packages/versioned-components/package.json b/packages/versioned-components/package.json index 0beb302e03..125be30fd6 100644 --- a/packages/versioned-components/package.json +++ b/packages/versioned-components/package.json @@ -1,6 +1,6 @@ { "name": "@quri/versioned-squiggle-components", - "version": "0.9.5", + "version": "0.9.6", "private": true, "scripts": { "build:ts": "tsc -b", diff --git a/packages/vscode-ext/CHANGELOG.md b/packages/vscode-ext/CHANGELOG.md index bcb12301c5..c01b4228a5 100644 --- a/packages/vscode-ext/CHANGELOG.md +++ b/packages/vscode-ext/CHANGELOG.md @@ -1,5 +1,7 @@ # vscode-squiggle +## 0.10.0 + ## 0.9.5 Use 0.9.5 Squiggle. No extension-specific changes. @@ -18,12 +20,12 @@ Use 0.9.2 Squiggle. No extension-specific changes. ## 0.9.0 -- Use 0.9.0 Squiggle +* Use 0.9.0 Squiggle -- Convert webview implementation to TypeScript +* Convert webview implementation to TypeScript ## 0.8.6 Use 0.8.6 Squiggle. No extension-specific changes. -## 0.8.5 +## 0.8.5 \ No newline at end of file diff --git a/packages/vscode-ext/package.json b/packages/vscode-ext/package.json index 8809c315e6..19b489f227 100644 --- a/packages/vscode-ext/package.json +++ b/packages/vscode-ext/package.json @@ -3,7 +3,7 @@ "displayName": "Squiggle", "description": "Squiggle language support", "license": "MIT", - "version": "0.9.6-0", + "version": "0.10.0", "private": true, "publisher": "QURI", "repository": {