Change8

@sveltejs/kit@2.48.8

Breaking Changes
📦 sveltekitView on GitHub →
2 breaking🔧 3 symbols

Summary

This patch release introduces breaking changes to the 'invalid' import path and modifies the experimental form 'validate' method by removing the 'submitter' option.

⚠️ Breaking Changes

  • The 'invalid' function must now be imported directly from '@sveltejs/kit' instead of being available globally or from other entry points.
  • The 'submitter' option has been removed from the experimental form 'validate()' method; a default submitter is now always provided.

Migration Steps

  1. Update import statements for 'invalid' to use '@sveltejs/kit'.
  2. Remove the 'submitter' property from any calls to the experimental form 'validate()' method.

🔧 Affected Symbols

invalidvalidate@sveltejs/kit