Change8

@sveltejs/kit@3.0.0-next.17

Breaking Changes
📦 sveltekitView on GitHub →
1 breaking1 features1 deprecations🔧 2 symbols

Summary

Enhanced cross-page form actions to align with native form behavior and introduced a new `snapshot` helper, deprecating the `export const snapshot` syntax.

⚠️ Breaking Changes

  • Cross-page form actions now navigate to the action page on success and failure, matching native form behavior. This may break existing tests or user flows that expect different navigation.

Migration Steps

  1. Replace `export const snapshot` with the new `snapshot` helper.

✨ New Features

  • Added a `snapshot` helper to `$app/navigation` for managing snapshot behavior.

Affected Symbols

⚡ Deprecations

  • The `export const snapshot` syntax is deprecated in favor of the new `snapshot` helper.