SvelteKit SuperForms (javascript)

notes:

no notes

Release list
2.29.1
2.28.1
2.28.0
2.27.4
2.27.3
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
6m+
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+
2.19.1
1y+
Release notes:

Fixed

  • Fixed TypeScript type inference for discriminated unions in ValidationErrors. #653
  • Fixed FormData parsing for discriminated unions, so they work properly without requiring dataType: 'json'. #655
  • reset() function didn't preserve tainted state for fields that are not being reset when using partial data. #656
  • Fixed FormData parsing incorrectly coercing empty strings to literal values (e.g., z.literal("bar")). Empty strings now properly fail validation instead of being replaced with the literal value. #664
  • Fixed ReferenceError when using customValidity with validateForm({ update: true }). #669

Changed

  • Replaced deprecated @finom/zod-to-json-schema with zod-v3-to-json-schema. #660
  • Migrated Valibot adapter to use the official @valibot/to-json-schema package. #668

Copyright © 2023 - All right reserved by Yadoc SAS