Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency react-textarea-autosize to v8 #840

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-textarea-autosize 7.1.2 -> 8.5.3 age adoption passing confidence

Release Notes

Andarist/react-textarea-autosize (react-textarea-autosize)

v8.5.3

Compare Source

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

Compare Source

Patch Changes

v8.5.1

Compare Source

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

v8.5.0

Compare Source

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

Compare Source

Patch Changes

v8.4.0

Compare Source

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

Compare Source

Patch Changes

v8.3.3

Compare Source

Patch Changes

v8.3.2

Compare Source

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

Compare Source

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.

v8.3.0

Compare Source

Minor Changes

v8.2.0

Compare Source

Minor Changes
  • a1fc99f #​284 Thanks @​emmenko! - Added { rowHeight: number } as a second parameter to the onHeightChange callback. This is useful to construct custom behaviors according to the height values.

v8.1.1

Compare Source

Patch Changes

v8.1.0

Compare Source

Minor Changes
Patch Changes
  • db872f0 Thanks @​Andarist! - TextareaAutosizeProps are now based on React.TextareaHTMLAttributes<HTMLTextAreaElement> instead of JSX.IntrinsicElements['textarea']. The latter one includes a type for ref attribute and it being included as part of TextareaAutosizeProps has caused problems when using TextareaAutosizeProps to declare wrapper components. This is also more semantically correct as ref shouldn't be a part of props. It's rather accepted by a particular JSX element and in case of the react-textarea-autosize this is the type of the exported component which is React.ForwardRefExoticComponent<TextareaAutosizeProps> (a result of React.forwardRef call).
  • 61ca826 Thanks @​Andarist! - maxHeight and minHeight has been disallowed as part of TextareaAutosizeProps['style']. The intention to do that was there since the v8 release but it was not implemented correctly and allowed those to slip into the mentioned type.

v8.0.1

Compare Source

Patch Changes
  • 2307033 #​266 Thanks @​vlazh! - Fixed a regression with calculating too high height for textareas with box-sizing: border-box;.
  • da960f4 Thanks @​Andarist! - Fixed an issue with internal cache not being populated correctly when using cacheMeasurements prop.

v8.0.0

Compare Source

Major 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 underlaying textarea element as React.forwardRef is being used now. The support for innerRef has been completely removed.
  • useCacheForDOMMeasurements prop has been renamed to cacheMeasurements.
  • onHeightChange callback no longer receives the second argument. It was the component's instance (its this), 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 and props.style.minHeight values. If you need to control those boundaries you should use maxRows and minRows 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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 2 times, most recently from ed10db7 to 87e927e Compare January 23, 2021 07:47
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 3 times, most recently from f34138c to c67dd4a Compare February 16, 2021 16:19
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 3 times, most recently from c071239 to 6fdb190 Compare March 4, 2021 08:18
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 3 times, most recently from 082cd27 to 7684d20 Compare April 4, 2021 21:26
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 7684d20 to 982205c Compare April 29, 2021 05:25
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 982205c to 46d0465 Compare May 11, 2021 17:37
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 3 times, most recently from 126f989 to 9595044 Compare May 25, 2021 17:04
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 3 times, most recently from 1d948c9 to d0fe656 Compare June 3, 2021 21:02
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from d0fe656 to c43a2e2 Compare June 11, 2021 21:45
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 2 times, most recently from 5e93b67 to 2ad2494 Compare July 1, 2021 21:51
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 2ad2494 to cf6e545 Compare August 4, 2021 22:45
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from cf6e545 to 69004fa Compare August 13, 2021 22:10
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 2 times, most recently from 9c26c1f to 0205ed3 Compare August 19, 2021 21:58
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 2 times, most recently from 4012928 to 9108b39 Compare September 20, 2021 19:30
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 9108b39 to 3600982 Compare September 22, 2021 20:36
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 7879091 to 6517782 Compare January 2, 2022 19:41
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 6517782 to 63e8153 Compare March 7, 2022 15:06
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 63e8153 to 7d1c2f8 Compare March 14, 2022 19:44
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 3 times, most recently from e3c5bf0 to c2c2870 Compare April 8, 2022 18:13
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from c2c2870 to f9c4cef Compare May 6, 2022 23:40
@CLAassistant
Copy link

CLAassistant commented May 11, 2022

CLA assistant check
All committers have signed the CLA.

@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 2 times, most recently from a2162ad to a58759b Compare May 17, 2022 13:04
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from a58759b to d0beaf1 Compare September 25, 2022 18:32
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 4 times, most recently from 631de20 to 8552e1d Compare October 10, 2022 21:02
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 8552e1d to 51ef560 Compare October 13, 2022 19:48
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 51ef560 to 7c57788 Compare October 21, 2022 16:00
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 7c57788 to d70201d Compare November 10, 2022 11:48
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from d70201d to 8f10915 Compare November 28, 2022 21:54
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 8f10915 to 0316e21 Compare March 24, 2023 23:32
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 0316e21 to 2eb2cd0 Compare June 21, 2023 16:23
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 2 times, most recently from 94b3fcc to c63590d Compare July 4, 2023 14:12
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from c63590d to 9e849dd Compare August 22, 2023 17:31
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch 3 times, most recently from 11776e0 to 1df1739 Compare October 22, 2023 21:12
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 1df1739 to 4293fea Compare October 30, 2023 15:01
@renovate renovate bot force-pushed the renovate/react-textarea-autosize-8.x branch from 4293fea to 5bf4262 Compare November 23, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants