Skip to content

v2.7.0

Compare
Choose a tag to compare
@ciscoheat ciscoheat released this 03 Mar 19:33
· 195 commits to main since this release

Migration guide: https://superforms.rocks/migration-v2
More detailed list of what's new: https://superforms.rocks/whats-new-v2

Added

  • newState option for reset, to set a new state for future resets. Can be used instead of the data 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.