Skip to content

Commit fa3800c

Browse files
committed
Changelog
1 parent 1fc9912 commit fa3800c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12-
- Arktype updated to require `2.0.0-rc.8` (last update before 2.0).
12+
- Arktype updated to require `2.0.0-rc.8`, fixing some types (last update before 2.0).
13+
14+
### Deprecated
15+
16+
- The `failStatus` and SPA action form (`string`) options of [single page application mode](https://superforms.rocks/concepts/spa) are now deprecated. `failStatus` is rarely used, and SPA action form can be created just by setting [invalidateAll](https://superforms.rocks/concepts/enhance#invalidateall) and [applyAction](https://superforms.rocks/concepts/enhance#applyaction) to `false`. See [this example](https://github.com/ciscoheat/superforms-examples/blob/username-available-zod/src/routes/%2Bpage.svelte) for details.
17+
18+
### Added
19+
20+
- Exceptions thrown in the `onSubmit`, `onResult` and `onUpdate` [events](https://superforms.rocks/concepts/events) will now be caught and sent to `onError`, if it exists.
1321

1422
### Fixed
1523

0 commit comments

Comments
 (0)