What’s new in Svelte: January 2025
Svelte 5 has introduced new features such as the ability to export snippets from module scripts, `defaultValue` and `defaultChecked` support for inputs, a new loosely-parsed AST for developer tools, and enhanced worker-based environment support. New syntax enhancements include the `<svelte:boundary>` element for error capture, `Spring` and `Tween` classes for animations, and the `outro` option in `unmount`. SvelteKit updates include a new `init` hook, improved bundling strategies, and updated language tools. Several community projects, learning resources, and libraries are also highlighted.