Skip to content

Releases: styleguidist/react-docgen-typescript

v2.2.2

11 Dec 09:55
44cd506
Compare
Choose a tag to compare

v2.2.1

01 Dec 17:45
707be2c
Compare
Choose a tag to compare
  • component raw typescript expression as part of the ComponentDoc.expression - thanks to @TrevorBurnham #398
  • fixed type for ComponentDoc - thanks to @jt-stripe PR #399

v2.1.1

09 Oct 10:19
807b878
Compare
Choose a tag to compare

v2.1.0

01 Aug 10:03
40edb17
Compare
Choose a tag to compare
  • feature: parse displayName for stateless components - thanks to @roddds PR #368
  • feature: get comment info for union type - thanks to @ron0115 PR #376
  • fix: resolving imported defaultProps @DarkGenius PR #379

v2.0.0

09 Jun 19:23
f8556be
Compare
Choose a tag to compare

As we started to use a function that is available from typescript 4.3 we are forced to bump the major version.

  • feature: Adding filePath to parser results - thanks to @fforres PR #343
  • fix: TypeError: (tag.text || "").trim is not a function #356 - thanks to @michelengelen PR #360
  • fix: shouldRemoveUndefinedFromOptional in TypeScript strict mode #341 - thanks to @shilman PR #361
  • fix: Cannot read property 'length' of undefined #363 - thanks to @hazem3500 PR #364

v1.22.0

04 Apr 09:26
a33dfbb
Compare
Choose a tag to compare
  • feature: more accurate determination of enumeration type and return the expected enumeration value - thanks to @angular-moon PR #325
  • feature: added tags for props to serialization - thanks to @carmnk PR #328
  • feature: add an ability to extend component types by option field - thanks to @ypanyukov PR #333
  • feature: parse default values in immediately destructured props - thanks to @michelengelen PR #338

v1.21.0

02 Feb 20:04
33e2170
Compare
Choose a tag to compare
  • feature: Inferring type from constrained generics - thanks to @Muritavo PR #318
  • feature: Add more information about parent declaration - thanks to @appbak3r PR #312
  • feature: Add tags to ComponentDoc - thanks to @rohantalkad747 PR #307

v1.20.5

25 Sep 15:30
bf212b8
Compare
Choose a tag to compare

v1.20.4

30 Aug 10:47
be298ce
Compare
Choose a tag to compare

v1.20.3

24 Aug 20:07
dc9ba09
Compare
Choose a tag to compare
  • fix docgen for default exports wrapped in React.memo or React.forwardRef - thanks to @hipstersmoothie PR #288
  • follow default props that are PropertyAccessExpressions - thanks to @hipstersmoothie PR #286