|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [6.0.0-alpha.4](https://github.com/reactjs/react-docgen/compare/v6.0.0-alpha.3...v6.0.0-alpha.4) (2022-08-12) |
| 4 | + |
| 5 | + |
| 6 | +### ⚠ BREAKING CHANGES |
| 7 | + |
| 8 | +* The main API changed and now includes only 2 arguments. Read MIGRATE.md for more info. |
| 9 | +* The return values of `resolveObjectValuesToArray` are now in the order they are defined in the source code. |
| 10 | +* Internally react-docgen now uses babel only. There are tons of breaking changes in this new version. Read the MIGRATE.md |
| 11 | + |
| 12 | +### Features |
| 13 | + |
| 14 | +* Add support for resolving destructuring in resolveToValue ([227f8ea](https://github.com/reactjs/react-docgen/commit/227f8ea2a35e122b40fb6ac7a72979792f97291f)) |
| 15 | +* Improve performance by creating all visitors only once ([17c0ea4](https://github.com/reactjs/react-docgen/commit/17c0ea4b988f916ec370dbdc374cdf8fe9374a56)) |
| 16 | +* Improve performance drastically by changing traversing ([136ccba](https://github.com/reactjs/react-docgen/commit/136ccbafa62f421f22df920619a31eb43c33d465)) |
| 17 | +* Migrate to babel toolchain ([d3f8145](https://github.com/reactjs/react-docgen/commit/d3f814542211652160cde02aeaefdbd994f2f6f5)) |
| 18 | +* New main API ([209d856](https://github.com/reactjs/react-docgen/commit/209d85671f9acd6a5f67a3d1e0c35e7eff38fe52)) |
| 19 | +* rename flowTypeHandler to codeTypeHandler ([9fe1930](https://github.com/reactjs/react-docgen/commit/9fe1930e8dc6f4e157f549c0a2647d8258bba8e4)) |
| 20 | + |
| 21 | + |
| 22 | +### Bug Fixes |
| 23 | + |
| 24 | +* Add `.cts` and `.mts` support for typescript ([1f8716a](https://github.com/reactjs/react-docgen/commit/1f8716a0e2c3f3c159464005ccd3044402653510)) |
| 25 | +* Add support for TSAsExpressions when trying to stringify expressions ([#634](https://github.com/reactjs/react-docgen/issues/634)) ([51e56b6](https://github.com/reactjs/react-docgen/commit/51e56b6e5e7b366af836b950ef8fc843c6ba920b)) |
| 26 | +* Filter out estree plugin ([28d8c62](https://github.com/reactjs/react-docgen/commit/28d8c62f3d900117c0789295dd547c2cec2facda)) |
| 27 | +* Handle some edge cases in resolveToValue ([daf49bb](https://github.com/reactjs/react-docgen/commit/daf49bb4077cdcc1fa84fad3e712499ab6a57858)) |
| 28 | +* remove trailing comma and semi from raw value ([28db0f4](https://github.com/reactjs/react-docgen/commit/28db0f47dc22acc9e81c4dbe98b8fb141b61bcdd)) |
| 29 | +* Simplify resolveObjectValuesToArray and remove type handling ([4e2318e](https://github.com/reactjs/react-docgen/commit/4e2318e092f03361e5144b13833f4069357376a7)) |
| 30 | +* Support all literal types in typescript ([d98021f](https://github.com/reactjs/react-docgen/commit/d98021f88887a1472e88a86aa3bb14c32bba7508)) |
| 31 | +* Support all possible kinds of functions in the `displayNameHandler` ([9a22e98](https://github.com/reactjs/react-docgen/commit/9a22e98c283a22a639bb9e6f8758b3809421832d)) |
| 32 | +* Support class and function declarations without identifier ([0d76915](https://github.com/reactjs/react-docgen/commit/0d769156d8b8019856d221166bb33096f068d6d7)) |
| 33 | +* support qualified type names ([a90e7ae](https://github.com/reactjs/react-docgen/commit/a90e7ae563744c2fd4435e84e915b77885985a10)) |
| 34 | +* Update default babel options ([2b5caf3](https://github.com/reactjs/react-docgen/commit/2b5caf350015c35551c7e0f09d3e64bbbe6c0c0d)) |
| 35 | + |
3 | 36 | ## [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 | 37 |
|
5 | 38 |
|
|
0 commit comments