-
-
Notifications
You must be signed in to change notification settings - Fork 82
Update dependency react-textarea-autosize to v8 #840
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
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/react-textarea-autosize-8.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ed10db7 to
87e927e
Compare
f34138c to
c67dd4a
Compare
c071239 to
6fdb190
Compare
082cd27 to
7684d20
Compare
7684d20 to
982205c
Compare
982205c to
46d0465
Compare
126f989 to
9595044
Compare
1d948c9 to
d0fe656
Compare
d0fe656 to
c43a2e2
Compare
5e93b67 to
2ad2494
Compare
2ad2494 to
cf6e545
Compare
cf6e545 to
69004fa
Compare
9c26c1f to
0205ed3
Compare
4012928 to
9108b39
Compare
9108b39 to
3600982
Compare
631de20 to
8552e1d
Compare
8552e1d to
51ef560
Compare
51ef560 to
7c57788
Compare
7c57788 to
d70201d
Compare
d70201d to
8f10915
Compare
8f10915 to
0316e21
Compare
0316e21 to
2eb2cd0
Compare
94b3fcc to
c63590d
Compare
c63590d to
9e849dd
Compare
11776e0 to
1df1739
Compare
1df1739 to
4293fea
Compare
4293fea to
5bf4262
Compare
5bf4262 to
df4e3c6
Compare
df4e3c6 to
8ab459d
Compare
8ab459d to
2df0eec
Compare
2df0eec to
426ba5f
Compare
426ba5f to
23d15ad
Compare
23d15ad to
2cc7e89
Compare
2cc7e89 to
4e82d84
Compare
4e82d84 to
3aac43e
Compare
1c3537c to
d640873
Compare
d640873 to
e4356fb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.1.2->8.5.9Release Notes
Andarist/react-textarea-autosize (react-textarea-autosize)
v8.5.9Compare Source
Patch Changes
#417
cbced4fThanks @threepointone! - Addededge-lightandworkerdconditions topackage.jsonmanifest to better serve users using Vercel Edge and Cloudflare Workers.This lets tools like Wrangler and the Cloudflare Vite Plugin pick up the right version of the built module, preventing issues like cloudflare/workers-sdk#8723.
v8.5.8Compare Source
Patch Changes
d12e6a5Thanks @benjaminwaterlot! - Fixed a race condition leading to an error caused by textarea being unmounted before internalrequestAnimationFrame's callback being firedv8.5.7Compare Source
Patch Changes
8c47e31Thanks @Andarist! - Fixed an issue with resize not happening after the containing form being resetv8.5.6Compare Source
Patch Changes
7d48e9eThanks @Yonom! - Add React 19 to the allowed peer dependency range.v8.5.5Compare Source
Patch Changes
4a34e1bThanks @olee! - Add missingwordSpacingandscrollbarGutteras properties that can impact sizingv8.5.4Compare Source
Patch Changes
bf3cad8Thanks @Oyveloper! - Forcedisplay: blockfor the hidden textarea to prevent other styles from overriding it and thus breaking the resizing functionalityv8.5.3Compare Source
Patch Changes
b3dc597Thanks @Andarist! - Distribute completely separate files for theworkercondition to avoid bundlers from aliasing files targeting node to the ones targeting browsers through thepackage.json#browseralias field.v8.5.2Compare Source
Patch Changes
e16c24aThanks @Andarist! - Publish files that were previously missing for some conditions.v8.5.1Compare Source
Patch Changes
4087205Thanks @Andarist! - The providedonChangewill get forwarded again to the underlying<textarea/>on the server side.v8.5.0Compare Source
Minor Changes
05b014aThanks @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.05b014aThanks @Andarist! - SSR environments should now be able to pick smaller bundles throughpackage.json#exports.05b014aThanks @Andarist! - This package no longer depends onprocess.env.NODE_ENV. To get dev-only warnings you have to configure your bundler/runtime to use thedevelopmentcondition.Patch Changes
d33b120Thanks @ArnaudRinquin! - Add a guard against potentially missingdocuments.fontsv8.4.1Compare Source
Patch Changes
19aead9Thanks @knownasilya! - Workaround for FirefoxscrollHeightbug affecting textarea's height on a dynamic toggle2301195Thanks @ArnaudRinquin! - Support automatic resizing when a custom fonts ends up loadingv8.4.0Compare Source
Minor Changes
#354
41d10b2Thanks @Andarist! -exportsfield has been added to thepackage.jsonmanifest.Thanks to this, the package now includes a
workercondition 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.4Compare Source
Patch Changes
9124bbfThanks @rebelliard! - Add React 18 to the allowed peer dependency range.v8.3.3Compare Source
Patch Changes
0d7ac21#326 Thanks @karlingen! - Account forword-breakproperty when calculating the height.6336448#327 Thanks @circlingthesun! - Fixed thetabindexattribute name that is set on the hidden textarea used for height calculations.v8.3.2Compare Source
Patch Changes
3c71884#311 Thanks @Andarist! - ChangedTextareaAutosizePropsto 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.1Compare 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.0Compare Source
Minor Changes
a16a46d#296 Thanks @RDIL! - Allow React 17 in the specified peer dependency range.v8.2.0Compare Source
Minor Changes
a1fc99f#284 Thanks @emmenko! - Added{ rowHeight: number }as a second parameter to theonHeightChangecallback. This is useful to construct custom behaviors according to the height values.v8.1.1Compare Source
Patch Changes
b7c227a#280 Thanks @emdotem! - Fixed a broken call tosetPropertythat has prevented the library to work correctly.v8.1.0Compare Source
Minor Changes
722e10a#278 Thanks @emdotem! - Set inline style'sheightproperty with the"important"priority.Patch Changes
db872f0Thanks @Andarist! -TextareaAutosizePropsare now based onReact.TextareaHTMLAttributes<HTMLTextAreaElement>instead ofJSX.IntrinsicElements['textarea']. The latter one includes a type forrefattribute and it being included as part ofTextareaAutosizePropshas caused problems when usingTextareaAutosizePropsto declare wrapper components. This is also more semantically correct asrefshouldn't be a part ofprops. It's rather accepted by a particular JSX element and in case of thereact-textarea-autosizethis is the type of the exported component which isReact.ForwardRefExoticComponent<TextareaAutosizeProps>(a result ofReact.forwardRefcall).61ca826Thanks @Andarist! -maxHeightandminHeighthas been disallowed as part ofTextareaAutosizeProps['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.1Compare Source
Patch Changes
2307033#266 Thanks @vlazh! - Fixed a regression with calculating too high height for textareas withbox-sizing: border-box;.1d1bba2#265 Thanks @SimenB! - ExportedTextareaAutosizePropstype for convenience.da960f4Thanks @Andarist! - Fixed an issue with internal cache not being populated correctly when usingcacheMeasurementsprop.v8.0.0Compare Source
Major Changes
^16.8.0.refprop to get access to the underlayingtextareaelement asReact.forwardRefis being used now. The support forinnerRefhas been completely removed.useCacheForDOMMeasurementsprop has been renamed tocacheMeasurements.onHeightChangecallback 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.props.style.maxHeightandprops.style.minHeightvalues. If you need to control those boundaries you should usemaxRowsandminRowsprops respectively.Minor Changes
textareaelement 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.
This PR was generated by Mend Renovate. View the repository job log.