SvelteKit SuperForms (javascript)

notes:

no notes

Release list
2.25.0
2.24.1
2.24.0
2.23.0
2.22.1
2.22.0 - Christmas edition
2.21.1
2.21.0
2.20.1
2.19.1
6m+
2.19.0
6m+
2.18.1
6m+
2.18.0
6m+
2.17.0
6m+
2.16.1
6m+
2.16.0
6m+
2.15.2
6m+
2.15.0
6m+
2.15.1
6m+
2.14.0
6m+
Release notes:

Added

  • Exported SuperValidateOptions type.
  • Exported MergeUnion, MergeFormUnion and a mergeFormUnion utility, for handling discriminated unions in forms.

Fixed

  • Fixed diff algorithm problem with tainted objects.
  • Prevented crash when custom validity doesn't exist for an element.
  • dateProxy didn't restore properly with snapshots.
  • Fixed JSON Schema for simple adapters with empty arrays.

Changed

  • Bumped TypeBox peerDep requirement to 0.34.28.
  • Bumped Effect peerDep requirement to 3.13.7.
  • Bumped Valibot peerDep requirement to 1.0.0-rc.3.
  • Bumped Zod peerDep requirement to 3.24.2.

Deprecated

  • The flashMessage option is now deprecated, since SvelteKit has moved to $app/state instead of $app/stores, making it hard to support both. Use sveltekit-flash-message directly (setFlash or redirect) instead of integrating it with Superforms, it's less complicated as well.

Copyright © 2023 - All right reserved by Yadoc SAS