diff --git a/site/content/blog/2021-09-01-whats-new-in-svelte-september-2021.md b/site/content/blog/2021-09-01-whats-new-in-svelte-september-2021.md new file mode 100644 index 000000000000..b3251e6cd50f --- /dev/null +++ b/site/content/blog/2021-09-01-whats-new-in-svelte-september-2021.md @@ -0,0 +1,83 @@ +--- +title: What's new in Svelte: September 2021 +description: StackOverflow's most loved web framework +author: Daniel Sandoval +authorURL: https://desandoval.net +--- + +This month, Svelte was [voted StackOverflow's most loved web framework](https://insights.stackoverflow.com/survey/2021#section-most-loved-dreaded-and-wanted-web-frameworks), Tan Li Hau [talked to Svelte Radio](https://share.transistor.fm/s/84c7521b) about his [Svelte-filled YouTube channel](https://www.youtube.com/channel/UCbmC3HP3FaAFdcZkui8YoMQ), and SvelteKit made even more progress towards its 1.0 release! + +## New in Svelte + +- `use:actions` can now be used on `` (**3.42.0**) +- `HTMLElement`, `SVGElement` (**3.42.2**) and `BigInt` (**3.42.3**) are now known globals +- There is less code in Svelte's output thanks to the following improvements in **3.42.2**: + - Whitespace is now collapsed in class and style attributes + - Hydrated components have been updated to only rely upon helpers for creating the types of elements present in the component +- Scaling is now accounted for in `flip` animations (**3.42.2**) +- All `