New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sveltekit-superforms

Package Overview
Dependencies
Maintainers
1
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sveltekit-superforms - npm Package Versions

2345
22

2.24.0

Diff
ciscoheat
published 2.24.0 •

Changelog

Source

[2.24.0] - 2025-03-09

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.
ciscoheat
published 2.23.1 •

Changelog

Source

[2.23.1] - 2025-01-21

Removed

  • Rolled back runes option for SuperDebug, it wasn't compatible with Svelte 4.
ciscoheat
published 2.23.0 •

Changelog

Source

[2.23.0] - 2025-01-21

Added

Fixed

  • Fixed dateProxy for time formats, previously it returned an invalid date. If you only care about the time part in the date, use time-utc as format to avoid timezone changes.
  • Vite 6 bundling fixed by introducing a default field into exports in package.json.

Changed

  • Arktype 2.0 is finally released! Adapter updated, please check it out, it's validation on the next level.
  • Arktype is now displaying errors with problem instead of message, for nicer output.
  • Zod peerDependency updated to 3.24.1 to be compatible with its latest fix.
  • VineJS adapter updated to 3.0.0.
ciscoheat
published 2.22.1 •

Changelog

Source

[2.22.1] - 2024-12-16

Fixed

  • The transport feature released in 2.22.0 didn't fully handle classes. It should work better now, but the classes must be quite simple to work. Let me know if you have any problems with a certain class.
  • Fixed Decimal.js detection in SuperDebug.
ciscoheat
published 2.22.0 •

Changelog

Source

[2.22.0] - 2024-12-15

Added

  • Support for Zod 3.24 and Infer improvements for all adapters, by no other than the Zod creator himself, Colin McDonnell! What a christmas present! 🎄
  • Arbitrary types can now be used in the form with the transport feature in SvelteKit hooks. There is a transport option both for superValidate and superForm that the transport export in hooks.ts can be directly used in. Note: Requires SvelteKit ^2.11.0.

Fixed

  • z.bigint() was interpreted as a number instead of a BigInt.

Changed

  • Effect updated to require ^3.10.0. Only the effect package is required now, not @effect/schema as before. See the 3.10 release notes for details.
ciscoheat
published 2.21.1 •

Changelog

Source

[2.21.1] - 2024-12-04

Fixed

  • Default values for nested discriminated unions didn't work.
ciscoheat
published 2.21.0 •

Changelog

Source

[2.21.0] - 2024-12-01

Fixed

  • All properties for object unions weren't added to the adapter defaults.

Changed

  • Typebox updated to require ^0.34.9 (hoping for a stable release soon).
ciscoheat
published 2.20.1 •

Changelog

Source

[2.20.1] - 2024-11-15

Changed

  • Valibot updated to require 1.0.0-beta.3 (hoping for a stable release soon).
  • Arktype updated to require 2.0.0-rc.23 (hoping for a stable release soon).

Added

  • Support for Vine 2.0.

Fixed

  • customRequest didn't cancel when client-side validation failed.
ciscoheat
published 2.20.0 •

Changelog

Source

[2.20.0] - 2024-10-18

Added

  • New validation library: Effect!

Changed

  • @typeschema/class-validator version bump to ^0.3.0.
ciscoheat
published 2.19.1 •

Changelog

Source

[2.19.1] - 2024-10-05

Added

  • Exported ClientValidationAdapter from sveltekit-superforms/adapters.

Fixed

  • Result can now be modified in onError, for setting a status code for example.
  • Status codes above 400 but below 500 were not applied to the page status when the result was modified in onUpdate.
2345
22