v2.7.0
Migration guide: https://superforms.rocks/migration-v2
More detailed list of what's new: https://superforms.rocks/whats-new-v2
Added
newState
option forreset
, to set a new state for future resets. Can be used instead of thedata
option.
Fixed
- Empty file entries didn't return
null
for nullable schema fields. Ensure that all required file fields aren't set to nullable. - Allowed
string
index in$errors
and$tainted
. submit
can now be passed directly to event handlers.- Updated to latest
valibot-json-schema
, with support for enums, amongst others. - Zod adapter now supports
ZodType
.