Skip to content

Latest commit

 

History

History
202 lines (113 loc) · 4.24 KB

CHANGELOG.md

File metadata and controls

202 lines (113 loc) · 4.24 KB

ChangeLog

v4.2.1

13-10-2020

Bug fixes:

  • Fixed support for optional chaining #92

v4.2.0

24-09-2020

New Features:

  • Allow more configuration of react-docgen #88

Dependencies:

  • Bump acorn from 5.7.3 to 5.7.4 #89
  • Bump yargs-parser from 13.1.1 to 13.1.2 #87
  • Bump lodash from 4.17.15 to 4.17.19 #86

v4.1.0

14-01-2020

New Features:

  • Pass filename to React Docgen for better babel transpilation #81

v4.0.0

03-01-2020

Breaking changes:

Maintenance:

  • Overhaul tests to use jest instead of mocha

v3.1.0

16-04-2019

New Features:

  • Add support for custom React Docgen handlers #64, #65

v3.0.0

27-03-2019

Breaking changes:

Bug fixes:

  • Fixes #67 where forwardRef wrapped components are not detected
  • Upgrade to [email protected] to fix security vulnerability

v2.0.2

29-01-2019

  • Fixes #62 where recast is not in the right dependency tree

v2.0.1

29-01-2019

  • Updated to use release version of react-docgen@^3.0.0

v2.0.0

Breaking changes:

  • Use findAllExportedComponentDefinitions by default to generate info for named exports
  • Default to not remove method info and changed .babelrc key to removeMethods

Bug fixes:

  • Fix for named export using incorrect local name in export default ComponentName PR38
  • Relies on react-docgen for more React component detection functionalities PR54
  • Fix crash on name PR58
  • Upgraded to Babel 7 and react-docgen 3.0-rc.1 PR59

v1.9.0

04-April-2018

  • Use react-docgen 3.0-beta for enhanced Flow support

v1.8.3

28-February-2018

  • Add support for module.exports = className declaration PR47

v1.8.2

14-January-2018

  • Add support for stateless functional components declared as function(){ } PR41

v1.8.1

24-September-2017

  • Suppress errors caught during babel traversal PR37

v1.8.0

24-September-2017

  • Add support for custom resolvers
  • Add option to keep method info from docgen PR35

v1.7.0

11-August-2017

  • Add support for Higher Order Components with arbitrary depth PR32

v1.6.0

26-July-2017

  • Add support for React.createElement PR31

v1.5.0

06-June-2017

  • Uses docgen 2.15.0 and babel-types 6.24.1
  • Add support for components created with React.createClass or createReactClass PR27

v1.4.2

03-January-2017

Add support for hypen propTypes.

v1.4.1

03-November-2016

Fixes #19

v1.4.0

01-November-2016

Handle multiple components in the same file by checking with exported classes. PR17

v1.3.1

23-October-2016

  • Restrict JSX lookup only for direct JSX returns. PR15

v1.3.1

21-October-2016

Update the react-docgen NPM module to the latest as they fixed the bug related to default values.

v1.3.0

20-October-2016

  • Use docgen version 2.11.0. PR11
  • Rename DOC_GEN_GLOBAL to DOC_GEN_COLLECTION_NAME. PR12
  • Update the README. PR13

v1.1.0

20-October-2016

Initial public release.

v1.2.0

20-October-2016

  • Stateless component support
  • Global object with all the component docs
  • __docgenInfo is now an actual object instead of a JSON string