# 1.7.0 (November 27, 2018)

- improved type of `setState` handler injected by `withState` - it now accepts
  thunk as a parameter and supports callbacks on successful render (thanks
  [@leshakoss](https://github.com/leshakoss))

# 1.6.0 (October 8, 2018)

- typings fixed for Typescript 3.1 (it introduced `typeof x === 'function'`
  breaking change)

# 1.5.0 (September 26, 2018)

- `withState` now accepts optional 4th parameter to specify
  `getDerivedStateFromProps` (thanks [@belaczek](https://github.com/belaczek))

# 1.4.0 (July 11, 2018)

- Added support for React 16.3 context
- `withPropFromContext` now correctly applies mapper function

## Internal changes

- Added runtime tests using karma.
- Switched from `typings-checker` to `dtslint` as the project does not seem to
  be maintained anymore.
- Project restructuralization

# 1.3.0 (June 18, 2018)

- Fixed exported type to work properly in JSX with new React typings

# 1.2.1 (June 8, 2018)

- Fixed `onlyUpdateForProps` binding

# 1.2.0 (June 7, 2018)

- Simplified typings for ComponentDecorator (now inherits from
  AbstractComponentDecorator and GenericComponentDecorator). This should help in
  TS to infer generics in some edge cases.
- `withDecorator`: Fixed for generics in resulting props (see
  `tests/withDecoratorResultGenerics`)
- Added `withStatic`

# 1.1.0 (May 6, 2018)

- Added CHANGELOG :)
- Added `withDisplayName()`
- Added `componentDidCatch` support for `withLifecycle()`

# 1.0.4, 1.0.5 (May 6, 2018)

- Internal builds covering packaging issues (`.npmignore`)

# 1.0.3 (May 6, 2018)

- Improved typing of `withDecorator` so that it takes into account prop types in
  passed parameters.

# 1.0.2 (April 18, 2018)

- Fixed issue with `withDecorator` typings when explicit typing of decorator to
  `any` could break typings on whole chain.

# 1.0.1 (April 18, 2018)

- Switched build to ES5 target for legacy project support.

# 1.0.0 (April 11, 2018)

- Initial release
