Skip to content

Commit bfb2ff5

Browse files
committed
update changelog for 0.15.0
1 parent 5f5930c commit bfb2ff5

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
__fixtures__/**
2+
__/snapshots/**
3+
flow-typed/**
4+
.flowconfig
5+
.prettierrc
6+
.travis.yml
7+
test.js
8+
yarn.lock

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# extract-react-types
22

3+
## 0.15.0
4+
5+
- **breaking:** We have changed how we approach types in a file. We try and resolve default exports, rather than resolving all react class componets in the file. This causes two breaking changes:
6+
- instead of an array of classes, `Program` now has a single `component` property.
7+
- Because of this, anything that relied on the `classes` attribute is invalid.
8+
- **breaking** We now will attempt to resolve the default export before falling back its previous method of analyzing props (using the first component class in a file).
9+
- 🎉 FEATURE 🎉: `extract-react-types` now supports functional components as default exports. We will resolve both the props and the default props as a best effort. Huge thanks to [Peter Gleeson](https://github.com/petegleeson) for working on this.
10+
311
## 0.14.7
412

513
- add support for non-imported TS index access

0 commit comments

Comments
 (0)