From 5efb66c3e5f920d0fea02a9394a88e532da4c1fe Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Sun, 9 Oct 2022 15:27:47 +0400 Subject: [PATCH] changelog page --- CHANGELOG.md | 1 + packages/website/docs/Changelog.mdx | 20 ++++++++++++++++++++ packages/website/sidebars.js | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 CHANGELOG.md create mode 100644 packages/website/docs/Changelog.mdx diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..f7b0d07a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1 @@ +See the [Changelog.mdx page](./packages/website/docs/Changelog.mdx) for the changelog. diff --git a/packages/website/docs/Changelog.mdx b/packages/website/docs/Changelog.mdx new file mode 100644 index 00000000..0d211061 --- /dev/null +++ b/packages/website/docs/Changelog.mdx @@ -0,0 +1,20 @@ +--- +title: Changelog +--- + +## 0.5.0 + +- Performance improvements: + - Interpreter is now 5x-20x faster on code written in Squiggle + - SampleSet to PointSet conversions are 2x faster + - cdf function on SampleSets is 30x faster + - overall speedup is about 2x on average on real code written in Squiggle +- 50% smaller bundle size for [@quri/squiggle-lang](https://www.npmjs.com/package/@quri/squiggle-lang); 20% smaller bundle size for [@quri/squiggle-components](https://www.npmjs.com/package/@quri/squiggle-components). + +### Breaking changes + +Some rarely used math functions got removed or moved to the `Math` namespace. + +For example, `cos(x)` is now `Math.cos(x)`, and `atanh(x)` doesn't exist. + +If your code is now failing with ` is not defined` for anything from [this list](https://mathjs.org/docs/reference/functions.html), try adding `Math.` prefix first, and then complain on [Github issues](https://github.com/quantified-uncertainty/squiggle/issues). diff --git a/packages/website/sidebars.js b/packages/website/sidebars.js index 85c644a4..9da5ce43 100644 --- a/packages/website/sidebars.js +++ b/packages/website/sidebars.js @@ -61,6 +61,11 @@ const sidebars = { }, ], }, + { + type: "doc", + id: "Changelog", + label: "Changelog", + }, ], // But you can create a sidebar manually