sveltekit-superforms
Advanced tools
Changelog
[2.13.0] - 2024-05-03
Changelog
[2.12.6] - 2024-04-23
Changelog
[2.12.5] - 2024-04-16
use:enhance
was only intended for SPA mode to fully support progressive enhancement, so it now properly checks for that before adding the missing method="POST"
attribute on the form.Changelog
[2.12.4] - 2024-04-09
FormPathLeaves
caused a memory leak when using svelte-package
.Changelog
[2.12.3] - 2024-04-08
Map
and Set
.submit
method now falls back to submit, if no support for requestSubmit in browser.isTainted
now handles the type of $tainted
in generic components.id
option for superForm (not superValidate) wasn't used in multiple form scenarios.Changelog
[2.12.2] - 2024-03-29
FormResult
type that can be used in onUpdate
, it didn't filter out SuperValidated.Changelog
[2.12.0] - 2024-03-28
use:enhance
on all related forms.FormPath
with nested arrays. Error output improved as well.Changelog
[2.11.0] - 2024-03-22
ActionResult
for success or failure is now added to the onUpdate
event in the result
property. Can be used to more easily access the ActionData
.fail
function, works the same as the SvelteKit fail, but removes files and sets form.valid
to false
.options.config
added to the Zod adapter, so the JSON Schema generation can be customized.Changelog
[2.10.6] - 2024-03-20
message
, not errors-and-message
, as it didn't work anyway.event.result.error
signature in onError was incorrect, it doesn't always match App.Error
. It is now a union between App.Error
, The built-in JS Error
class, and the default App.Error signature { message: string }
.