From 2dc4ae0fe30616fdaa1c37f0b0f45ab9992d699d Mon Sep 17 00:00:00 2001 From: Dani Sandoval Date: Sun, 29 Sep 2024 21:11:00 -0600 Subject: [PATCH 1/2] october first draft --- ...-10-01-whats-new-in-svelte-october-2024.md | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 documentation/blog/2024-10-01-whats-new-in-svelte-october-2024.md diff --git a/documentation/blog/2024-10-01-whats-new-in-svelte-october-2024.md b/documentation/blog/2024-10-01-whats-new-in-svelte-october-2024.md new file mode 100644 index 000000000000..d19d80946d41 --- /dev/null +++ b/documentation/blog/2024-10-01-whats-new-in-svelte-october-2024.md @@ -0,0 +1,95 @@ +--- +title: "What's new in Svelte: October 2024" +description: 'Better each blocks and a callstack for infinite loops' +author: Dani Sandoval +authorURL: https://dreamindani.com +--- + +Thanks to the number of folks who have been trying the Svelte 5 release candidates, the maintainers have been hard at work in addressing bugs and implementing performance improvements for the upcoming release. This month, we'll cover the most notable changes along with the many apps, resources and libraries that the community has created over the last few weeks. + +## What's new in Svelte + +- Legacy components can now be manually instantiated asynchronously with the `sync` option (**5.0.0-next.237**, [#12970](https://github.com/sveltejs/svelte/pull/12970)) +- The `each` block is now much better in SSR mode - removing an unnecessary declaration and caching the length of the array before iterating over it (**5.0.0-next.242**, [#13060](https://github.com/sveltejs/svelte/pull/13060)) +- A callstack will now appear if an infinite loop is detected - with the last ten effects printed out - in development mode (5.0.0-next.246, [#13231](https://github.com/sveltejs/svelte/pull/13231)) +- There are now a11y warnings for `