npm / jsii-docgen
jsii-docgen
What changed in jsii-docgen 2 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-29.
11 breaking1 security2 new APIs and options2 performance3 tooling3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initjsii-docgen 109 changes
Breaking changes 1
README.md files are no longer included by default in generated documentation; use --readme to restore the previous behavior.
Security 1
Fixes shell injection during npm installation.
Performance 1
Improves transliteration performance, which was needlessly slow.
Tooling 3
jsii-rosetta 6.0 is supported.
TypeScript 6.0 is supported.
jsii-docgen now supports the jsii class-covariant-overrides feature.
Fixes and other changes 3
Assembly <> not found errors are now handled gracefully.
The
not found in assemblyerror is now detected in submodules.Fixed an error when trying to load unrelated assemblies.
jsii-docgen 91 changes
Breaking changes 1
jsii-rosetta is now a peer dependency with a tested version range, starting at 5.1.2; newer versions are untested until the range is updated.
jsii-docgen 81 changes
Breaking changes 1
Node 14 is no longer supported; Node 16 or later is required.
jsii-docgen 71 changes
Breaking changes 1
The minimum required Node.js version is now 14.x.
jsii-docgen 61 changes
Breaking changes 1
The CLI now generates documents with APIs from all jsii submodules by default; pass --submodule <submod> to limit output to one submodule, or --submodule root for the root module.
jsii-docgen 53 changes
Breaking changes 2
Replaces Documentation.render; the options parameter for this method has changed.
TranspiledType is no longer exported.
New APIs and options 1
JSON doc generation is now supported.
jsii-docgen 43 changes
Breaking changes 2
The language property moved from the Documentation.forXXX functions to Documentation.render.
The loose property moved from the Documentation.forXXX functions to Documentation.render.
Performance 1
Package installation can be reused when rendering multiple languages.
jsii-docgen 32 changes
Breaking changes 1
The class can no longer be directly instantiated; use static factory methods instead.
New APIs and options 1
User-defined content is transliterated.
jsii-docgen 21 changes
Breaking changes 1
The tool no longer accepts arguments and operates solely on the .jsii assembly produced during package build.