# Change Log ## [Unreleased](https://github.com/buildo/react-autosize-textarea/tree/HEAD) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v7.0.0...HEAD) #### New features: - Failed prop type: Invalid prop `innerRef` of type `function` supplied to `TextareaAutosizeClass`, expected `object` [#141](https://github.com/buildo/react-autosize-textarea/issues/141) - onChange typescript definition problem [#137](https://github.com/buildo/react-autosize-textarea/issues/137) - Function passed to innerRef is never called [#135](https://github.com/buildo/react-autosize-textarea/issues/135) - Switch to forwardRef instead of callback style ref [#134](https://github.com/buildo/react-autosize-textarea/issues/134) - lose ref value after rerendering page [#133](https://github.com/buildo/react-autosize-textarea/issues/133) - THANK YOU! [#132](https://github.com/buildo/react-autosize-textarea/issues/132) - Passing a function to ref fails prop type validation [#130](https://github.com/buildo/react-autosize-textarea/issues/130) - Resizing text area horizontally, not vertical, is it possible ? [#126](https://github.com/buildo/react-autosize-textarea/issues/126) - `innerRef` shortcomings [#123](https://github.com/buildo/react-autosize-textarea/issues/123) ## [v7.0.0](https://github.com/buildo/react-autosize-textarea/tree/v7.0.0) (2019-03-26) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v6.0.0...v7.0.0) #### Fixes (bugs & defects): - onResize types are wrong [#119](https://github.com/buildo/react-autosize-textarea/issues/119) - onResize not called if passed when component already mounted [#118](https://github.com/buildo/react-autosize-textarea/issues/118) #### Breaking: - Support for React.createRef() refs passed to innerRef [#102](https://github.com/buildo/react-autosize-textarea/issues/102) ## [v6.0.0](https://github.com/buildo/react-autosize-textarea/tree/v6.0.0) (2018-12-06) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v5.0.1...v6.0.0) #### Breaking: - Provide an instance method to update size [#114](https://github.com/buildo/react-autosize-textarea/issues/114) ## [v5.0.1](https://github.com/buildo/react-autosize-textarea/tree/v5.0.1) (2018-12-03) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v5.0.0...v5.0.1) #### Fixes (bugs & defects): - Disabled textareas don't get resized (FF + IE) [#17](https://github.com/buildo/react-autosize-textarea/issues/17) ## [v5.0.0](https://github.com/buildo/react-autosize-textarea/tree/v5.0.0) (2018-09-28) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v4.0.0...v5.0.0) #### New features: - Fix namespace export [#107](https://github.com/buildo/react-autosize-textarea/issues/107) #### Breaking: - Component `Props` type incorrectly includes `ref` [#104](https://github.com/buildo/react-autosize-textarea/issues/104) ## [v4.0.0](https://github.com/buildo/react-autosize-textarea/tree/v4.0.0) (2018-06-18) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v3.0.3...v4.0.0) #### Breaking: - Regression: textarea ‘jumps’ after initial load [#95](https://github.com/buildo/react-autosize-textarea/issues/95) ## [v3.0.3](https://github.com/buildo/react-autosize-textarea/tree/v3.0.3) (2018-04-11) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v3.0.2...v3.0.3) #### Fixes (bugs & defects): - Changing number of rows doesn't update styles [#100](https://github.com/buildo/react-autosize-textarea/issues/100) ## [v3.0.2](https://github.com/buildo/react-autosize-textarea/tree/v3.0.2) (2018-01-22) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v3.0.1...v3.0.2) #### Fixes (bugs & defects): - Fixed @types/ dependencies cause duplication on install [#91](https://github.com/buildo/react-autosize-textarea/issues/91) ## [v3.0.1](https://github.com/buildo/react-autosize-textarea/tree/v3.0.1) (2017-12-29) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v3.0.0...v3.0.1) #### New features: - Update "@types/react" to v16.0.30 [#89](https://github.com/buildo/react-autosize-textarea/issues/89) ## [v3.0.0](https://github.com/buildo/react-autosize-textarea/tree/v3.0.0) (2017-12-12) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v2.0.0...v3.0.0) #### Breaking: - Wrong initial height when using StyledComponents [#71](https://github.com/buildo/react-autosize-textarea/issues/71) ## [v2.0.0](https://github.com/buildo/react-autosize-textarea/tree/v2.0.0) (2017-12-07) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v1.0.2...v2.0.0) #### Breaking: - upgrade autosize to v4 [#72](https://github.com/buildo/react-autosize-textarea/issues/72) ## [v1.0.2](https://github.com/buildo/react-autosize-textarea/tree/v1.0.2) (2017-12-07) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v1.0.1...v1.0.2) #### Fixes (bugs & defects): - TS Types can't be found by VSCode/tsc [#82](https://github.com/buildo/react-autosize-textarea/issues/82) - TextareaAutosize.Props type annotations are not working in VSCode [#80](https://github.com/buildo/react-autosize-textarea/issues/80) ## [v1.0.1](https://github.com/buildo/react-autosize-textarea/tree/v1.0.1) (2017-12-04) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v1.0.0...v1.0.1) #### Fixes (bugs & defects): - Version 1.0.0 not found? [#77](https://github.com/buildo/react-autosize-textarea/issues/77) ## [v1.0.0](https://github.com/buildo/react-autosize-textarea/tree/v1.0.0) (2017-12-03) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.9...v1.0.0) #### Breaking: - Refactor in TypeScript! [#75](https://github.com/buildo/react-autosize-textarea/issues/75) #### New features: - Error in React 16: innerRef passed to the DOM element. [#73](https://github.com/buildo/react-autosize-textarea/issues/73) ## [v0.4.9](https://github.com/buildo/react-autosize-textarea/tree/v0.4.9) (2017-09-27) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.8...v0.4.9) #### New features: - Upgrade peerDeps to react & react-dom 16 [#66](https://github.com/buildo/react-autosize-textarea/issues/66) ## [v0.4.8](https://github.com/buildo/react-autosize-textarea/tree/v0.4.8) (2017-07-18) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.7...v0.4.8) #### Fixes (bugs & defects): - Typescript: compile time error for native textarea attributes [#59](https://github.com/buildo/react-autosize-textarea/issues/59) ## [v0.4.7](https://github.com/buildo/react-autosize-textarea/tree/v0.4.7) (2017-07-03) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.6...v0.4.7) #### Fixes (bugs & defects): - JSX element type 'TextareaAutosize' is not a constructor function for JSX elements. [#56](https://github.com/buildo/react-autosize-textarea/issues/56) ## [v0.4.6](https://github.com/buildo/react-autosize-textarea/tree/v0.4.6) (2017-06-27) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.5...v0.4.6) #### Fixes (bugs & defects): - `this.dispatchEvent(UPDATE)` called too often [#54](https://github.com/buildo/react-autosize-textarea/issues/54) ## [v0.4.5](https://github.com/buildo/react-autosize-textarea/tree/v0.4.5) (2017-06-19) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.4...v0.4.5) #### Fixes (bugs & defects): - Max rows not working with text without breakline char [#50](https://github.com/buildo/react-autosize-textarea/issues/50) ## [v0.4.4](https://github.com/buildo/react-autosize-textarea/tree/v0.4.4) (2017-06-05) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.3...v0.4.4) #### Fixes (bugs & defects): - linked module fails to load in webpack [#48](https://github.com/buildo/react-autosize-textarea/issues/48) #### New features: - typescript support [#46](https://github.com/buildo/react-autosize-textarea/issues/46) ## [v0.4.3](https://github.com/buildo/react-autosize-textarea/tree/v0.4.3) (2017-04-21) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.2...v0.4.3) #### New features: - Add prop `innerRef` to access textarea DOM node [#40](https://github.com/buildo/react-autosize-textarea/issues/40) - Warning: This synthetic event is reused for performance reasons [#38](https://github.com/buildo/react-autosize-textarea/issues/38) ## [v0.4.2](https://github.com/buildo/react-autosize-textarea/tree/v0.4.2) (2017-04-10) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.1...v0.4.2) #### Fixes (bugs & defects): - Last release broke support for React < 15.5 [#36](https://github.com/buildo/react-autosize-textarea/issues/36) ## [v0.4.1](https://github.com/buildo/react-autosize-textarea/tree/v0.4.1) (2017-04-10) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.4.0...v0.4.1) #### Fixes (bugs & defects): - Address react 15.5 deprecations regarding PropTypes usage and test-utils [#35](https://github.com/buildo/react-autosize-textarea/issues/35) ## [v0.4.0](https://github.com/buildo/react-autosize-textarea/tree/v0.4.0) (2017-03-30) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.6...v0.4.0) #### Breaking: - Remove react-tcomb [#30](https://github.com/buildo/react-autosize-textarea/issues/30) ## [v0.3.6](https://github.com/buildo/react-autosize-textarea/tree/v0.3.6) (2017-01-22) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.5...v0.3.6) #### New features: - Max Rows [#25](https://github.com/buildo/react-autosize-textarea/issues/25) ## [v0.3.5](https://github.com/buildo/react-autosize-textarea/tree/v0.3.5) (2017-01-22) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.4...v0.3.5) #### Fixes (bugs & defects): - Getting a lot of Null is not an object in production [#27](https://github.com/buildo/react-autosize-textarea/issues/27) ## [v0.3.4](https://github.com/buildo/react-autosize-textarea/tree/v0.3.4) (2016-11-21) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.3...v0.3.4) #### Fixes (bugs & defects): - Ref issue & Compatibility with React 15.4.0 [#23](https://github.com/buildo/react-autosize-textarea/issues/23) ## [v0.3.3](https://github.com/buildo/react-autosize-textarea/tree/v0.3.3) (2016-09-14) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.2...v0.3.3) #### New features: - Warning by props [#19](https://github.com/buildo/react-autosize-textarea/issues/19) ## [v0.3.2](https://github.com/buildo/react-autosize-textarea/tree/v0.3.2) (2016-08-10) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.1...v0.3.2) #### New features: - Please publish version with react 15 compatibility on NPM [#18](https://github.com/buildo/react-autosize-textarea/issues/18) ## [v0.3.1](https://github.com/buildo/react-autosize-textarea/tree/v0.3.1) (2016-05-18) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.3.0...v0.3.1) #### New features: - Update peer dependencies [#15](https://github.com/buildo/react-autosize-textarea/issues/15) - remove react 0.14 warnings [#13](https://github.com/buildo/react-autosize-textarea/issues/13) ## [v0.3.0](https://github.com/buildo/react-autosize-textarea/tree/v0.3.0) (2016-04-21) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.2.6...v0.3.0) #### New features: - use ES6 class [#11](https://github.com/buildo/react-autosize-textarea/issues/11) ## [v0.2.6](https://github.com/buildo/react-autosize-textarea/tree/v0.2.6) (2015-12-23) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.2.5...v0.2.6) ## [v0.2.5](https://github.com/buildo/react-autosize-textarea/tree/v0.2.5) (2015-10-14) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.2.4...v0.2.5) ## [v0.2.4](https://github.com/buildo/react-autosize-textarea/tree/v0.2.4) (2015-06-25) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.2.3...v0.2.4) ## [v0.2.3](https://github.com/buildo/react-autosize-textarea/tree/v0.2.3) (2015-06-19) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.2.2...v0.2.3) #### New features: - Continuous integration is failing [#6](https://github.com/buildo/react-autosize-textarea/issues/6) ## [v0.2.2](https://github.com/buildo/react-autosize-textarea/tree/v0.2.2) (2015-06-11) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.2.0...v0.2.2) ## [v0.2.0](https://github.com/buildo/react-autosize-textarea/tree/v0.2.0) (2015-06-11) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.1.1...v0.2.0) #### New features: - Probable memory leak [#2](https://github.com/buildo/react-autosize-textarea/issues/2) - Rename lib to src? [#1](https://github.com/buildo/react-autosize-textarea/issues/1) ## [v0.1.1](https://github.com/buildo/react-autosize-textarea/tree/v0.1.1) (2015-06-10) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/v0.1.0...v0.1.1) ## [v0.1.0](https://github.com/buildo/react-autosize-textarea/tree/v0.1.0) (2015-06-09) [Full Changelog](https://github.com/buildo/react-autosize-textarea/compare/react-0.13...v0.1.0) ## [react-0.13](https://github.com/buildo/react-autosize-textarea/tree/react-0.13) (2016-02-11)