npm / @compodoc/compodoc
@compodoc/compodoc
What changed in @compodoc/compodoc 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.
2 breaking1 security2 new APIs and options5 behavior and defaults2 tooling4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@compodoc/compodoc 214 changes
Breaking changes 2
The package is no longer required by the application.
IE 11 support and Babel transpilation have been dropped.
Security 1
Signal type and configuration parsing are hardened against ReDoS.
New APIs and options 2
Coverage can exclude files without excluding generated documentation.
The CLI now supports a single file as its source argument.
Behavior and default changes 4
Dependency graph nodes are now clickable for navigation.
Interface docs now render nested type literal properties, Omit inheritance, and TypeScript declaration merging.
JSDoc rendering preserves custom-tag descriptions and generic type parameters, uses the nearest variable comment, and supports indented example code blocks and inherited docs.
Route parsing handles additional TypeScript expressions, spreads, lazy imports, aliases, path forms, and route data patterns for more accurate route graphs.
Tooling 2
Generated docs support signal inputs and aliases, standalone metadata, styleUrl, and injectable providedIn and inheritance metadata.
Route graph generation now supports provideRouter apps, standalone components, inline lazy routes, default-export route files, and traditional NgModule routing.
Fixes and other changes 3
Coverage workflows now support absolute Windows paths and keep coverage enabled in coverage test mode.
Generated documentation handles advanced type syntax, inherited documentation, examples, custom tags, and richer interface docs more accurately.
Changed file paths are normalized during watch workflows.
@compodoc/compodoc 12 changes
Behavior and default changes 1
Compodoc can document only the public API.
Fixes and other changes 1
Fixes links to type aliases in method parameter signatures.