Svelte 5.59.2 patch release includes performance and bug fixes
Svelte's latest patch improves performance and resolves numerous issues across rendering, state management, and parsing.
Svelte 5.59.2 has been released, focusing on stability and performance improvements. A notable performance enhancement involves processing successive batches iteratively instead of recursively, which helps avoid slow stack capture in development environments.
Several bug fixes are included. Errors in deferred await block branches are now caught with error boundaries. The update also addresses an issue where stale values for derived stores could persist if disconnected during a pending batch. Styling is improved with correct application of styles to elements using duration: 0 transitions.
Developer experience sees a fix that hints at missing lang="ts" when TypeScript syntax fails to parse. Other fixes include consistent attribute name casing between server and client, and improved handling of comments within <style> tags and around template expressions.