Migration Guides
v4
Released: 2024-05-03
v4.0 is a major release that includes a number of bug fixes, new features and UX improvements.
Architectural Changes
- Handlebars as a dependency has been removed.
- Updated customization model with the ability to set hooks, events and custom theming.
- Improved test and linting coverage.
New Features
- Updated output file structure.
- Improved and cleaner UX configurable with options.
- Exported option types and JSON schema.
- Exposed navigation structure.
- Ability to customize static text.
- Comprehensive documentation and examples repository.
Non-Breaking Changes
- Each module member is now output to its own file by default. See
outputFileStrategy. To achieve the same output as v3 (whereby only Classes, Enums and Interfaces have their own file), set themembersWithOwnFileoption. - Parameters are output as a list by default. To achieve the same output as v3 (where parameters are output as a table), use the
tablekey ofparametersFormat. - Comment
@tags are now displayed as headings.
Breaking Changes
- The output file structure has changed so you may need to update any cross references into your docs from external sources.
- Setting
themeto"markdown"is not required and should be removed. - The option
indexTitlehas been removed. Please use the"title.indexPage"key withtextContentMappings. - The option
allReflectionsHaveOwnDocumenthas been removed (this behaviour is now the default). Please see SeeoutputFileStrategy. - The option
entryDocumenthas been renamed toentryFileNameto better reflect its purpose. - The option
namedAnchorshas been renamed touseHTMLAnchorsto better reflect its purpose. - The option
hideInPageTOChas been removed. In-page TOC are no longer included by default. You can include in-page TOCs by using typedoc-plugin-remark and the remark-toc plugin. - The option
objectLiteralTypeDeclarationStylehas been removed. Please use thelistkey oftypeDeclarationFormat.
Last updated on