Skip to content

Commit

Permalink
Merge pull request #2958 from quantified-uncertainty/changeset-releas…
Browse files Browse the repository at this point in the history
…e/main

New release
  • Loading branch information
berekuk authored Jan 12, 2024
2 parents 53a91d0 + 282f6bb commit 887f782
Show file tree
Hide file tree
Showing 31 changed files with 123 additions and 86 deletions.
5 changes: 0 additions & 5 deletions .changeset/curvy-peaches-matter.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/eleven-papayas-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/funny-spiders-clean.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/hot-boats-fail.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/lazy-lies-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-ways-clap.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/next-release.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-lamps-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-dolphins-brush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smooth-fireants-flash.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/swift-forks-tickle.md

This file was deleted.

14 changes: 14 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @quri/squiggle-components

## 0.9.1

- 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))

- 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 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))

## 0.9.0

- Dates and Durations improvements ([#2572](https://github.com/quantified-uncertainty/squiggle/pull/2572))
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quri/squiggle-components",
"version": "0.9.1-0",
"version": "0.9.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/ops/src/changelog.cts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import type { ChangelogFunctions } from "@changesets/types";
import { REPO } from "./constants.cjs";

const changelogFunctions: ChangelogFunctions = {
getDependencyReleaseLine: async (changesets, dependenciesUpdated) => {
getDependencyReleaseLine: async () => {
// Listing dependency updates adds too much noise.
return "";
},
getReleaseLine: async (changeset, type) => {
getReleaseLine: async (changeset) => {
let prFromSummary: number | undefined;
let commitFromSummary: string | undefined;

Expand Down
3 changes: 2 additions & 1 deletion packages/ops/src/scripts/changeset-version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { cleanupGeneratedChangelogs } from "../changelog-cleanup.js";
import { exec } from "../lib.js";
import { getChangedPackages } from "../package-utils.js";
import { updateSquiggleLangVersion } from "../patch-js.js";
import { generateWebsiteChangelog } from "../website.js";

Expand All @@ -18,7 +19,7 @@ async function main() {
await updateSquiggleLangVersion();

// Generate MDX page for the upcoming release.
await generateWebsiteChangelog();
await generateWebsiteChangelog(await getChangedPackages());
}

main();
14 changes: 14 additions & 0 deletions packages/ops/src/scripts/generate-website-changelog.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { PRIMARY_SQUIGGLE_PACKAGE_DIRS } from "../constants.cjs";
import { generateWebsiteChangelog } from "../website.js";

// This script is useful on "New release" PR branches if you want to regenerate MDX changelog after editing changesets-generated CHANGELOG.md files manually.

async function main() {
// Repo root.
process.chdir("../..");

// Generate MDX page for the upcoming release.
await generateWebsiteChangelog(PRIMARY_SQUIGGLE_PACKAGE_DIRS);
}

main();
10 changes: 2 additions & 8 deletions packages/ops/src/website.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ import {
VSCODE_PACKAGE_NAME,
WEBSITE_CHANGELOG_ROOT,
} from "./constants.cjs";
import {
getChangedPackages,
getPackageInfo,
PackageInfo,
} from "./package-utils.js";
import { getPackageInfo, PackageInfo } from "./package-utils.js";

export type PackageChangelog = {
packageDir: string;
Expand Down Expand Up @@ -72,9 +68,7 @@ async function updateChangelogMeta(version: string) {
})
);
}
export async function generateWebsiteChangelog() {
const packageDirs = await getChangedPackages();

export async function generateWebsiteChangelog(packageDirs: string[]) {
const allChangelogs: PackageChangelog[] = [];

for (const packageDir of packageDirs) {
Expand Down
14 changes: 9 additions & 5 deletions packages/prettier-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# @quri/prettier-plugin-squiggle

## 0.9.1

- 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))
2 changes: 1 addition & 1 deletion packages/prettier-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quri/prettier-plugin-squiggle",
"version": "0.9.1-0",
"version": "0.9.1",
"license": "MIT",
"homepage": "https://squiggle-language.com",
"author": "Quantified Uncertainty Research Institute",
Expand Down
14 changes: 14 additions & 0 deletions packages/squiggle-lang/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @quri/squiggle-lang

## 0.9.1

- 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.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))

- 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))

## 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))
Expand Down
2 changes: 1 addition & 1 deletion packages/squiggle-lang/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quri/squiggle-lang",
"version": "0.9.1-0",
"version": "0.9.1",
"license": "MIT",
"homepage": "https://squiggle-language.com",
"author": "Quantified Uncertainty Research Institute",
Expand Down
2 changes: 1 addition & 1 deletion packages/squiggle-lang/src/library/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ImmutableMap } from "../utility/immutableMap.js";
import { Value, vString } from "../value/index.js";

