What's Changed
- Improve
Link
component types and support for prefetch events by @pascalbaljet in #2464 - allow passing partial errors object to
setError()
by @sudo-barun in #2461 - Add missing generic type support to PendingVisit and VisitHelperOptions by @HichemTab-tech in #2454
- Revamp useForm's generic types across adaptors by @Spice-King in #2335
- TypeScript improvements for
Link
component and Client Side Visits by @pascalbaljet in #2472 - Further TS improvements for
useForm
by @pascalbaljet in #2475 - Improve consistency in
useForm
across adapters by @pascalbaljet in #2482 - Improve TypeScript support for Client Side Visit
props
callback by @pascalbaljet in #2483 - TS improvements to Svelte's
<Form>
anduseForm()
implementations by @pascalbaljet in #2489 - Typescript Improvements by @pascalbaljet in #2468
- Test apps in TypeScript by @pascalbaljet in #2469
- Fix empty action in
<Form>
component when the current URL has more than one segment by @pascalbaljet in #2501 - Support uppercase method in
<Form>
component by @pascalbaljet in #2502 - Add
Form
componentdisableWhileProcessing
prop by @joetannenbaum in #2504 - Reset form fields by name in Form components by @skryukov in #2499
- Add
onSubmitComplete
prop toForm
component by @joetannenbaum in #2503 - Remove failed prefetch requests from in-flight array by @pascalbaljet in #2500
- Add
defaults()
method to Form component by @pascalbaljet in #2507 - Release script by @joetannenbaum in #2508
- Only
reset()
anddefaults()
inonSubmitComplete
by @pascalbaljet in #2509
New Contributors
- @sudo-barun made their first contribution in #2461
Full Changelog: v2.1.0...v2.1.1