Skip to content

Commit

Permalink
update changelog for 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Noviny committed Dec 10, 2018
1 parent 5f5930c commit bfb2ff5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
__fixtures__/**
__/snapshots/**
flow-typed/**
.flowconfig
.prettierrc
.travis.yml
test.js
yarn.lock
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# extract-react-types

## 0.15.0

- **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:
- instead of an array of classes, `Program` now has a single `component` property.
- Because of this, anything that relied on the `classes` attribute is invalid.
- **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).
- 🎉 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.

## 0.14.7

- add support for non-imported TS index access
Expand Down

0 comments on commit bfb2ff5

Please sign in to comment.