Releases: TypeStrong/typedoc
Releases · TypeStrong/typedoc
v0.28.16
Bug Fixes
- Fixed an issue causing TypeDoc to fail to generate documentation when implementing interfaces, #3052.
- Fixed an issue preventing automatic entry point discovery on Windows, #3057.
- Improved vertical positioning of text icons, #3056.
- TypeDoc no longer includes source location information for type literal reflections. This could sometimes
cause TypeDoc to infer the wrong path when resolving base paths for display. - Adjusted markdown rendering to allow
markdownItLoaderto override more rendering #3055.
Features
- Added support for regions for
@includein.tsx,.cjs, and.mjsfile references #3048. - Comments for TS-in-JS
@typedeftags may now specify modifier tags with the inline tag syntax{@mod}.
This makes it possible to add modifier tags to these members, which previously was not possible as
TypeScript's parsing stops for these members at the next non-braced tag, #2916 and #3050. - A
typedoc-config.schema.jsonis now included in the root of the package with a JSON schema for TypeDoc's
configuration file. The schema for the latest version is also published at https://typedoc.org/schema.json
and will automatically be picked up when writing typedoc.json files if you are using VSCode, #3054.
Thanks!
v0.28.15
Features
- The
gitRevisionoption now accepts the special value{branch}, which indicates source links should use
the current git branch for links, #3041. - Introduced
validation.invalidPathfor suppressing warnings caused by referencing relative paths which
do not exist when building the documentation, #3033. - API: Introduced
Logger.validationWarningfor validation which occurs during conversion rather than
during TypeDoc's normal validation step, #3033.
v0.28.14
Features
- Introduced the
preservedTypeAnnotationTagsoption to specify tags whose type annotations should
be copied to the output documentation, #3020.
API: IntroducedtypeAnnotationonCommentTag - Added
excludePrivateClassFieldsoption to hide#privatemembers while allowingprivatemembers, #3017. - Added support for TypeScript's
@thistag for JS files which describethisparameters, #3026.
Bug Fixes
v0.28.13
Features
- The
basePathoption now also affects relative link resolution, TypeDoc will also check for
paths relative to the provided base path. If you instead want TypeDoc to only change the rendered
base path for sources, use thedisplayBasePathoption, #3009.
Bug Fixes
- Fixed bug introduced in 0.28.8 where TypeDoc could not render docs with some mixin classes, #3007.
@inheritDocwill now correctly overwrite@remarksand@returnsblocks on the target comment, #3012.- The
externalSymbolLinkMappingsoption now works properly on links pointing to inherited/overwritten signatures, #3014.
v0.28.12
Bug Fixes
- Variables marked with
@enumnow work for symbols imported from another module, #3003. - Improved magic introduced with #2999 to work with imported symbols, #3003.
- Fixed relative link resolution to file names containing percent encoded URLs, #3006.
- Linking to the project's README file with a relative link will now behave as expected, #3006.
- Reduced unnecessary HTML element rendering in default theme.
API:Reflection.hasCommentandComment.hasVisibleComponentnow accepts an optionalnotRenderedTagsparameter.
v0.28.11
Features
- Object properties declared with shorthand property assignment will now use the variable's comment
if they do not have their own comment, #2999.
Bug Fixes
- Fixed link resolution not working correctly in first comment on the file in some cases, #2994.
- Optional methods are now rendered with a trailing
?in the reflection preview and signature, #2995. - The
compilerOptionsoption now functions properly with non-boolean options, #3000. - Configuration errors within the
compilerOptionsoption are now handled gracefully, #3000. - Fixed improper casing of "Type Declaration" header, #3002.
v0.28.10
v0.28.9
Features
- Add support for TypeScript 5.9, #2989.
Bug Fixes
- Fixed bug introduced in 0.28.8 where TypeDoc could not render docs when members inherited from a complex type alias, #2982.
- Fixed automatic discovery of entry points when not running in packages mode, #2988.
- Fixed discovery of package.json file when running with entry points containing a glob, #2985.
v0.28.8
Features
- If using JS config files, the
pluginoption can now be given plugin functions to load. - Permit
-within tag names to supporttypescript-json-schema's@TJS-typetag, #2972. - Exposed
Context.createSymbolIdfor use by plugins.
Bug Fixes
- Relative links in
<img srcset>will now be discovered by TypeDoc, #2975. - Relative links in
<source src>and<source srcset>elements will now be discovered by TypeDoc, #2975. - Improved inherited from/overwrites link discovery to point to parent properties in more cases, #2978
Thanks!
v0.28.7
Features
- Introduced the
@sortStrategytag to override thesortoption on a specific reflection, #2965.
Bug Fixes
- Classes and functions exported with
export { type X }are no longer missing comments, #2970. - Setting
localeto an unknown value will now cause TypeDoc to operate in English instead of a debug locale. - Array options will now report an error if set to a non-array/non-string value.