github ciscoheat/sveltekit-superforms v2.17.0

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

Deprecated

  • posted is deprecated, due to inconsistencies between server and client validation, and SPA mode. It will be removed in v3. Use a status message or return your own data in the form action to handle form post status.

Added

  • descriptionAsErrors option for the JSON Schema validator, so you can specify error messages directly in the schema with the description field.

Fixed

  • File uploads required extra configuration for the valibot adapter, now it works directly.
  • Events added in enhance weren't cleaned up when the form was destroyed. Note that this could be deprecated in a future version. It's advised to use events only when calling superForm, not with enhance.

Don't miss a new sveltekit-superforms release

NewReleases is sending notifications on new releases.