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
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@
21
21
22
22
## Version 25
23
23
24
+
### v25.4.1
25
+
26
+
- This patch fixes the issue for users facing `TypeError: .example is not a function`, but not using that method:
27
+
- Some environments fail to load Zod plugin properly so that the usage of `ZodType::example()` (plugin method)
28
+
internally by the framework itself could cause that error;
29
+
- This version fixes the problem by replacing the usage of `.example()` with `globalRegistry.add()`;
30
+
- The issue was found and reported by [@misha-z1nchuk](https://github.com/misha-z1nchuk).
0 commit comments