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
defaultsoption 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
zod4adapter 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 usingtypeMode: 'input'anderrorMode: 'ignore'as defaults. This prevents errors when schemas contain transformations. Users can override these settings by passingtypeModeanderrorModeoptions to the adapter. #668