Change8

@sveltejs/kit@2.47.3

📦 sveltekitView on GitHub →
1 features🐛 3 fixes🔧 4 symbols

Summary

This patch release focuses on stability and performance, fixing a hang during promise streaming and improving tree-shaking for load functions. It also refines internal form state management and TypeScript definitions for recursive schemas.

✨ New Features

  • Optimized bundle size by tree-shaking load function code when it is determined to be unused.

🐛 Bug Fixes

  • Resolved an issue where the application would hang when error() was called while streaming promises from a server load function.
  • Fixed RecursiveFormFields type definitions to correctly handle recursive or unknown schemas.
  • Reworked the internal representation of form values to use $state for better reactivity.

🔧 Affected Symbols

loaderrorRecursiveFormFields$state