@sveltejs/kit@2.68.0

sveltejs/kit@sveltejs/kit@2.68.0Jul 6, 2026by teemingc

AI Summary

This minor release exposes types for remote form enhancement and sets `submit` field values, alongside various field fixes.

Key Highlights

  • Expose `RemoteFormEnhanceInstance` and `RemoteFormEnhanceCallback` types.
  • Set value of `submit` fields when form is submitted.
  • Fix navigation `type` hover info.

New Features

  • Expose `RemoteFormEnhanceInstance` and `RemoteFormEnhanceCallback` types

Full Release Notes

### Minor Changes


- feat: expose `RemoteFormEnhanceInstance` and `RemoteFormEnhanceCallback` types ([#15816](https://github.com/sveltejs/kit/pull/15816))


- feat: set value of `submit` fields when form is submitted ([#15979](https://github.com/sveltejs/kit/pull/15979))


### Patch Changes


- fix: skip `native_navigation` when `__data.json` returns 404 on a static fallback page ([#16135](https://github.com/sveltejs/kit/pull/16135))


- fix: ignore third-party monkeypatches in `pushState`/`replaceState` warning detection ([#15267](https://github.com/sveltejs/kit/pull/15267))


- fix: snapshot form fields on read ([#16150](https://github.com/sveltejs/kit/pull/16150))


- fix: strip field prefix before erroring on duplicates ([#16151](https://github.com/sveltejs/kit/pull/16151))


- fix: call reset function via prototype ([#16138](https://github.com/sveltejs/kit/pull/16138))


- chore: fix navigation `type` hover info ([#16147](https://github.com/sveltejs/kit/pull/16147))