react-hook-form
7.91.0 · 23 Oct 2026MIT42M / weekRepositoryHomepagenpmAtom feed
595 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
7.54.1
12 Dec 2024Reading the note…
7.54.0
6 Dec 2024useFormreturn methods will be memorized basedformStateupdate
7.53.2
8 Nov 2024Reading the note…
7.53.1
19 Oct 2024Reading the note…
7.53.0
24 Aug 2024Add support for
onBlurwith formStateisValidvalidateFieldswill only trigger re-render for async validation
7.52.2
3 Aug 2024Reading the note…
7.52.1
2 Jul 2024Reading the note…
7.52.0
15 Jun 2024Reading the note…
7.51.5
21 May 2024Reading the note…
7.51.4
4 May 2024Reading the note…
7.51.3
11 Apr 2024Reading the note…
7.51.2
26 Mar 2024Reading the note…
7.51.1
17 Mar 2024Reading the note…
7.51.0
1 Mar 2024Added 'validateFields' to formState
7.50.1
6 Feb 2024Reading the note…
7.50.0
1 Feb 2024Reading the note…
7.49.3
8 Jan 2024Reading the note…
7.49.2
13 Dec 2023Reading the note…
7.49.1
12 Dec 2023Reading the note…
7.49.0
9 Dec 2023Add reactive
errorsprop atuseForm
7.48.2
5 Nov 2023Reading the note…
7.48.1
4 Nov 2023Reading the note…
7.48.0
4 Nov 2023Added new
disabledprop foruseFormto disable the entire form
7.47.0
2 Oct 2023resetapi withkeepIsSubmitSuccessfuloption, keep successfully submitted form state.
7.46.2
21 Sep 2023Reading the note…
7.46.1
4 Sep 2023Reading the note…
7.46.0
3 Sep 2023Controller
disabledpropTrigger passed names to construct resolver options
Add
exactoption for array name inuseWatch
Added
Controller
disabledprop
const [disabled, setDisabled] = useState(false); useController({ disabled, });Trigger passed names to construct resolver options
Add
exactoption for array name inuseWatch
Changed
Update
isDirtywhen settingdisabledinregister
7.45.4
5 Aug 2023Reading the note…
7.45.3
4 Aug 2023Reading the note…
7.45.2
17 Jul 2023Reading the note…
7.45.1
28 Jun 2023Reading the note…
7.45.0
19 Jun 2023Controller with type check on
onChangeInclude missing generic for
useFormContext
7.44.3
1 Jun 2023Reading the note…
7.44.2
28 May 2023Reading the note…
7.44.1
27 May 2023Reading the note…
7.44.0
27 May 2023New
<Form />componentSupport
TransformedValueswithuseFormContextAdded
TTransformedValuestoFormProvider
Added
New
<Form />component
// Send post request with formData <Form action="/api" control={control} onSuccess={() => { alert("Great"); }} /> // Send post request with json form data <Form action="/api" encType="application/json" headers={{ accessToken: 'test' }}> {errors.root?.server.type === 500 && 'Error message'} {errors.root?.server.type === 400 && 'Error message'} </Form> // Send post request with formData with fetch <Form onSubmit={async ({ formData, data, formDataJson, event }) => { await fetch("api", { method: "post", body: formData, }); }} />Support
TransformedValueswithuseFormContext
useFormContext<FormValue, TransformedValues>()Added
TTransformedValuestoFormProvider
FormProviderProps<TFieldValues, TContext, TTransformedValues>
7.43.9
30 Mar 2023Reading the note…
7.43.8
24 Mar 2023Reading the note…
7.43.7
18 Mar 2023Reading the note…
7.43.6
17 Mar 2023Reading the note…
7.43.5
6 Mar 2023Reading the note…
7.43.4
3 Mar 2023Reading the note…
7.43.3
1 Mar 2023Reading the note…
7.43.2
22 Feb 2023Reading the note…
7.43.1
7 Feb 2023Reading the note…
7.43.0
30 Jan 2023Support global error type
7.42.1
15 Jan 2023Reading the note…
7.42.0
13 Jan 2023- removed
Remove deprecated for
fieldState.invalid Build in validation
validatesupport second argument for form valueshandleSubmitno longer catchonSubmitcallback error
7.41.5
4 Jan 2023Reading the note…
7.41.4
3 Jan 2023Reading the note…