Skip to content

Releases: reactjs/react-docgen

v2.16.0

14 Jun 23:01
Compare
Choose a tag to compare

New

  • -e, --exclude now accepts a regular expression to filter out files by name: -e /.*-test\.js/ The argument will only be treated as a regular expression if the parameter is only passed once ( #164).

Thank you @wallaroo for your contribution!

v3.0.0-beta4

03 May 15:22
Compare
Choose a tag to compare
v3.0.0-beta4 Pre-release
Pre-release

New

  • @wcjordan added support for the create-react-class module! ( #179 ) (cherry picked) from v2.15.0

You can install this version via npm install react-docgen@next.

v2.15.0

03 May 15:21
Compare
Choose a tag to compare

New

  • @wcjordan added support for the create-react-class module! ( #179 )

v2.14.1

18 Apr 23:40
Compare
Choose a tag to compare

Fixed

v3.0.0-beta3

13 Apr 03:54
Compare
Choose a tag to compare
v3.0.0-beta3 Pre-release
Pre-release
  • Upgraded to babylon v7.0.0-beta.8
  • Cherry-picked some changes released with v2.14.0

You can install this version via npm install react-docgen@next.

v2.14.0

13 Apr 03:48
Compare
Choose a tag to compare

New

Improvement

  • Ignore coverage/ folder when publishing to npm, reducing package size by more than 50%! ( #166, @fabiosantoscode )

v3.0.0-beta2

17 Mar 17:36
Compare
Choose a tag to compare
v3.0.0-beta2 Pre-release
Pre-release

Upgrade babylon to v7.0-beta.4 ( #165 )


You can install this release via

npm install react-docgen@next
# or
yarn add react-docgen@next

v3.0.0-beta1

17 Mar 17:29
Compare
Choose a tag to compare
v3.0.0-beta1 Pre-release
Pre-release

While this a new major version, there shouldn't be any breaking changes. We switched to babylon v7(beta) ( #158 ) internally, which supports most flow type annotations. It is published as a prerelease so you can test it on your codebase first.

Other changes:

  • The proptypes package is recognized as proptypes definition provider ( #163 ).

You can install this release via

npm install react-docgen@next
# or
yarn add react-docgen@next

v2.13.0

22 Dec 00:50
Compare
Choose a tag to compare

New / changed

  • Ignore __mocks__ directories by default (#135) (@aitherios)
  • Recognized functions that call React.cloneElement as stateless components (#138) (@khankuan)

Fixes

  • Infinite loop issue with MemberExpressions inside stateless components ( #136, #139, #143 ) (@tchon, @danez)
  • Crash when a SpreadProperty is used in shape propTypes (#145) (@Arktes)

Internal changes

v2.12.1

21 Oct 20:39
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where props without default value would be reported as having computed default values. This only affected stateless components. Reported by @arunoda in #131 and fixed by @CompuIves in #132.