Releases: facebook/react
16.10.0 (September 27, 2019)
React DOM
- Fix edge case where a hook update wasn't being memoized. (@sebmarkbage in #16359)
- Fix heuristic for determining when to hydrate, so we don't incorrectly hydrate during an update. (@sebmarkbage in #16739)
- Clear additional fiber fields during unmount to save memory. (@trueadm in #16807)
- Fix bug with required text fields in Firefox. (@halvves in #16578)
- Prefer
Object.is
instead of inline polyfill, when available. (@ku8ar in #16212) - Fix bug when mixing Suspense and error handling. (@acdlite in #16801)
Scheduler (Experimental)
- Improve queue performance by switching its internal data structure to a min binary heap. (@acdlite in #16245)
- Use
postMessage
loop with short intervals instead of attempting to align to frame boundaries withrequestAnimationFrame
. (@acdlite in #16214)
useSubscription
- Avoid tearing issue when a mutation happens and the previous update is still in progress. (@bvaughn in #16623)
Artifacts
• react: https://unpkg.com/[email protected]/umd/
• react-art: https://unpkg.com/[email protected]/umd/
• react-dom: https://unpkg.com/[email protected]/umd/
• react-is: https://unpkg.com/[email protected]/umd/
• react-test-renderer: https://unpkg.com/[email protected]/umd/
• scheduler: https://unpkg.com/[email protected]/umd/
16.9.0 (August 8, 2019)
React
- Add
<React.Profiler>
API for gathering performance measurements programmatically. (@bvaughn in #15172) - Remove
unstable_ConcurrentMode
in favor ofunstable_createRoot
. (@acdlite in #15532)
React DOM
- Deprecate old names for the
UNSAFE_*
lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103) - Deprecate
javascript:
URLs as a common attack surface. (@sebmarkbage in #15047) - Deprecate uncommon "module pattern" (factory) components. (@sebmarkbage in #15145)
- Add support for the
disablePictureInPicture
attribute on<video>
. (@eek in #15334) - Add support for
onLoad
event for<embed>
. (@cherniavskii in #15614) - Add support for editing
useState
state from DevTools. (@bvaughn in #14906) - Add support for toggling Suspense from DevTools. (@gaearon in #15232)
- Warn when
setState
is called fromuseEffect
, creating a loop. (@gaearon in #15180) - Fix a memory leak. (@paulshen in #16115)
- Fix a crash inside
findDOMNode
for components wrapped in<Suspense>
. (@acdlite in #15312) - Fix pending effects from being flushed too late. (@acdlite in #15650)
- Fix incorrect argument order in a warning message. (@brickspert in #15345)
- Fix hiding Suspense fallback nodes when there is an
!important
style. (@acdlite in #15861 and #15882) - Slightly improve hydration performance. (@bmeurer in #15998)
React DOM Server
React Test Utilities and Test Renderer
- Add
act(async () => ...)
for testing asynchronous state updates. (@threepointone in #14853) - Add support for nesting
act
from different renderers. (@threepointone in #16039 and #16042) - Warn in Strict Mode if effects are scheduled outside an
act()
call. (@threepointone in #15763 and #16041) - Warn when using
act
from the wrong renderer. (@threepointone in #15756)
Artifacts
• react: https://unpkg.com/[email protected]/umd/
• react-art: https://unpkg.com/[email protected]/umd/
• react-dom: https://unpkg.com/[email protected]/umd/
• react-is: https://unpkg.com/[email protected]/umd/
• react-test-renderer: https://unpkg.com/[email protected]/umd/
• scheduler: https://unpkg.com/[email protected]/umd/
v16.9.0-rc.0
This is a release candidate for React v16.9.0.
Changelog is available in #16254.
UMD builds
• react: https://unpkg.com/[email protected]/umd/
• react-art: https://unpkg.com/[email protected]/umd/
• react-dom: https://unpkg.com/[email protected]/umd/
• react-is: https://unpkg.com/[email protected]/umd/
• react-test-renderer: https://unpkg.com/[email protected]/umd/
• scheduler: https://unpkg.com/[email protected]/umd/
v16.9.0-alpha.0
v16.9.0-alpha.0 (April 3, 2019)
- (
await act(async () => ...)
(@threepointone in #14853)
Artifacts
- react: https://unpkg.com/[email protected]/umd/
- react-art: https://unpkg.com/[email protected]/umd/
- react-dom: https://unpkg.com/[email protected]/umd/
- react-is: https://unpkg.com/[email protected]/umd/
- react-test-renderer: https://unpkg.com/[email protected]/umd/
- scheduler: https://unpkg.com/[email protected]/umd/
v16.8.6
16.8.6 (March 27, 2019)
React DOM
- Fix an incorrect bailout in
useReducer()
. (@acdlite in #15124) - Fix iframe warnings in Safari DevTools. (@renanvalentin in #15099)
- Warn if
contextType
is set toContext.Consumer
instead ofContext
. (@aweary in #14831) - Warn if
contextType
is set to invalid values. (@gaearon in #15142)
Artifacts
- react: https://unpkg.com/[email protected]/umd/
- react-art: https://unpkg.com/[email protected]/umd/
- react-dom: https://unpkg.com/[email protected]/umd/
- react-is: https://unpkg.com/[email protected]/umd/
- react-test-renderer: https://unpkg.com/[email protected]/umd/
- scheduler: https://unpkg.com/[email protected]/umd/
v16.8.5
16.8.5 (March 22, 2019)
React DOM
- Don't set the first option as selected in select tag with
size
attribute. (@kulek1 in #14242) - Improve the
useEffect(async () => ...)
warning message. (@gaearon in #15118) - Improve the error message sometimes caused by duplicate React. (@jaredpalmer in #15139)
React DOM Server
React Shallow Renderer
- Fix
setState
in shallow renderer to work with Hooks. (@gaearon in #15120) - Fix shallow renderer to support
React.memo
. (@aweary in #14816) - Fix shallow renderer to support Hooks inside
forwardRef
. (@eps1lon in #15100)
Artifacts
- react: https://unpkg.com/[email protected]/umd/
- react-art: https://unpkg.com/[email protected]/umd/
- react-dom: https://unpkg.com/[email protected]/umd/
- react-is: https://unpkg.com/[email protected]/umd/
- react-test-renderer: https://unpkg.com/[email protected]/umd/
- scheduler: https://unpkg.com/[email protected]/umd/
v16.8.4
v16.8.3
16.8.3 (February 21, 2019)
React DOM
- 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
Artifacts
- react: https://unpkg.com/[email protected]/umd/
- react-art: https://unpkg.com/[email protected]/umd/
- react-dom: https://unpkg.com/[email protected]/umd/
- react-is: https://unpkg.com/[email protected]/umd/
- react-test-renderer: https://unpkg.com/[email protected]/umd/
- scheduler: https://unpkg.com/[email protected]/umd/
v16.8.2
16.8.2 (February 14, 2019)
React DOM
- Fix
ReactDOM.render
being ignored insideuseEffect
. (@gaearon in #14799) - Fix a crash when unmounting empty portals. (@gaearon in #14820)
- Fix
useImperativeHandle
to work correctly when no deps are specified. (@gaearon in #14801) - Fix
crossOrigin
attribute to work in SVGimage
elements. (@aweary in #14832) - Fix a false positive warning when using Suspense with Hooks. (@gaearon in #14821)
React Test Utils and React Test Renderer
- Include component stack into the
act()
warning. (@threepointone in #14855)
Artifacts
- react: https://unpkg.com/[email protected]/umd/
- react-art: https://unpkg.com/[email protected]/umd/
- react-dom: https://unpkg.com/[email protected]/umd/
- react-is: https://unpkg.com/[email protected]/umd/
- react-test-renderer: https://unpkg.com/[email protected]/umd/
- scheduler: https://unpkg.com/[email protected]/umd/
v16.8.1
16.8.1 (February 6, 2019)
React DOM and React Test Renderer
React Test Utils
- Fix a crash in Node environment. (@threepointone in #14768)
Artifacts
- react: https://unpkg.com/[email protected]/umd/
- react-art: https://unpkg.com/[email protected]/umd/
- react-dom: https://unpkg.com/[email protected]/umd/
- react-is: https://unpkg.com/[email protected]/umd/
- react-test-renderer: https://unpkg.com/[email protected]/umd/
- scheduler: https://unpkg.com/[email protected]/umd/