diff --git a/sites/svelteflow.dev/src/pages/whats-new/2024-09-26.mdx b/sites/svelteflow.dev/src/pages/whats-new/2024-09-26.mdx new file mode 100644 index 000000000..86bbe4651 --- /dev/null +++ b/sites/svelteflow.dev/src/pages/whats-new/2024-09-26.mdx @@ -0,0 +1,16 @@ +--- +title: "Svelte Flow 0.1.20" +description: "Changelog for Svelte Flow version 0.1.20" +authors: [xyflow] +date: '2024-09-26T10:50:00' +--- +# Whats New in Svelte Flow 0.1.20 +### Patch Changes + +- [#4670](https://github.com/xyflow/xyflow/pull/4670) Fix initial `fitView` not working correctly for `nodeOrigin` other than [0,0] + +- [#4670](https://github.com/xyflow/xyflow/pull/4670) Improve `fitView` to respect clamped node positions based on `nodeExtent` + +- [#4653](https://github.com/xyflow/xyflow/pull/4653) Calculate viewport dimensions in `fitView` instead of using stored dimensions. Fixes [#4652](https://github.com/xyflow/xyflow/issues/4652) + +- [#4681](https://github.com/xyflow/xyflow/pull/4681) Fix crash when deleting nodes while dragging. Closes [#4677](https://github.com/xyflow/xyflow/issues/4677)