Skip to content

Commit cc5591e

Browse files
committed
Changelog update
1 parent 6322db8 commit cc5591e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- `setError` doesn't handle form-level errors anymore, use refine/superRefine on the schema, or the `message` helper.
13-
- The following methods are now using a string accessor like `tags[2].id` instead of an array `['tags', 2, 'id']`: `validate`, `setError` and all proxy methods (ending with `Proxy`).
13+
- `FieldPath` is gone - the following methods are now using a string accessor like `tags[2].id` instead of an array like `['tags', 2, 'id']`: `validate`, `setError` and all proxy methods (ending with `Proxy`). This also applies to generic components.
1414
- The signature for `allErrors` and `firstError` have changed to `{ path: string[]; messages: string[] }`.
1515
- The literal `"any"` is now an allowed value in `step` for constraints.
1616
- Multiple `regex` and `step` is now allowed in a schema. A warning will be emitted by default, that can be turned off.

0 commit comments

Comments
 (0)