// automatically updated on release by ops/ patch-js utils
const VERSION = "0.9.1-0";
const VERSION = "0.9.1";
export function makeVersionConstant(): ImmutableMap<string, Value> {
return ImmutableMap([["System.version", vString(VERSION)]]);
}
5 changes: 5 additions & 0 deletions packages/textmate-grammar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# @quri/squiggle-textmate-grammar

## 0.9.1

Initial public release.
2 changes: 1 addition & 1 deletion packages/textmate-grammar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quri/squiggle-textmate-grammar",
"version": "0.9.1-0",
"version": "0.9.1",
"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 .",
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @quri/ui

## 0.2.1

- Support JSX titles in dropdown items

- Update `DocumentTextIcon` icon

## 0.2.0

- Support `placement` prop in `<Dropdown>` component ([#2498](https://github.com/quantified-uncertainty/squiggle/pull/2498))
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quri/ui",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/versioned-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quri/versioned-squiggle-components",
"version": "0.9.1-0",
"version": "0.9.1",
"private": true,
"scripts": {
"build:ts": "tsc -b",
Expand Down
4 changes: 4 additions & 0 deletions packages/vscode-ext/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# vscode-squiggle

## 0.9.1

Use 0.9.1 Squiggle. No extension-specific changes.

## 0.9.0

- Use 0.9.0 Squiggle
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-ext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Squiggle",
"description": "Squiggle language support",
"license": "MIT",
"version": "0.9.1-0",
"version": "0.9.1",
"private": true,
"publisher": "QURI",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/pages/docs/Changelog/_meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"v0.9.0":"v0.9.0","v0.8.6":"v0.8.6","v0.8.5":"v0.8.5","v0.8.4":"v0.8.4","v0.8.0":"v0.8.0","v0.7.0":"v0.7.0","v0.6.0":"v0.6.0","v0.5.1":"v0.5.1","v0.5.0":"v0.5.0"}
{"v0.9.1":"v0.9.1","v0.9.0":"v0.9.0","v0.8.6":"v0.8.6","v0.8.5":"v0.8.5","v0.8.4":"v0.8.4","v0.8.0":"v0.8.0","v0.7.0":"v0.7.0","v0.6.0":"v0.6.0","v0.5.1":"v0.5.1","v0.5.0":"v0.5.0"}
42 changes: 42 additions & 0 deletions packages/website/src/pages/docs/Changelog/v0.9.1.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## 0.9.1

### [@quri/squiggle-lang](https://www.npmjs.com/package/@quri/squiggle-lang)

* 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.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))

* 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))

### [@quri/squiggle-components](https://www.npmjs.com/package/@quri/squiggle-components)

* 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))

* 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 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))

### [@quri/prettier-plugin-squiggle](https://www.npmjs.com/package/@quri/prettier-plugin-squiggle)

* Fixed Prettier bug where trailing comma after single-element dict key would be removed ([#2946](https://github.com/quantified-uncertainty/squiggle/pull/2946))

### [@quri/squiggle-textmate-grammar](https://www.npmjs.com/package/@quri/squiggle-textmate-grammar)

Initial public release. This package is used for highlighting Squiggle code in VS Code extension and in documentation.

### [vscode-squiggle](https://marketplace.visualstudio.com/items?itemName=QURI.vscode-squiggle)

Use 0.9.1 Squiggle. No extension-specific changes.

4 comments on commit 887f782

@vercel
Copy link

@vercel vercel bot commented on 887f782 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

quri-ui – ./packages/ui

quri-ui.vercel.app
quri-ui-git-main-quantified-uncertainty.vercel.app
quri-ui-quantified-uncertainty.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 887f782 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 887f782 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 887f782 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.