Repository navigation
v0.9.8
Fix: ng add on Angular 20 now leaves the app with one zod.
ng add ngx-json-render and ng generate ngx-json-render:mcp-app wrote zod at the peer range ^4.0.0. On Angular 20 that range keeps the zod 4.1.13 the Angular CLI brings along, while @json-render/core depends on zod ^4.3.6 and gets its own nested copy. A catalog's schemas then fail to type-check against core's (ZodObject … is missing the following properties from type ZodType). Angular 21 was not affected: its CLI brings zod 4.3.6.
What's changed
- The schematics now add
zod@^4.3.6, core's own floor, so npm keeps a single copy. The peer range stays^4.0.0. - Verified on a clean Angular 20.3 app:
ng add, thenng generate ngx-json-render:mcp-app, builds with no manual step.
Upgrading
An Angular 20 app set up with an earlier ng add can fix itself with npm i zod@^4.3.6. Nothing else changes.
Full Changelog: v0.9.7...v0.9.8