SvelteKit SuperForms (javascript)

notes:

no notes

Release list
2.30.0
2.29.1
2.28.1
2.28.0
2.27.3
2.27.4
2.27.2
2.27.1
6m+
2.27.0
6m+
2.26.1
6m+
2.26.0
6m+
2.25.0
6m+
2.24.1
6m+
2.24.0
1y+
2.23.0
1y+
2.22.1
1y+
2.22.0 - Christmas edition
1y+
2.21.1
1y+
2.21.0
1y+
2.20.1
1y+
Release notes:

Security

  • Devalue dependency version updated to prevent CVE-2026-22774 and two other minor vulnerabilities.

Added

  • Added adapter to support Standard Schema, now any validation library implementing that interface can be used with Superforms! Big thanks to sillvva for this contribution! Note however that the defaults option is required when using this adapter, as for default values to be inferred automatically, a more specialized adapter for the validation library (handling JSON Schema) needs to be used.

Fixed

  • Improved error message for "No shape could be created for schema" to suggest using zod4 adapter when applicable. #594
  • Added runtime detection warning when Zod v4 schema is passed to Zod v3 adapter, helping users identify adapter version mismatch. #594
  • Valibot adapter now handles transformation actions (trim, transform, etc.) properly by using typeMode: 'input' and errorMode: 'ignore' as defaults. This prevents errors when schemas contain transformations. Users can override these settings by passing typeMode and errorMode options to the adapter. #668

Copyright © 2023 - All right reserved by Yadoc SAS