-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5befc5
commit efdb2e4
Showing
29 changed files
with
191 additions
and
161 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,86 @@ | ||
# @quri/squiggle-components | ||
|
||
## 0.9.3 | ||
|
||
* Fixes error with "Find in editor" and tooltips not working for decorated values ([#2988](https://github.com/quantified-uncertainty/squiggle/pull/2988)) | ||
|
||
* Added Tag.startOpen, Tag.startClosed, and Tag.getStartOpenState ([#2975](https://github.com/quantified-uncertainty/squiggle/pull/2975)) | ||
|
||
* Tooltips for import strings can be injected with `renderImportTooltip` prop ([#2990](https://github.com/quantified-uncertainty/squiggle/pull/2990)) | ||
|
||
* Grey out the Run button when code hasn't been changed ([#3012](https://github.com/quantified-uncertainty/squiggle/pull/3012)) | ||
|
||
* Squiggle-Lang exports SqValue with "imports". All exports are Tagged with "exportData" tag. ([#2969](https://github.com/quantified-uncertainty/squiggle/pull/2969)) | ||
|
||
* Adds versionAdded flag for functions, to tag with version information in documentation. ([#2965](https://github.com/quantified-uncertainty/squiggle/pull/2965)) | ||
|
||
* Adds simple keyboard navigation for Viewer ([#2983](https://github.com/quantified-uncertainty/squiggle/pull/2983)) | ||
|
||
* Adds new @location tag and Tag.getLocation ([#3011](https://github.com/quantified-uncertainty/squiggle/pull/3011)) | ||
|
||
* Use a custom PRNG ([alea](https://github.com/macmcmeans/aleaPRNG/tree/master)) ([#2992](https://github.com/quantified-uncertainty/squiggle/pull/2992)) | ||
|
||
## 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)) | ||
|
||
- `<SquiggleViewer>` component takes a single `SqValue` instead of `resultVariables` and `resultItem` ([#2909](https://github.com/quantified-uncertainty/squiggle/pull/2909)) | ||
* `<SquiggleViewer>` 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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
# @quri/prettier-plugin-squiggle | ||
|
||
## 0.9.3 | ||
|
||
* Fix 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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.