Svelte-Neuigkeiten: Februar 2025
Nicht-numerische Werte können nun getweent werden, const-Tags sind in svelte:boundary erlaubt, template-Elemente akzeptieren beliebige Kinder, ClassValue wird exportiert, benutzerdefinierte IDs können bei goto() ungültig gemacht werden und postinstall-Skript wurde entfernt.
The Svelte developer experience got a huge upgrade this month with more exported types and better syntax highlighting in VS Code. Combine that with the huge releases from Storybook, Tailwind and Threlte... and you’ve got a pretty big month!
Let’s dive in 🐬
What’s new in Svelte
- Non-numeric values can now be tweened by snapping immediately to the new value (5.17.0, Docs, #14941)
consttags are now allowed inside of asvelte:boundary(5.17.5, Docs, #14993)<template>elements are now allowed to contain any child elements (5.18.0, Docs, #15007)ClassValueis now exposed fromsvelte/elements(5.19.0, Docs), #15035)