You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bug in legacy mode Suspense where effect clean-up functions are not fired. This only affects users who use Suspense for data fetching in legacy mode, which is not technically supported. (@acdlite in #18238)
Revert warning for cross-component updates that happen inside class render lifecycles (componentWillReceiveProps, shouldComponentUpdate, and so on). (@gaearon in #18330)
Fix mouseenter handlers from firing twice inside nested React containers. @yuanoook in #16928
Remove unstable_createRoot and unstable_createSyncRoot experimental APIs. (These are available in the Experimental channel as createRoot and createSyncRoot.) (@acdlite in #17088)
Fix a bug that caused inputs to behave incorrectly in UMD builds. (@gaearon in #14914)
Fix a bug that caused render phase updates to be discarded. (@gaearon in #14852)
React DOM Server
Unwind the context stack when a stream is destroyed without completing, to prevent incorrect values during a subsequent render. (@overlookmotel in #14706)
ESLint Plugin for React Hooks
Add a new recommended exhaustive-deps rule. (@gaearon in #14636)
New package for cooperatively scheduling work in a browser environment. It's used by React internally, but its public API is not finalized yet. (@flarnie in #12624)
Properly call getDerivedStateFromProps() regardless of the reason for re-rendering. (@acdlite in #12600 and #12802)
Fix a bug that prevented context propagation in some cases. (@gaearon in #12708)
Fix re-rendering of components using forwardRef() on a deeper setState(). (@gaearon in #12690)
Fix some attributes incorrectly getting removed from custom element nodes. (@airamrguez in #12702)
Fix context providers to not bail out on children if there's a legacy context provider above. (@gaearon in #12586)
Add the ability to specify propTypes on a context provider component. (@nicolevy in #12658)
Fix a false positive warning when using react-lifecycles-compat in <StrictMode>. (@bvaughn in #12644)
Warn when the forwardRef() render function has propTypes or defaultProps. (@bvaughn in #12644)
Improve how forwardRef() and context consumers are displayed in the component stack. (@sophiebits in #12777)
Change internal event names. This can break third-party packages that rely on React internals in unsupported ways. (@philipp-spiess in #12629)
React Test Renderer
Fix the getDerivedStateFromProps() support to match the new React DOM behavior. (@koba04 in #12676)
Fix a testInstance.parent crash when the parent is a fragment or another special node. (@gaearon in #12813)
forwardRef() components are now discoverable by the test renderer traversal methods. (@gaearon in #12725)
Shallow renderer now ignores setState() updaters that return null or undefined. (@koba04 in #12756)
React ART
Fix reading context provided from the tree managed by React DOM. (@acdlite in #12779)
React Call Return (Experimental)
This experiment was deleted because it was affecting the bundle size and the API wasn't good enough. It's likely to come back in the future in some other form. (@gaearon in #12820)
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.1.0
chore(deps): update dependency react-test-renderer to v16.1.1
Nov 13, 2017
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.1.1
chore(deps): update dependency react-test-renderer to v16.2.0
Nov 28, 2017
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.2.0
Update dependency react-test-renderer to v16.2.0
Jan 8, 2018
renovatebot
changed the title
Update dependency react-test-renderer to v16.2.0
chore(deps): update dependency react-test-renderer to v16.2.0
Jan 8, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.2.0
chore(deps): update react monorepo packages
Jan 26, 2018
renovatebot
changed the title
chore(deps): update react monorepo packages
chore(deps): update dependency react-test-renderer to v16.2.0
Jan 26, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.2.0
chore(deps): update dependency react-test-renderer to v16.3.0
Mar 29, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.3.0
chore(deps): update dependency react-test-renderer to v16.3.1
Apr 4, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.3.1
chore(deps): update dependency react-test-renderer to v16.3.2
Apr 16, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.3.2
Update dependency react-test-renderer to v16.3.2
May 9, 2018
renovatebot
changed the title
Update dependency react-test-renderer to v16.3.2
chore(deps): update dependency react-test-renderer to v16.3.2
May 9, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.3.2
chore(deps): update dependency react-test-renderer to v16.4.0
May 24, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.4.0
chore(deps): update dependency react-test-renderer to v16.4.1
Jun 13, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.4.1
chore(deps): update dependency react-test-renderer to v16.4.2
Aug 1, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.4.2
chore(deps): update dependency react-test-renderer to v16.5.0
Sep 6, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.5.0
chore(deps): update dependency react-test-renderer to v16.5.1
Sep 13, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.5.1
chore(deps): update dependency react-test-renderer to v16.5.2
Sep 18, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.5.2
chore(deps): update dependency react-test-renderer to v16.6.0
Oct 24, 2018
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.8.0
chore(deps): update dependency react-test-renderer to v16.8.1
Feb 6, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.8.1
chore(deps): update dependency react-test-renderer to v16.8.2
Feb 14, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.8.2
chore(deps): update dependency react-test-renderer to v16.8.3
Feb 21, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.8.3
chore(deps): update dependency react-test-renderer to v16.8.4
Mar 5, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.8.4
chore(deps): update dependency react-test-renderer to v16.8.5
Mar 22, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.8.5
chore(deps): update dependency react-test-renderer to v16.8.6
Mar 28, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.8.6
chore(deps): update dependency react-test-renderer to v16.9.0
Aug 10, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.9.0
chore(deps): update dependency react-test-renderer to v16.10.2
Oct 4, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.10.2
chore(deps): update dependency react-test-renderer to v16.11.0
Nov 11, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.11.0
chore(deps): update dependency react-test-renderer to v16.12.0
Nov 21, 2019
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.12.0
chore(deps): update dependency react-test-renderer to v16.13.0
Mar 11, 2020
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.13.0
chore(deps): update dependency react-test-renderer to v16.13.1
Apr 26, 2020
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.13.1
chore(deps): update dependency react-test-renderer to v16.14.0
Oct 29, 2020
renovatebot
changed the title
chore(deps): update dependency react-test-renderer to v16.14.0
chore(deps): update dependency react-test-renderer to v16.14.0 - autoclosed
Dec 8, 2024
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
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:
16.0.0->16.14.0Release Notes
facebook/react (react-test-renderer)
v16.14.0Compare Source
React
v16.13.1Compare Source
React DOM
componentWillReceiveProps,shouldComponentUpdate, and so on). (@gaearon in #18330)v16.13.0Compare Source
React
React.createFactory()(@trueadm in #17878)React DOM
stylemay cause an unexpected collision (@sophiebits in #14181, #18002)unstable_createPortal(@trueadm in #17880)onMouseEnterbeing fired on disabled buttons (@AlfredoGJ in #17675)shouldComponentUpdatetwice when developing inStrictMode(@bvaughn in #17942)versionproperty to ReactDOM (@ealush in #15780)toString()ofdangerouslySetInnerHTML(@sebmarkbage in #17773)Concurrent Mode (Experimental)
ReactDOM.createRoot()(@trueadm in #17937)ReactDOM.createRoot()callback params and added warnings on usage (@bvaughn in #17916)SuspenseListCPU bound heuristic (@sebmarkbage in #17455)isPendingonly being true when transitioning from inside an input event (@acdlite in #17382)React.memocomponents dropping updates when interrupted by a higher priority update (@acdlite in #18091)v16.12.0Compare Source
React DOM
useEffect) not being fired in a multi-root app. (@acdlite in #17347)React Is
lazyandmemotypes considered elements instead of components (@bvaughn in #17278)v16.11.0Compare Source
React DOM
mouseenterhandlers from firing twice inside nested React containers. @yuanoook in #16928unstable_createRootandunstable_createSyncRootexperimental APIs. (These are available in the Experimental channel ascreateRootandcreateSyncRoot.) (@acdlite in #17088)v16.10.2Compare Source
React DOM
v16.10.1Compare Source
React DOM
v16.10.0Compare Source
React DOM
Object.isinstead of inline polyfill, when available. (@ku8ar in #16212)Scheduler (Experimental)
postMessageloop with short intervals instead of attempting to align to frame boundaries withrequestAnimationFrame. (@acdlite in #16214)useSubscription
v16.9.0Compare Source
React
<React.Profiler>API for gathering performance measurements programmatically. (@bvaughn in #15172)unstable_ConcurrentModein favor ofunstable_createRoot. (@acdlite in #15532)React DOM
UNSAFE_*lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)javascript:URLs as a common attack surface. (@sebmarkbage in #15047)disablePictureInPictureattribute on<video>. (@eek in #15334)onLoadevent for<embed>. (@cherniavskii in #15614)useStatestate from DevTools. (@bvaughn in #14906)setStateis called fromuseEffect, creating a loop. (@gaearon in #15180)findDOMNodefor components wrapped in<Suspense>. (@acdlite in #15312)!importantstyle. (@acdlite in #15861 and #15882)React DOM Server
React Test Utilities and Test Renderer
act(async () => ...)for testing asynchronous state updates. (@threepointone in #14853)actfrom different renderers. (@threepointone in #16039 and #16042)act()call. (@threepointone in #15763 and #16041)actfrom the wrong renderer. (@threepointone in #15756)ESLint Plugin: React Hooks
v16.8.6Compare Source
React DOM
useReducer(). (@acdlite in #15124)contextTypeis set toContext.Consumerinstead ofContext. (@aweary in #14831)contextTypeis set to invalid values. (@gaearon in #15142)v16.8.5Compare Source
React DOM
sizeattribute. (@kulek1 in #14242)useEffect(async () => ...)warning message. (@gaearon in #15118)React DOM Server
useLayoutEffectwarning message when server rendering. (@gaearon in #15158)React Shallow Renderer
setStatein shallow renderer to work with Hooks. (@gaearon in #15120)React.memo. (@aweary in #14816)forwardRef. (@eps1lon in #15100)v16.8.4Compare Source
React DOM and other renderers
useContexthook. (@bvaughn in #14940)v16.8.3Compare Source
React DOM
React DOM Server
ESLint Plugin for React Hooks
exhaustive-depsrule. (@gaearon in #14636)v16.8.2Compare Source
React DOM
ReactDOM.renderbeing ignored insideuseEffect. (@gaearon in #14799)useImperativeHandleto work correctly when no deps are specified. (@gaearon in #14801)crossOriginattribute to work in SVGimageelements. (@aweary in #14832)React Test Utils and React Test Renderer
act()warning. (@threepointone in #14855)v16.8.1Compare Source
React DOM and React Test Renderer
React Test Utils
v16.8.0Compare Source
React
useReducerHook lazy initialization API. (@acdlite in #14723)React DOM
useStateanduseReducerHooks. (@acdlite in #14569)Object.isalgorithm for comparinguseStateanduseReducervalues. (@Jessidhia in #14752)useEffect/useMemo/useCallbackHooks. (@acdlite in #14594)React.lazy(). (@gaearon in #14626)undefinedor a function. All other values, includingnull, are not allowed. @acdlite in #14119React Test Renderer and Test Utils
shouldComponentUpdatein the presence ofgetDerivedStateFromPropsfor Shallow Renderer. (@chenesan in #14613)ReactTestRenderer.act()andReactTestUtils.act()for batching updates so that tests more closely match real behavior. (@threepointone in #14744)ESLint Plugin: React Hooks
v16.7.0Compare Source
React DOM
React.lazyfor large numbers of lazily-loaded components. (@acdlite in #14429)react-dom/server@16.6andreact@<16.6. (@gaearon in #14291)Scheduler (Experimental)
setTimeoutin testing environments. (@bvaughn in #14358)v16.6.3React DOM
Suspenseandlazy. (@acdlite in #14133, #14157, and #14164)React.memoupdates in React DevTools. (@bvaughn in #14141)React DOM Server
renderToNodeStream()calls. (@sebmarkbage in #14182)v16.6.2This release was published in a broken state and should be skipped.
v16.6.1Compare Source
React DOM
Scheduler (Experimental)
shouldYieldAPI. (@acdlite in #14025)v16.6.0Compare Source
React
React.memo()as an alternative toPureComponentfor functions. (@acdlite in #13748)React.lazy()for code splitting components. (@acdlite in #13885)React.StrictModenow warns about legacy context API. (@bvaughn in #13760)React.StrictModenow warns aboutfindDOMNode. (@sebmarkbage in #13841)unstable_AsyncModetounstable_ConcurrentMode. (@trueadm in #13732)unstable_PlaceholdertoSuspense, anddelayMstomaxDuration. (@gaearon in #13799 and @sebmarkbage in #13922)React DOM
contextTypeas a more ergonomic way to subscribe to context from a class. (@bvaughn in #13728)getDerivedStateFromErrorlifecycle method for catching errors in a future asynchronous server-side renderer. (@bvaughn in #13746)<Context>is used instead of<Context.Consumer>. (@trueadm in #13829)window.eventin development. (@sergei-startsev in #13697)React DOM Server
React.memo(). (@alexmckenley in #13855)contextType. (@alexmckenley and @sebmarkbage in #13889)Scheduler (Experimental)
scheduler. (@gaearon in #13683)requestAnimationFrameearlier. (@acdlite in #13785)envifytransform to the package. (@mridgway in #13766)v16.5.2Compare Source
React DOM
<iframe>regression (@JSteunou in #13650)updateWrapperso that<textarea>s no longer re-render when data is unchanged (@joelbarbosa in #13643)Schedule (Experimental)
scheduleto remove some React-isms and improve performance for when deferred updates time out (@acdlite in #13582)v16.5.1Compare Source
React
React.forwardRefreceives an unexpected number of arguments. (@andresroberto in #13636)React DOM
isReactComponent. (@gaearon in #13608)react-dom/profilingwithschedule/tracking. (@bvaughn in #13605)ForwardRefcomponent defines adisplayName, use it in warnings. (@probablyup in #13615)Schedule (Experimental)
schedule/tracking-profiling. (@bvaughn in #13605)v16.5.0Compare Source
React
React.forwardRefrender function doesn't take exactly two arguments (@bvaughn in #13168)createElementby mistake (@DCtheTall in #13131)onRenderuntil after mutations (@bvaughn in #13572)React DOM
react-dom/profilingentry point alias for profiling in production (@bvaughn in #13570)onAuxClickevent for browsers that support it (@jquense in #11571)movementXandmovementYfields to mouse events (@jasonwilliams in #9018)tangentialPressureandtwistfields to pointer events (@motiz88 in #13374)focusableSVG attribute (@gaearon in #13339)<noscript>on the client when hydrating (@Ephem in #13537)gridAreato be treated as a unitless CSS property (@mgol in #13550)compositionendevent when typing Korean on IE11 (@crux153 in #12563)childrenin the<option>tag (@Slowyn in #13261, @gaearon in #13465)checkedattribute not getting initially set on theinput(@dilidili in #13114)dangerouslySetInnerHTMLwhen__htmlis not a string (@gaearon in #13353)onChangeto fire on falsy values too (@nicolevy in #12628)submitandresetbuttons getting an empty label (@ellsclytn in #12780)onSelectevent not being triggered after drag and drop (@gaearon in #13422)onClickevent not working inside a portal on iOS (@aweary in #11927)onChangeto not fire in some cases (@gaearon in #13423)"false"or"true"is the value of a boolean DOM prop (@motiz88 in #13372)this.stateis initialized toprops(@veekas in #11658)styleon hydration in IE due to noisy false positives (@mgol in #13534)StrictModein the component stack (@gaearon in #13240)window.eventin IE (@ConradIrwin in #11696)folder/index.jsnaming convention (@gaearon in #12059)getDerivedStateFromPropswithout initialized state (@flxwu in #13317)<webview>tag without warnings (@philipp-spiess in #13301)e.preventDefault()was called (@gaearon in #13384)unstable_deferredUpdatesin favor ofunstable_scheduleWorkfromschedule(@gaearon in #13488)React DOM Server
dangerouslySetInnerHtmlin a selected<option>(@mridgway in #13078)setTimeoutis missing (@dustinsoftware in #13088)React Test Renderer and Test Utils
thisin a functional component for shallow renderer to beundefined(@koba04 in #13144)ReactTestUtils.mockComponent()helper (@bvaughn in #13193)ReactDOM.createPortalusage within the test renderer (@bvaughn in #12895)React ART
Schedule (Experimental)
v16.4.2Compare Source
React DOM Server
Fix a potential XSS vulnerability when the attacker controls an attribute name (
CVE-2018-6341). This fix is available in the latestreact-dom@16.4.2, as well as in previous affected minor versions:react-dom@16.0.1,react-dom@16.1.2,react-dom@16.2.1, andreact-dom@16.3.3. (@gaearon in #13302)Fix a crash in the server renderer when an attribute is called
hasOwnProperty. This fix is only available inreact-dom@16.4.2. (@gaearon in #13303)v16.4.1Compare Source
React
propTypesto components returned byReact.ForwardRef. (@bvaughn in #12911)React DOM
typechanges from some other types totext. (@spirosikmd in #12135)event.targetvalue for theonChangeevent in IE9. (@nhunzaker in #12976)<React.Fragment />from a component. (@philipp-spiess in #12966)React DOM Server
React Test Renderer
getDerivedStateFromProps()in the shallow renderer to not discard the pending state. (@fatfisz in #13030)v16.4.0Compare Source
React
React.unstable_Profilercomponent for measuring performance. (@bvaughn in #12745)React DOM
getDerivedStateFromProps()regardless of the reason for re-rendering. (@acdlite in #12600 and #12802)forwardRef()on a deepersetState(). (@gaearon in #12690)propTypeson a context provider component. (@nicolevy in #12658)react-lifecycles-compatin<StrictMode>. (@bvaughn in #12644)forwardRef()render function haspropTypesordefaultProps. (@bvaughn in #12644)forwardRef()and context consumers are displayed in the component stack. (@sophiebits in #12777)React Test Renderer
getDerivedStateFromProps()support to match the new React DOM behavior. (@koba04 in #12676)testInstance.parentcrash when the parent is a fragment or another special node. (@gaearon in #12813)forwardRef()components are now discoverable by the test renderer traversal methods. (@gaearon in #12725)setState()updaters that returnnullorundefined. (@koba04 in #12756)React ART
React Call Return (Experimental)
React Reconciler (Experimental)
v16.3.2Compare Source
React
nullorundefinedtoReact.cloneElement. (@nicolevy in #12534)React DOM
<StrictMode>. (@bvaughn in #12546)unstable_observedBitsAPI with nesting. (@gaearon in #12543)React Test Renderer
v16.3.1Compare Source
React
Fragment. (@heikkilamarko in #12504)setState()in constructor. (@gaearon in #12532)React DOM
getDerivedStateFromProps()not getting applied in some cases. ([@acdlite](https://redirect.github.com/acdliConfiguration
📅 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.