You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Changed
11
11
12
12
-`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.
14
14
- The signature for `allErrors` and `firstError` have changed to `{ path: string[]; messages: string[] }`.
15
15
- The literal `"any"` is now an allowed value in `step` for constraints.
16
16
- 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