Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release #2810

Merged
merged 9 commits into from Dec 28, 2023
Merged

New release #2810

merged 9 commits into from Dec 28, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 27, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@quri/squiggle-components@0.9.0

  • Dates and Durations improvements (#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)

  • Hide calculator top when empty, auto-close widgets with strings of <25 chars, expose errors when items are focused. (#2547)

  • Calculator.make(fn) works for functions with n>0 params (#2694)

  • Tooltips and inline documentation for stdlib functions in editor (#2583)

  • Breaking: Removed points(number) from Plot.distFn and Plot.numericFn plots, replaced withxPoints(number[]). (#2768)

  • Added window.squiggleOutput output for debugging (#2564)

  • New dropdown menu on each value in viewer (#2549)

  • Show vertical lines when distribution summary table cells are hovered (#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)

@quri/prettier-plugin-squiggle@0.9.0

  • Improved formatting for pipe statements and newlines (b5d1394)

@quri/squiggle-lang@0.9.0

  • Support for tags (Tag.* functions) and decorators (@decoratorName) that can be used to affect how the value is displayed. (b5d1394)
    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)
    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)

  • Updated distribution charts to be prettier and better support different sizes (#2782)

  • Tag percentage values with percentage format, so that they're rendered as percentages in viewer (#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)

  • Removed title attribute from Table.make(); you can use @name and @description tags instead (#2718)

  • Calculator.make(fn) works for functions with n>0 params (#2694)

  • Expose getFunctionDocumentation function to render documentatiton in the playground (#2583)

  • Breaking: Change Number.rangeDomain({min, max}) to be rangeDomain(min, max) (#2692)

  • Alias Module.make() methods to Module() (#2681)

  • Breaking: Removed points(number) from Plot.distFn and Plot.numericFn plots, replaced withxPoints(number[]). (#2768)

  • Added Dist.median, Number.quantile, Number.median (#2577)

  • Added data-first definitions for Plot.dist, Plot.dists, Plot.numericFn, Plot.distFn, Table.make, Calculator.make. Deprecate old versions. (#2676)

  • Breaking: Plot.scatter now only accepts sampleset distributions. (#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)

  • Fix ! operator: !0 now evaluates to true, and !1 to false (#2658)

  • Fix pointwise combination precision issues on discrete PointSet dists. This was affecting mixture and pointwise operators. (#2514)

@quri/ui@0.2.0

  • Support placement prop in <Dropdown> component (#2498)

  • Added window.squiggleOutput output for debugging (#2564)

  • Rename ArrowUturnLeftIcon to ResetIcon (#2549)

  • <ButtonWithDropdown> component (#2498)

  • Rename ChatBubbleLeftIcon to CommentIcon, remove other unused chat icons (#2498)

  • <Dropdown> component children now can access close function through useCloseDropdown hook (#2549)

  • generateProvider helper (#2585)

vscode-squiggle@0.9.0

Copy link

vercel bot commented Dec 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quri-hub ✅ Ready (Inspect) Visit Preview Dec 28, 2023 2:23am
squiggle-website ✅ Ready (Inspect) Visit Preview Dec 28, 2023 2:23am
2 Ignored Deployments
Name Status Preview Updated (UTC)
quri-ui ⬜️ Ignored (Inspect) Visit Preview Dec 28, 2023 2:23am
squiggle-components ⬜️ Ignored (Inspect) Visit Preview Dec 28, 2023 2:23am

Copy link
Contributor

sweep-ai bot commented Dec 27, 2023

Apply Sweep Rules to your PR?

  • Apply: All docstrings and comments should be up to date.
  • Apply: Ensure that all variables and functions have descriptive names.
  • Apply: Avoid using magic numbers or hard-coded values in the code.

@OAGr
Copy link
Contributor

OAGr commented Dec 27, 2023

Just checking - Aren't we going to go to 0.9.0?

@berekuk
Copy link
Collaborator

berekuk commented Dec 27, 2023

Just checking - Aren't we going to go to 0.9.0?

This is a preliminary PR (auto-generated by Github Action) to check the default output, I'm going to update it a few times before I merge it.

Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8ce4eb4) 71.24% compared to head (d1e6611) 71.23%.
Report is 8 commits behind head on main.

❗ Current head d1e6611 differs from pull request most recent head dbc597b. Consider uploading reports for the commit dbc597b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2810      +/-   ##
==========================================
- Coverage   71.24%   71.23%   -0.02%     
==========================================
  Files         118      118              
  Lines        6584     6584              
  Branches     1366     1366              
==========================================
- Hits         4691     4690       -1     
- Misses       1885     1886       +1     
  Partials        8        8              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants