github ciscoheat/sveltekit-superforms v1.12.0

latest releases: v3.0.0, v3.0.0-next.1, v2.31.0...
2 years ago

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)

Don't miss a new sveltekit-superforms release

NewReleases is sending notifications on new releases.