SvelteKit SuperForms (javascript)

ciscoheat/sveltekit-superforms last check 86 releases
Notes
no notes yet
Release notes
v1.12.0 · 1y+
view on github

Added

  • Support for Zod branded types in schemas. (#286)
  • Peer dependencies updated to support SvelteKit 2. (#299)

Fixed

  • Tainted fields were set to undefined when not needed, unwantingly triggering client-side validation.
  • Schema transformations now updates the form data depending on input type. Checkboxes, radio buttons and selects updates the data immediately. Other inputs waits until blurred. (#298)
  • In SPA mode, the novalidate attribute now only disables the browser validation constraints, not the entire client-side validation. (#297)
  • Errors thrown in hooks are now handled properly by onError. Status will always be 500 though. (#292)