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
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,10 @@
7
7
- Supported `zod` versions: `^4.1.13`:
8
8
- This Zod patch contains an [important fix](https://github.com/colinhacks/zod/pull/5452) that makes the
9
9
`globalRegistry` really global across both CJS and ESM bundles of Zod distribution;
10
-
- Though, the requirement on running the framework in ESM environment remains, I consider the fix critical in order
11
-
to avoid unexpected behaviour such as [loosing metadata](https://github.com/RobinTail/express-zod-api/issues/3059);
12
-
- The issue was found and reported by [@shadone](https://github.com/shadone).
10
+
- The issue was found and reported by [@shadone](https://github.com/shadone);
11
+
- New version of Zod plugin now also extends the CJS exports of Zod:
12
+
- This fixes the "TypeError: example is not a function" in CJS and removes the requirement to use ESM environment;
13
+
- The issue reported by [@squishykid](https://github.com/squishykid), and addressed earlier in [v25.5.3](#v2553);
13
14
-`DependsOnMethod` removed:
14
15
- You can now specify methods as direct keys of an assigned object in `Routing`;
15
16
- That object can still contain nested paths as before;
0 commit comments