Change8

@sveltejs/kit@2.68.0

📦 sveltekitView on GitHub →
2 features🐛 6 fixes🔧 4 symbols

Summary

This release introduces new types for form enhancement and ensures form submission values are correctly set. Several minor bugs related to navigation, form handling, and state manipulation have also been resolved.

✨ New Features

  • Exposed `RemoteFormEnhanceInstance` and `RemoteFormEnhanceCallback` types.
  • Set the value of `submit` fields when a form is submitted.

🐛 Bug Fixes

  • Skipped `native_navigation` when `__data.json` returns 404 on a static fallback page.
  • Ignored third-party monkeypatches in `pushState`/`replaceState` warning detection.
  • Snapshotted form fields on read.
  • Stripped field prefix before erroring on duplicates.
  • Called reset function via prototype.
  • Fixed navigation `type` hover info.

Affected Symbols