Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 17, 2025

Bumps sveltekit-superforms from 2.27.4 to 2.29.1.

Release notes

Sourced from sveltekit-superforms's releases.

v2.29.1

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

v2.28.1

Fixed

  • Zod 4 adapter: Allow top-level .transform() and .refine() in schemas. #646.
  • Zod 4 adapter now respects global customError configuration when no explicit error map is provided. The adapter prioritizes customError over localeError. #618.
  • Zod 4 adapter: Fixed Default Date values in nested objects. #650.

v2.28.0

Changed

  • TypeBox adapter has been bumped to 1.0! Check the migration guide to upgrade. Note that if you must stay on 0.x for a while, you cannot upgrade to this version of Superforms.

Added

  • Added support for Zod 4 stringbools. #610
  • booleanProxy now supports the empty option.

Fixed

  • Fixed loading timers when the timeoutMS setting is triggered and a redirect response is returned. #622
  • filesStore initialValue now matches fileStore. #637
  • Fixed JSON Schema for some non-representable types in Zod 4 adapter, it now handles set and map properly. #617
  • Possibly fixed the SuperDebug broken import on Svelte 5 in enforced runes mode #599
  • Zod 4 error messages should now take the current locale into account as default. #618, #639
  • Zod 3 fix for URL parsing - A default boolean value of true returned false when parsing a URL with superValidate. #633
Changelog

Sourced from sveltekit-superforms's changelog.

[2.29.1] - 2025-12-16

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

[2.28.1] - 2025-10-19

Fixed

  • Zod 4 adapter: Allow top-level .transform() and .refine() in schemas. #646.
  • Zod 4 adapter now respects global customError configuration when no explicit error map is provided. The adapter prioritizes customError over localeError. #618.
  • Zod 4 adapter: Fixed Default Date values in nested objects. #650.

[2.28.0] - 2025-10-19

Changed

  • TypeBox adapter has been bumped to 1.0! Check the migration guide to upgrade. Note that if you must stay on 0.x for a while, you cannot upgrade to this version of Superforms.

Added

  • Added support for Zod 4 stringbools. #610
  • booleanProxy now supports the empty option.

Fixed

  • Fixed loading timers when the timeoutMS setting is triggered and a redirect response is returned. #622
  • filesStore initialValue now matches fileStore. #637
  • Fixed JSON Schema for some non-representable types in Zod 4 adapter, it now handles set and map properly. #617
  • Possibly fixed the SuperDebug broken import on Svelte 5 in enforced runes mode #599
  • Zod 4 error messages should now take the current locale into account as default. #618, #639
  • Zod 3 fix for URL parsing - A default boolean value of true returned false when parsing a URL with superValidate. #633
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 17, 2025
@coderabbitai
Copy link

coderabbitai bot commented Dec 17, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sveltekit-superforms-2.29.1 branch from 597911e to f83f4a7 Compare December 17, 2025 09:47
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sveltekit-superforms-2.29.1 branch from f83f4a7 to 87cf067 Compare December 21, 2025 00:57
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sveltekit-superforms-2.29.1 branch from 87cf067 to 0d1b973 Compare December 22, 2025 21:40
Bumps [sveltekit-superforms](https://github.com/ciscoheat/sveltekit-superforms) from 2.27.4 to 2.29.1.
- [Release notes](https://github.com/ciscoheat/sveltekit-superforms/releases)
- [Changelog](https://github.com/ciscoheat/sveltekit-superforms/blob/main/CHANGELOG.md)
- [Commits](ciscoheat/sveltekit-superforms@v2.27.4...v2.29.1)

---
updated-dependencies:
- dependency-name: sveltekit-superforms
  dependency-version: 2.29.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sveltekit-superforms-2.29.1 branch from 0d1b973 to ae8e91e Compare December 24, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant