NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2294 most downloaded on npm
[](https://github.com/styleguidist/react-docgen-typescript/actions/workflows/nodejs.yml)
Last release 1 years ago
10 Jun 2025
Ships unpredictably
gaps range from 9 days to 2.6 years
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
81 releases · first in 2016
Vulnerable dependencies updated
updating package version
updating package version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix: trimFileName no longer works in a monorepo ( #404 ) thanks to @ecraig12345 PR #405
component raw typescript expression as part of the ComponentDoc.expression - thanks to @TrevorBurnham #398
ComponentDoc.expression - thanks to @TrevorBurnham #398ComponentDoc - thanks to @jt-stripe PR #399better TS error reporting - thanks @mmomtchev PR #390
feature: parse displayName for stateless components - thanks to @roddds PR #368
As we started to use a function that is available from typescript 4.3 we are forced to bump the major version.
As we started to use a function that is available from typescript 4.3 we are forced to bump the major version.
feature: more accurate determination of enumeration type and return the expected enumeration value - thanks to @angular-moon PR #325
feature: Inferring type from constrained generics - thanks to @Muritavo PR #318
fix: fix when initializer is undefined - thanks to @SimplyY PR #303
fix jsDoc visibleName support thanks to @hipstersmoothie PR #289
fix docgen for default exports wrapped in React.memo or React.forwardRef - thanks to @hipstersmoothie PR #288
use just the description for JSDoc comment instead of full comment - thanks to @hipstersmoothie PR #283
fix - Cannot read property 'getSourceFile' of undefined thanks to @buhichan PR 276
handle complex generic props - thanks to @hipstersmoothie PR #268
feat: adds the ability to generate docs for static sub-components - thanks to @hipstersmoothie PR #265
fix: Components using React.forwardRef get the name ForwardRefExoticComponent (#215) - thanks to @hipstersmoothie PR #263
Added shouldExtractValuesFromUnion option - thanks to @hipstersmoothie PR #261
feat: allow jsdoc @type to override a prop's type - thanks to @CyriacBr PR #258
fixes: #176 Incorrectly parse props with several named exports and consts - thanks to @hipstersmoothie and his PR #253
Lot of fixes by @hipstersmoothie!
Lot of fixes by @hipstersmoothie!
Fixed #158 Intersection types are not documented #57 Support for Union types #243 Default props are null when functional component is a declaration #246 Can't parse union type of component when exported as default #245 typescript added as peer dependency
Partially fixed #68 Union types cannot be documented
fix for #203 - thanks to @hipstersmoothie and his PR #241
fix for #179 Problem with export default and pure styled-components - thanks to @Lazyuki PR #234
Fix @default jsdoc annotation with no description being ignored (#73) thanks to @squah-u and his PR #230
Fix @default jsdoc annotation with no description being ignored (#73) thanks to @squah-u and his PR #230
Сhange the default value when getting literal value PR #219 by @Hooked74
fix: defensive get function statement initializer #207 - PR #208 by @gabrielberlanda
fix: the default params are parsed properly - thanks to @evless and his PR #210 The minor version has been change as this can be seen also as a new fe
fix: props which values are defined in defaultProps are marked as required anyway - thanks to @hipstersmoothie and his PR #205
extract literal values from enums (PR #201 thanks to @nekitk)
fix: Docgen of defaulted properties in a SFC #154 - thanks to @nekitk and his PR #200
fix: Docgen of defaulted properties in a SFC #154 - thanks to @nekitk and his PR #200
no changes in the library itself, just fixes in package.json to fix #185
package.json to fix #185fix: support for styled components v4 #179 (PR: #181)
fix: support for styled components v4 #179 (PR: #181)
Fix for filename -> js identifier conversion has broken conversion #167 thanks to @RoystonS and his PR #168
fix: failing if component names are not js identifiers - thanks to @Diokuz and his PR #157
fix exportName for functional components
exportName for functional componentscommentSource missing component typesthanks to @BeroBurny and his PR #153
support for method documentation - big thanks to @BenLorantfy and his PR #145
component name and description is extracted even when no props are present - thanks to @fabioelia and his PR #142
Fix comments with \r\n breaking on runtime - thanks to @JoaoMosmann and his PR #136
exporting getDefaultExportForFile - thanks to @ bebraw and his PR #130
getDefaultExportForFile - thanks to @ bebraw and his PR #130fix #123 styleguidist warnings caused by crash of react-docgen-typescript- thanks to @bebraw and his PR #125
react-docgen-typescript- thanks to @bebraw and his PR #125fix for #121 - The example code don't work
possibility to pass factory method that creates instance of TS program class - thanks to @strothj and his PR #119
Allow filtering by parent interface or type declaration - thanks to @rkostrzewski and his PR #111
Some components showing up as "Requireable" #106 - fixed thanks to @milesj and his PR #110
additional exports added to support easier integrations with other project (thanks to @strothj and his PR #104)
support shorthand default props (thanks to @milesj and his PR #99)
parse can be called with multiple source file paths (thanks to @marionebl PR #91)
This is @milesj release. Thanks for that!
This is @milesj release. Thanks for that!
index.tsx (@milesj PR #88)use displayName as default component name (thanks to @argshook for his PR #87)
displayName as default component name (thanks to @argshook for his PR #87)improving default props for stateless components (thanks to @chrisalbert for his PR #84)
default props doesn't work if they are not defined in place (thanks to @argshook for his PR #80)
extracting default props from stateless components (thanks to @ asilgag for his PR #78)
Type information added to package.json
Type information added to package.json
Correct name for stateless components.
Correct name for stateless components.
Thanks to @skeate and his #76 PR. This release closes issue about wrong names for stateless components #74.
Custom tsconfig.json can include comments.
Custom tsconfig.json can include comments.
Thanks to @eps1lon and his PR #75, the parsing of tsconfig.json uses the same code as the typescript itself. This enables to use whatever is allowed in typescript configuration as comments for example.
Default values as numbers are not parsed.
Default values as numbers are not parsed.
Fix for #62
Your coding agent can read these notes before it upgrades. Set up the MCP server →