Skip to content

Commit 3a4bec9

Browse files
committed
docs: update CHANGELOG.md
1 parent 7a2dcbd commit 3a4bec9

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

CHANGELOG.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v6.0.1 (2025-12-04)
4+
5+
- deps: upgrade dependencies
6+
37
## v6.0.0 (2025-11-21)
48

59
### Breaking changes
@@ -13,12 +17,15 @@
1317
- refactor: rename type `ModifiedFields` to `ModifiedState`
1418
- refactor: rename type `TouchedFields` to `TouchedState`
1519
- refactor: rename `useFieldArray().fields` to `items`
16-
- refactor: forms can be submitted if not modified by default (use option `disableSubmitIfNotModified` to change this)
20+
- refactor: forms can be submitted if not modified by default (use option
21+
`disableSubmitIfNotModified` to change this)
1722
- refactor: `setValues()` does not accept a function anymore in `useForm()`
1823
- refactor: add function `initialize()` to `useForm()` and make `setInitialValues()` do what it says
19-
- refactor: remove props `emptyOptionLabel`, `options` and `type` from `Field` component to only handle props initialization
24+
- refactor: remove props `emptyOptionLabel`, `options` and `type` from `Field` component to only
25+
handle props initialization
2026
- refactor: rename mode `experimental_uncontrolled` to `uncontrolled`
21-
- refactor: rename option `parser` to `parse` in `useForm().getFieldProps()`, `useForm().handleFieldChange()`, `useForm().handleSetValue()` and `getFieldValue()`
27+
- refactor: rename option `parser` to `parse` in `useForm().getFieldProps()`,
28+
`useForm().handleFieldChange()`, `useForm().handleSetValue()` and `getFieldValue()`
2229
- refactor: rename `handleBlur()` to `handleFieldBlur()` in `useForm()`
2330

2431
### Other changes
@@ -54,23 +61,27 @@
5461
- feat: add option `sort` to `useFieldArray()`
5562
- feat: add option `format` to `getFieldProps()` in `useForm()`
5663
- feat: add option `replaceNull` to `getFieldProps()` in `useForm()`
57-
- feat: add option `setValueOptions` to `getFieldProps()`, `handleFieldChange()` and `handleSetValue()` in `useForm()`
64+
- feat: add option `setValueOptions` to `getFieldProps()`, `handleFieldChange()` and
65+
`handleSetValue()` in `useForm()`
5866
- feat: add hook `useWatch(path, callback)`
5967
- feat: return `id` from `useForm()`
6068
- feat: make `onSubmit` optional in `useForm()`
6169
- feat: pass `values` as second argument of `onSubmitted(result, values)`
6270
- feat: set `key` attribute on `<Field>` component using `useForm().key()`
6371
- feat: improve autocompletion of field names in functions arguments
64-
- feat: pass current items to callback of `handleAppend()` and `handlePrepend()` of `useFieldArray()`
72+
- feat: pass current items to callback of `handleAppend()` and `handlePrepend()` of
73+
`useFieldArray()`
6574
- feat: use `parse` option of `getFieldProps` to parse array values
6675
- fix: return `onClick` property in `getButtonProps()` in `useForm()`
6776
- fix: fix errors state after changing array items (insert, prepend, remove...)
68-
- fix: fix value returned by `getFieldProps()` to be empty string instead of null when format option is not null
77+
- fix: fix value returned by `getFieldProps()` to be empty string instead of null when format option
78+
is not null
6979
- fix: export types from index to simplify import declarations
7080
- fix: do not mark form as validated when `validateFields()` was successful
7181
- fix: fix lost of modified state after using `appendListItem()`
7282
- fix: fix "undefined path error" when field onBlur is called
73-
- fix: include value in field id for checkbox and radio elements so the focus is working when clicking on them
83+
- fix: include value in field id for checkbox and radio elements so the focus is working when
84+
clicking on them
7485
- fix: replace field's null value with empty string in controlled mode
7586
- fix: fix checked state of radio/checkbox with empty string as value and context value is null
7687
- fix: update fields to validate instead of replacing them when setting values

0 commit comments

Comments
 (0)