sveltekit-superforms
Advanced tools
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
Changelog
[2.22.0] - 2024-12-15
Infer
improvements for all adapters, by no other than the Zod creator himself, Colin McDonnell! What a christmas present! 🎄transport
option both for superValidate
and superForm
that the transport
export in hooks.ts
can be directly used in. Note: Requires SvelteKit ^2.11.0
.z.bigint()
was interpreted as a number instead of a BigInt.^3.10.0
. Only the effect
package is required now, not @effect/schema
as before. See the 3.10 release notes for details.Changelog
[2.21.1] - 2024-12-04
Changelog
[2.21.0] - 2024-12-01
^0.34.9
(hoping for a stable release soon).Changelog
[2.20.1] - 2024-11-15
1.0.0-beta.3
(hoping for a stable release soon).2.0.0-rc.23
(hoping for a stable release soon).Changelog
[2.19.1] - 2024-10-05
ClientValidationAdapter
from sveltekit-superforms/adapters
.onUpdate
.