|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [6.0.0-alpha.4](https://github.com/reactjs/react-docgen/compare/react-docgen-v6.0.0-alpha.3...react-docgen-v6.0.0-alpha.4) (2022-11-28) |
| 4 | + |
| 5 | + |
| 6 | +### ⚠ BREAKING CHANGES |
| 7 | + |
| 8 | +* The lowest supported version of Node.js is now 14.17.0 |
| 9 | +* The main API changed and now includes only 2 arguments. Read MIGRATE.md for more info. |
| 10 | + |
| 11 | +### Features |
| 12 | + |
| 13 | +* Add support for resolving destructuring in resolveToValue ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 14 | +* Add support for useImperativeHandle ([8521445](https://github.com/reactjs/react-docgen/commit/852144505c48bb9645ff05c1792c13de2b27c74c)) |
| 15 | +* Improve performance by creating all visitors only once ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 16 | +* migrate react-docgen to ESM and vitest ([#688](https://github.com/reactjs/react-docgen/issues/688)) ([2c8cdb6](https://github.com/reactjs/react-docgen/commit/2c8cdb6ca51c83807d3cfa496c94d2f0b65c07ae)) |
| 17 | +* Migrate to babel toolchain ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 18 | +* New main API ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 19 | +* Provide a default importer in parallel to the factory ([5bdc615](https://github.com/reactjs/react-docgen/commit/5bdc61594011df068bebb57614636353ebc91d3b)) |
| 20 | +* rename flowTypeHandler to codeTypeHandler ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 21 | +* Treat functions returning React.Children.map as Components ([c2e0679](https://github.com/reactjs/react-docgen/commit/c2e06796021df5d8f6e1bc7bc92a20e4e00ab02b)) |
| 22 | + |
| 23 | + |
| 24 | +### Bug Fixes |
| 25 | + |
| 26 | +* Add `.cts` and `.mts` support for typescript ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 27 | +* Add support for TSAsExpressions when trying to stringify expressions ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 28 | +* Filter out estree plugin ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 29 | +* Handle React.forwardRef calls without a function ([f2d9ac0](https://github.com/reactjs/react-docgen/commit/f2d9ac0e6d5a96b7730dd41a94c627913d801488)) |
| 30 | +* Handle some edge cases in resolveToValue ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 31 | +* Relax Node.js requirement to 14.15.0 as minimum ([28323a7](https://github.com/reactjs/react-docgen/commit/28323a764c9f001f3e785cd41119e31a345aa98e)) |
| 32 | +* remove trailing comma and semi from raw value ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 33 | +* require node 14.18 or later ([#664](https://github.com/reactjs/react-docgen/issues/664)) ([f41b034](https://github.com/reactjs/react-docgen/commit/f41b0349c33314a516566914de68a871ceb42240)) |
| 34 | +* Simplify resolveObjectValuesToArray and remove type handling ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 35 | +* Support all literal types in typescript ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 36 | +* Support all possible kinds of functions in the `displayNameHandler` ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 37 | +* Support class and function declarations without identifier ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 38 | +* support qualified type names ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 39 | +* **ts:** parse jsdoc comment for ts structs ([#663](https://github.com/reactjs/react-docgen/issues/663)) ([8cc081e](https://github.com/reactjs/react-docgen/commit/8cc081e71b8c740105fd95f673c68abedc4fbd63)) |
| 40 | +* Update default babel options ([4e9e437](https://github.com/reactjs/react-docgen/commit/4e9e4370ab1fe3775c0ebbfe57bedb03669868bf)) |
| 41 | + |
| 42 | + |
| 43 | +### Miscellaneous Chores |
| 44 | + |
| 45 | +* Link versions for both packages ([fc81d1d](https://github.com/reactjs/react-docgen/commit/fc81d1de8188c440baa2c0ea5a630386b1a94cbc)) |
| 46 | + |
3 | 47 | ## [6.0.0-alpha.3](https://github.com/reactjs/react-docgen/compare/v6.0.0-alpha.2...v6.0.0-alpha.3) (2022-06-13) |
4 | 48 |
|
5 | 49 | ### Bug Fixes |
|
0 commit comments