sveltekit-superforms
Advanced tools
Changelog
[2.27.1] - 2025-06-27
{ taint: 'untaint-form' }
option, form wasn't untainted unless it was modified.Changelog
[2.27.0] - 2025-06-16
import SuperDebug from 'sveltekit-superforms/SuperDebug.svelte';
bigint
handling for Zod 4 and Valibot.Changelog
[2.26.1] - 2025-06-05
Changelog
[2.26.0] - 2025-06-03
zod4
and zod4Client
, works with both the full version and Zod Mini. As Zod is now using its own JSON Schema representation, and there are some breaking changes like how enums are handled, check migrations carefully and please report any bugs.BeforeNavigate
to its callback function.valibotClient
, same as in the valibot
adapter.Changelog
[2.25.0] - 2025-04-29
applyAction: 'never'
option, to prevent load function invalidation from overwriting the form state.invalidateAll: 'pessimistic'
option as an alternative to the 'force'
option (recommended to use instead for clarity).Changelog
[2.24.1] - 2025-04-06
Changelog
[2.24.0] - 2025-03-09
SuperValidateOptions
type.MergeUnion
, MergeFormUnion
and a mergeFormUnion
utility, for handling discriminated unions in forms.dateProxy
didn't restore properly with snapshots.flashMessage
option is now deprecated, since SvelteKit has moved to $app/state instead of $app/stores
, making it hard to support both. Use sveltekit-flash-message directly (setFlash
or redirect
) instead of integrating it with Superforms, it's less complicated as well.Changelog
[2.23.1] - 2025-01-21
Changelog
[2.23.0] - 2025-01-21
dateProxy
now has a step
option, to support seconds (when not divisible by 60).dateProxy
for time
formats, previously it returned an invalid date. If you only care about the time part in the date, use time-utc
as format to avoid timezone changes.default
field into exports in package.json.problem
instead of message
, for nicer output.Changelog
[2.22.1] - 2024-12-16