chore(deps): update dependency typedoc to v0.28.17 by renovate[bot] · Pull Request #7164 · trpc/trpc
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| typedoc (source) | 0.27.9 → 0.28.17 |
Release Notes
TypeStrong/TypeDoc (typedoc)
v0.28.17
Bug Fixes
- Improved handling of comments for type aliases which have been declaration merged with functions, #3064.
- Fixed anchor link generation to members named
$, #3065. - Corrected typing of the
pluginoption to permit functions, #3066. - Warnings about unused
@paramtags will now be properly suppressed when they come from declaration files and
the suppressCommentWarningsInDeclarationFiles option is enabled, #3070. - Fixed conversion of types referencing type parameters on functions, #3071.
Thanks!
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.
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
Bug Fixes
- Fixed inconsistent anchors on module pages for re-exports, #2990.
- Markdown references which appear to be footnotes will no longer be checked for links, #2991.
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
pluginfunction 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.
v0.28.6
Features
- TypeDoc now supports resolving relative paths in links to the package directory as belonging to the project, #2961.
- Declarations without comments will now check for comments on their export specifier, #2964.
Bug Fixes
- Attempting to highlight a supported language which is not enabled is now a warning, not an error, #2956.
- Improved compatibility with CommonMark's link parsing, #2959.
- Classes, variables, and functions exported with
export { type X }are now detected and converted as interfaces/type aliases, #2962. - Improved warning messaging for links to symbols which were resolved, but the symbols were not included in the documentation, #2967.
- Fixed an issue preventing nested documents from being deserialized from TypeDoc's JSON output or used in packages mode, #2969.
Thanks!
v0.28.5
Bug Fixes
- References to type aliases defined as mapped types will now correctly create a reference to the type alias, #2954.
ignoredHighlightLanguagescan now be used to prevent warnings for codeblocks containing languages
which are supported by Shiki but are not loaded, #2956.
v0.28.4
Features
- The navigation in the default theme will now attempt to break long names onto multiple lines, #2940.
- Added German (de) localization, #2941.
Bug Fixes
- TypeDoc's default theme now uses the same chevron for all collapsible elements, #2924
ThechevronSmallhelper is now deprecated and will be removed with v0.29.0. - Classes/interfaces marked with
@hiddenwill no longer appear in the
"Hierarchy" section of the docs. - TypeDoc now handles wildcard JSDoc types, #2949.
Thanks!
v0.28.3
Bug Fixes
@inlinenow functions when referencing tuple types, #2932.@linklinks to the current page are now rendered, #2934.@includeCodenow supports regions in TypeScript files with.mtsand.ctsfile extensions, #2935.- Aliased symbols (re-exports) are now resolved before checking if they are excluded/external, #2937.
- Improved error reporting when paths including Windows separators are provided as globs, #2938.
v0.28.2
Features
@group noneand@category nonewill now render their children without a section
heading in the default theme, #2922.- Added
@disableGroupstag to completely disable the grouping mechanism for a
given reflection, #2922.
Bug Fixes
- Variables using
@classnow correctly handle@category, #2914. - Variables using
@classnow include constructor parameters, #2914. - Variables using
@classwith a generic first constructor function now adopt
that function's type parameters as the class type parameters, #2914. - When printing entry point globs which fail to match any paths, TypeDoc will no longer normalize the glob, #2918.
- Inlining types can now handle more type variants, #2920.
- Fixed behavior of
externalSymbolLinkMappingsoption when URL is set to#, #2921. - Fixed broken links within module pages when structure-dir router was used, #2928.
- Type parameters on JS classes defined with
@typedefnow correctly handle the constraint, #2929. - API:
toStringon types containing index signatures now behave correctly, #2917. - Added
@inlineTypeto the list of tags excluded by default.
v0.28.1
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.
v0.28.0
Breaking Changes
- TypeDoc now expects all input globs paths to be specified with
/path separators, #2825. - TypeDoc's
--entryPointStrategy mergemode now requires JSON from at least version 0.28.0. - Removed
jptranslations fromlang, to migrate switch toja. - File name references in
intentionallyNotExportednow use a package name/package relative path instead of an absolute path for matching. - The
source-ordersort ordering now considers package names / package relative paths instead of using the absolute paths to a file. - TypeDoc will only check for a project README file next to the discovered
package.jsonfile if--readmeis not set
this change improves handling of monorepo setups where some packages have readme files and others do not, #2875. - Function-like variable exports will now only be automatically converted as function types if
they are initialized with a function expression. TypeDoc can be instructed to convert them as functions
with the@functiontag, #2881. - Object literal type alias types will now be converted in a way which causes them to be rendered more similarly
to how interfaces are rendered, #2817.
API Breaking Changes
ProjectReflection.getReflectionFromSymbolandProjectReflection.getSymbolFromReflectionhave been moved toContextPathandPathArrayparameter types now always contain normalized paths.- Introduced a
Routerwhich is used for URL creation.Reflection.url,
Reflection.anchor, andReflection.hasOwnDocumenthave been removed. Deserializer.reviveProject(s)no longer accepts an option to add project documents.Deserializer.reviveProjectsnow requires analwaysCreateEntryPointModuleoption.Comment.serializeDisplayPartsno longer requires a serializer argument.ReflectionSymbolId.fileNameis now optional, TypeDoc now stores a combination of a package name and package relative path instead.
ThefileNameproperty will be present when initially created, but is not serialized.- Removed
DeclarationReflection.relevanceBoostattribute which was added for plugins, but never used. i18nproxy is no longer passed to many functions, instead, referencei18nexported from the module directly.ReflectionKind.singularStringandReflectionKind.pluralStringnow returns translated strings.
The methods onInternationalizationto do this previously have been removed.- The HTML output structure for the search box has changed to support the new modal.
DefaultThemeRenderContext'stypeDeclarationandtypeDetailsIfUseful
methods now require both a reflection and a type in order to support
@expandType
Features
- Add support for TypeScript 5.8.x
- The search modal in the HTML output has been rewritten to provide better mobile support
- Added a
--routeroption which can be used to modify TypeDoc's output folder
structure. This can be extended with plugins, #2111. - Introduced the
@primaryExportmodifier tag to provide more fine grained
control over export conversion order, #2856 - Introduced
packagesRequiringDocumentationoption forvalidation.notDocumented, TypeDoc will expect comments to be present for symbols in the specified packages. - TypeDoc now exports a
typedoc/browserentrypoint for parsing and using serialized JSON files, #2528. - Type
packageOptionsasPartial<TypeDocOptions>, #2878. - TypeDoc will now warn if an option which should only be set at the root level is set in
packageOptions, #2878. - Introduced
@functiontag to force TypeDoc to convert variable declarations with a type annotation as functions, #2881. - Exposed a
TypeDocglobal object in the HTML theme which can be used to prevent TypeDoc from usinglocalStorage, #2872. - Introduced
@preventInlineand@inlineTypetags for further control extending the@inlinetag, #2862. - Introduced
@preventExpandand@expandTypetags for further control extending the@expandtag, #2862. - API: Introduced
DefaultThemeRenderContext.reflectionIconfor more granular control over displayed reflection icons.
Bug Fixes
- TypeDoc will now only create references for symbols re-exported from modules.
- Variable-functions will now prefer placing the comment on the signature if there is only one signature present, #2824.
- User filter settings will no longer sometimes cause the search to have fewer visible results than expected.
- Fixed handling of expando functions which were also merged with a namespace, #2876.
- Fixed rendering of function types within arrays and union types, #2892.
- Fixed an issue where if the theme JS didn't load, the page wouldn't be shown, #2894.
Thanks!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.