Skip to content

Commit 21afffd

Browse files
[Docs] Update migration guide docs for deprecation of message (#5595)
* feature: update migration guide docs for deprecation of message * Tweak --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
1 parent b4ab94c commit 21afffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/content/v4/changelog.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Many of Zod's behaviors and APIs have been made more intuitive and cohesive. The
3434

3535
Zod 4 standardizes the APIs for error customization under a single, unified `error` param. Previously Zod's error customization APIs were fragmented and inconsistent. This is cleaned up in Zod 4.
3636

37-
### deprecates `message`
37+
### deprecates `message` parameter
3838

39-
Replaces `message` with `error`. The `message` parameter is still supported but deprecated.
39+
Replaces `message` param with `error`. The old `message` parameter is still supported but deprecated.
4040

4141
<Tabs groupId="error-message" items={["Zod 4", "Zod 3"]} persist>
4242
<Tab value="Zod 4">

0 commit comments

Comments
 (0)