Releases: balazsorban44/use-form
Releases · balazsorban44/use-form
v4.1.1
v4.1.0
v4.0.1
v4.0.0
v3.2.0
v3.1.0
v3.0.0
3.0.0 (2019-10-15)
Bug Fixes
- changes due to testing (3190ebc)
- dates to default to string value in convert (4454493)
- don't delete value prop on select (6cc2eb4)
- changeHandler: show missing validators (cce0f4e)
- deps: fix regenerator runtime error (15aee28)
- handleDevErrors: fix validator error handling (7f8a27d)
- submitHandler: change type to args[0] (1389db1)
- useForm: add initialValue to fields reducer (954fda5)
- useForm: fix wrong param in handleDevErrors (d60d50d)
- useFormContext: destructure rest in context (c9a3637)
Features
- dev: improve error handling (f435e9b)
- error handling: better error handling (b663dac)
- FormContext: add getForms (c5e523b)
- handleDevErrors: control no. alpha warings (061ca17)
- inputPropGenerator: add types, generateProps (0169af4)
- submitHandler: return name only if FormProvider is used (0c12e1f)
- submitHandler: validationErrors in submitHandler (534b269)
- typings: expose UseForm interface (90fa265)
- typings: InputPropGenerator useForm (30c6fca)
- typings: update typings (7e04552)
- typings: update typings (767d99b)
- useForm: change submit to onSubmit (e43d18a)
- useForm: async initialState (bc75cfe)
- useForm: expose hasErrors and validators (85c1065)
- remove console warning (e27408a)
- useForm: return form name (d4d214f)
- useForm: use without provider (f60f2df)
- useForm: WIP v3 (a57fc72), closes #2
- validate: change validators to a function (e62fa55)
- validate: return submitting boolean for validators (d820207)
- validate: set submitting default to [secure] (40124dc)
- validate: simplify validate (9926922)
Performance Improvements
- simplify useForm (dd137d1)
BREAKING CHANGES
- useForm: for consistency, submit has been renamed to onSubmit
- useForm: Obviously.
- validate: Validate will only run
on EITHER validations OR the fields keys,
instead of merging them. - FormContext: initialState prop is changed to initialStates (856208a)