Skip to content

Releases: Andarist/react-textarea-autosize

v8.5.3

22 Aug 16:25
896596a
Compare
Choose a tag to compare

Patch Changes

  • #386 b3dc597 Thanks @Andarist! - Distribute completely separate files for the worker condition to avoid bundlers from aliasing files targeting node to the ones targeting browsers through the package.json#browser alias field.

v8.5.2

04 Jul 10:37
eb4e4f1
Compare
Choose a tag to compare

Patch Changes

v8.5.1

01 Jul 19:23
d1066f1
Compare
Choose a tag to compare

Patch Changes

  • #377 4087205 Thanks @Andarist! - The provided onChange will get forwarded again to the underlying <textarea/> on the server side.

v8.5.0

21 Jun 15:50
bafd5cc
Compare
Choose a tag to compare

Minor Changes

  • #373 05b014a Thanks @Andarist! - Compatibility with node's ESM has been improved. import TextareaAutosize from 'react-textarea-autosize'; was always meant to provide you the default export of this package (the exported component) and now node should load it this way.

  • #373 05b014a Thanks @Andarist! - SSR environments should now be able to pick smaller bundles through package.json#exports.

  • #373 05b014a Thanks @Andarist! - This package no longer depends on process.env.NODE_ENV. To get dev-only warnings you have to configure your bundler/runtime to use the development condition.

Patch Changes

v8.4.1

21 Mar 23:11
Compare
Choose a tag to compare

Patch Changes

v8.4.0

10 Nov 10:44
0d82f52
Compare
Choose a tag to compare

Minor Changes

  • #354 41d10b2 Thanks @Andarist! - exports field has been added to the package.json manifest.

    Thanks to this, the package now includes a worker condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers.

v8.3.4

17 May 11:03
cd87f81
Compare
Choose a tag to compare

Patch Changes

v8.3.3

02 Jun 10:02
daafd31
Compare
Choose a tag to compare

Patch Changes

v8.3.2

02 Mar 21:47
58c9807
Compare
Choose a tag to compare

Patch Changes

  • 3c71884 #311 Thanks @Andarist! - Changed TextareaAutosizeProps to a TS interface which fixes the problem of "resolved" being type alias being inlined in the emitted types declaration which could cause incompatibilities with some versions of @types/react.

v8.3.1

10 Feb 06:42
90196ef
Compare
Choose a tag to compare

Patch Changes

  • 49d7d04 #305 Thanks @mxschmitt! - Moved internal 'resize' listener to the layout effect since React 17 calls cleanups of regular effects asynchronously. This ensures that we don't ever try to access the already unmounted ref in our listener.