Releases: facebook/react
16.13.0 (February 26, 2020)
React
- Warn when a string ref is used in a manner that's not amenable to a future codemod (@lunaruan in #17864)
- Deprecate
React.createFactory()(@trueadm in #17878)
React DOM
- Warn when changes in
stylemay cause an unexpected collision (@sophiebits in #14181, #18002) - Warn when a function component is updated during another component's render phase (@acdlite in #17099)
- Deprecate
unstable_createPortal(@trueadm in #17880) - Fix
onMouseEnterbeing fired on disabled buttons (@AlfredoGJ in #17675) - Call
shouldComponentUpdatetwice when developing inStrictMode(@bvaughn in #17942) - Add
versionproperty to ReactDOM (@ealush in #15780) - Don't call
toString()ofdangerouslySetInnerHTML(@sebmarkbage in #17773) - Show component stacks in more warnings (@gaearon in #17922, #17586)
Concurrent Mode (Experimental)
- Warn for problematic usages of
ReactDOM.createRoot()(@trueadm in #17937) - Remove
ReactDOM.createRoot()callback params and added warnings on usage (@bvaughn in #17916) - Don't group Idle/Offscreen work with other work (@sebmarkbage in #17456)
- Adjust
SuspenseListCPU bound heuristic (@sebmarkbage in #17455) - Add missing event plugin priorities (@trueadm in #17914)
- Fix
isPendingonly being true when transitioning from inside an input event (@acdlite in #17382) - Fix
React.memocomponents dropping updates when interrupted by a higher priority update (@acdlite in #18091) - Don't warn when suspending at the wrong priority (@gaearon in #17971)
- Fix a bug with rebasing updates (@acdlite and @sebmarkbage in #17560, #17510, #17483, #17480)
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.12.0 (November 14, 2019)
React DOM
React Is
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.11.0 (October 22, 2019)
React DOM
- Fix
mouseenterhandlers from firing twice inside nested React containers. @yuanoook in #16928 - Remove
unstable_createRootandunstable_createSyncRootexperimental APIs. (These are available in the Experimental channel ascreateRootandcreateSyncRoot.) (@acdlite in #17088)
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.10.2 (October 3, 2019)
React DOM
- Fix regression in react-native-web by restoring order of arguments in event plugin extractors (@necolas in #16978)
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.10.1 (September 28, 2019)
React DOM
- Fix regression in Next.js apps by allowing Suspense mismatch during hydration to silently proceed (@sebmarkbage in #16943)
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.isinstead 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
postMessageloop 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_ConcurrentModein 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
disablePictureInPictureattribute on<video>. (@eek in #15334) - Add support for
onLoadevent for<embed>. (@cherniavskii in #15614) - Add support for editing
useStatestate from DevTools. (@bvaughn in #14906) - Add support for toggling Suspense from DevTools. (@gaearon in #15232)
- Warn when
setStateis called fromuseEffect, creating a loop. (@gaearon in #15180) - Fix a memory leak. (@paulshen in #16115)
- Fix a crash inside
findDOMNodefor 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
!importantstyle. (@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
actfrom 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
actfrom 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
contextTypeis set toContext.Consumerinstead ofContext. (@aweary in #14831) - Warn if
contextTypeis 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/