Update react-dom in / from 16.2.0 to 16.6.0 #253
Closed
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.
Dependencies.io has updated
react-dom
(a npm dependency in/
) from "16.2.0" to "16.6.0".16.6.0
React
React.memo()
as an alternative toPureComponent
for functions. (acdlite in #13748)React.lazy()
for code splitting components. (acdlite in #13885)React.StrictMode
now warns about legacy context API. (bvaughn in #13760)React.StrictMode
now warns aboutfindDOMNode
. (sebmarkbage in #13841)unstable_AsyncMode
tounstable_ConcurrentMode
. (trueadm in #13732)unstable_Placeholder
toSuspense
, anddelayMs
tomaxDuration
. (gaearon in #13799 and sebmarkbage in #13922)React DOM
contextType
as a more ergonomic way to subscribe to context from a class. (bvaughn in #13728)getDerivedStateFromError
lifecycle 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.event
in 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)requestAnimationFrame
earlier. (acdlite in #13785)envify
transform to the package. (mridgway in #13766)16.5.2
React DOM
<iframe>
regression (JSteunou in #13650)updateWrapper
so that<textarea>
s no longer re-render when data is unchanged (joelbarbosa in #13643)Schedule (Experimental)
schedule
to remove some React-isms and improve performance for when deferred updates time out (acdlite in #13582)16.5.1
16.5.1 (September 13, 2018)
React
React.forwardRef
receives an unexpected number of arguments. (andresroberto in #13636)React DOM
isReactComponent
. (gaearon in #13608)react-dom/profiling
withschedule/tracking
. (bvaughn in #13605)ForwardRef
component defines adisplayName
, use it in warnings. (probablyup in #13615)Schedule (Experimental)
schedule/tracking-profiling
. (bvaughn in #13605)16.5.0
React
React.forwardRef
render function doesn't take exactly two arguments (bvaughn in #13168)createElement
by mistake (DCtheTall in #13131)onRender
until after mutations (bvaughn in #13572)React DOM
react-dom/profiling
entry point alias for profiling in production (bvaughn in #13570)onAuxClick
event for browsers that support it (jquense in #11571)movementX
andmovementY
fields to mouse events (jasonwilliams in #9018)tangentialPressure
andtwist
fields to pointer events (motiz88 in #13374)focusable
SVG attribute (gaearon in #13339)<noscript>
on the client when when hydrating (Ephem in #13537)gridArea
to be treated as a unitless CSS property (mgol in #13550)compositionend
event when typing Korean on IE11 (crux153 in #12563)children
in the<option>
tag (Slowyn in #13261, gaearon in #13465)checked
attribute not getting initially set on theinput
(dilidili in #13114)dangerouslySetInnerHTML
when__html
is not a string (gaearon in #13353)onChange
to fire on falsy values too (nicolevy in #12628)submit
andreset
buttons getting an empty label (ellsclytn in #12780)onSelect
event not being triggered after drag and drop (gaearon in #13422)onClick
event not working inside a portal on iOS (aweary in #11927)onChange
to not fire in some cases (gaearon in #13423)"false"
or"true"
is the value of a boolean DOM prop (motiz88 in #13372)this.state
is initialized toprops
(veekas in #11658)style
on hydration in IE due to noisy false positives (mgol in #13534)StrictMode
in the component stack (gaearon in #13240)window.event
in IE (ConradIrwin in #11696)folder/index.js
naming convention (gaearon in #12059)getDerivedStateFromProps
without initialized state (flxwu in #13317)<webview>
tag without warnings (philipp-spiess in #13301)e.preventDefault()
was called (gaearon in #13384)unstable_deferredUpdates
in favor ofunstable_scheduleWork
fromschedule
(gaearon in #13488)React DOM Server
dangerouslySetInnerHtml
in a selected<option>
(mridgway in #13078)setTimeout
is missing (dustinsoftware in #13088)React Test Renderer and Test Utils
this
in a functional component for shallow renderer to beundefined
(koba04 in #13144)ReactTestUtils.mockComponent()
helper (bvaughn in #13193)ReactDOM.createPortal
usage within the test renderer (bvaughn in #12895)React ART
Schedule (Experimental)
16.4.2
React DOM Server
Fix a potential XSS vulnerability when the attacker controls an attribute name (
CVE-2018-6341
). This fix is available in the latest[email protected]
, as well as in previous affected minor versions:[email protected]
,[email protected]
,[email protected]
, and[email protected]
. (gaearon in #13302)Fix a crash in the server renderer when an attribute is called
hasOwnProperty
. This fix is only available in[email protected]
. (gaearon in #13303)16.4.1
React
propTypes
to components returned byReact.ForwardRef
. (bvaughn in #12911)React DOM
type
changes from some other types totext
. (spirosikmd in #12135)event.target
value for theonChange
event 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)16.4.0
React
React.unstable_Profiler
component 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)propTypes
on a context provider component. (nicolevy in #12658)react-lifecycles-compat
in<StrictMode>
. (bvaughn in #12644)forwardRef()
render function haspropTypes
ordefaultProps
. (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.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)setState()
updaters that returnnull
orundefined
. (koba04 in #12756)React ART
React Call Return (Experimental)
React Reconciler (Experimental)
16.3.3
React DOM Server
CVE-2018-6341
). This fix is available in the latest[email protected]
, as well as in previous affected minor versions:[email protected]
,[email protected]
,[email protected]
, and[email protected]
. (gaearon in #13302)16.2.1
React DOM Server
CVE-2018-6341
). This fix is available in the latest[email protected]
, as well as in previous affected minor versions:[email protected]
,[email protected]
,[email protected]
, and[email protected]
. (gaearon in #13302)