All Versions
23
Latest Version
Avg Release Cycle
56 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v8.0.0 Changes
May 23, 2020Major Changes
- ๐ฆ The package has been rewritten in TypeScript so type definitions are now included in the package itself. There is no need to install separate types from the DefinitelyTyped.
- ๐ฆ At the same time the package internals have been rewritten to use React's hooks API. This means that the peer dependency requirement for React version had to be changed to
^16.8.0
. - ๐ You can now use
ref
prop to get access to the underlayingtextarea
element asReact.forwardRef
is being used now. The support forinnerRef
has been completely removed. useCacheForDOMMeasurements
prop has been renamed tocacheMeasurements
.onHeightChange
callback no longer receives the second argument. It was the component's instance (itsthis
), but as the component is now implemented using hooks there no longer is any instance that could be given to a consumer like that.- โ Removed handling
props.style.maxHeight
andprops.style.minHeight
values. If you need to control those boundaries you should usemaxRows
andminRows
props respectively.
Minor Changes
- โก๏ธ The height is being set now directly on the underlaying
textarea
element and not caused by updating internal state and this triggering React's rerender. This shouldn't make for any observable difference for consumers of this package.
-
v7.1.2
October 30, 2019 -
v7.1.1
October 29, 2019 -
v7.1.0 Changes
December 03, 20182018-11-30
-
v7.1.0-2
November 30, 2018 -
v7.1.0-1
October 26, 2018 -
v7.1.0-0
September 20, 2018 -
v7.0.4
July 19, 2018 -
v7.0.3
July 11, 2018 -
v7.0.2
July 10, 2018