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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
### v24.6.2
6
6
7
7
- Correcting recommendations given in [v24.6.0](#v2460) regarding using with `zod@^4.0.0`:
8
-
- Make sure the `moduleResolution` in your `tsconfig.json` is either `node16`, `nodenext` or `bundle`;
8
+
- Make sure the `moduleResolution` in your `tsconfig.json` is either `node16`, `nodenext` or `bundler`;
9
9
- Consider the [recommended tsconfig base, Node 20+](https://github.com/tsconfig/bases/blob/main/bases/node20.json);
10
10
- Then you MAY `import { z } from "zod"`;
11
11
- Otherwise, you MUST keep `import { z } from "zod/v4"`;
@@ -27,7 +27,7 @@
27
27
28
28
- Supporting `zod` versions `^3.25.35 || ^4.0.0`:
29
29
- If you use `zod@^4.0.0` then you MAY `import { z } from "zod"`:
30
-
- If facing error, ensure `moduleResolution` in your `tsconfig.json` is either `node16`, `nodenext` or `bundle`;
30
+
- If facing error, ensure `moduleResolution` in your `tsconfig.json` is either `node16`, `nodenext` or `bundler`;
31
31
- If you use `zod@^3.25.35` then keep `import { z } from "zod/v4"`;
32
32
- For more details, see the [Explanation of the versioning strategy](https://github.com/colinhacks/zod/issues/4371).
0 commit comments