diff --git a/sites/svelteflow.dev/src/pages/whats-new/2024-09-12.mdx b/sites/svelteflow.dev/src/pages/whats-new/2024-09-12.mdx new file mode 100644 index 000000000..aa8c283a0 --- /dev/null +++ b/sites/svelteflow.dev/src/pages/whats-new/2024-09-12.mdx @@ -0,0 +1,14 @@ +--- +title: "Svelte Flow 0.1.19" +description: "Changelog for Svelte Flow version 0.1.19" +authors: [xyflow] +date: '2024-09-12T12:00:00' +--- +# Whats New in Svelte Flow 0.1.19 +### Patch Changes + +- [#4477](https://github.com/xyflow/xyflow/pull/4477) [`d5592e75`](https://github.com/xyflow/xyflow/commit/d5592e7508bc32d5ffc953844b1d42b9ec59b25b) Add `getNodesBounds` to `useReactFlow`/`useSvelteFlow` hook as the new recommended way of determining node bounds. + +- [#4572](https://github.com/xyflow/xyflow/pull/4572) [`1445e148`](https://github.com/xyflow/xyflow/commit/1445e1483118c966ff6de3f29c5473c93f6b99f1) Add nodeExtent prop to ``. You can now restrict nodes from leaving a specified extent. + +- [#4572](https://github.com/xyflow/xyflow/pull/4572) [`d9563505`](https://github.com/xyflow/xyflow/commit/d9563505d8fb01862a3a6bae6e05dcea626c2e26) Improve handling of global and individual `nodeExtent`s. Nodes will never render outside of specified extents.