m-picker
m-picker copied to clipboard
Bump react from 16.14.0 to 17.0.0
Bumps react from 16.14.0 to 17.0.0.
Release notes
Sourced from react's releases.
17.0.0 (October 20, 2020)
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
React
- Add
react/jsx-runtime
andreact/jsx-dev-runtime
for the new JSX transform. (@lunaruan in #18299)- Build component stacks from native error frames. (@sebmarkbage in #18561)
- Allow to specify
displayName
on context for improved stacks. (@eps1lon in #18224)- Prevent
'use strict'
from leaking in the UMD bundles. (@koba04 in #19614)- Stop using
fb.me
for redirects. (@cylim in #19598)React DOM
- Delegate events to roots instead of
document
. (@trueadm in #18195 and others)- Clean up all effects before running any next effects. (@bvaughn in #17947)
- Run
useEffect
cleanup functions asynchronously. (@bvaughn in #17925)- Use browser
focusin
andfocusout
foronFocus
andonBlur
. (@trueadm in #19186)- Make all
Capture
events use the browser capture phase. (@trueadm in #19221)- Don't emulate bubbling of the
onScroll
event. (@gaearon in #19464)- Throw if
forwardRef
ormemo
component returnsundefined
. (@gaearon in #19550)- Remove event pooling. (@trueadm in #18969)
- Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
- Attach all known event listeners when the root mounts. (@gaearon in #19659)
- Disable
console
in the second render pass of DEV mode double render. (@sebmarkbage in #18547)- Deprecate the undocumented and misleading
ReactTestUtils.SimulateNative
API. (@gaearon in #13407)- Rename private field names used in the internals. (@gaearon in #18377)
- Don't call User Timing API in development. (@gaearon in #18417)
- Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
- In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
- Allow calling
ReactDOM.flushSync
during lifecycle methods (but warn). (@sebmarkbage in #18759)- Add the
code
property to the keyboard event objects. (@bl00mber in #18287)- Add the
disableRemotePlayback
property forvideo
elements. (@tombrowndev in #18619)- Add the
enterKeyHint
property forinput
elements. (@eps1lon in #18634)- Warn when no
value
is provided to<Context.Provider>
. (@charlie1404 in #19054)- Warn when
memo
orforwardRef
components returnundefined
. (@bvaughn in #19550)- Improve the error message for invalid updates. (@JoviDeCroock in #18316)
- Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
- Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
- Keep
onTouchStart
,onTouchMove
, andonWheel
passive. (@gaearon in #19654)- Fix
setState
hanging in development inside a closed iframe. (@gaearon in #19220)- Fix rendering bailout for lazy components with
defaultProps
. (@jddxf in #18539)- Fix a false positive warning when
dangerouslySetInnerHTML
isundefined
. (@eps1lon in #18676)- Fix Test Utils with non-standard
require
implementation. (@just-boris in #18632)- Fix
onBeforeInput
reporting an incorrectevent.type
. (@eps1lon in #19561)- Fix
event.relatedTarget
reported asundefined
in Firefox. (@claytercek in #19607)- Fix "unspecified error" in IE11. (@hemakshis in #19664)
- Fix rendering into a shadow root. (@Jack-Works in #15894)
- Fix
movementX/Y
polyfill with capture events. (@gaearon in #19672)
Changelog
Sourced from react's changelog.
17.0.0 (October 20, 2020)
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
React
- Add
react/jsx-runtime
andreact/jsx-dev-runtime
for the new JSX transform. (@lunaruan in #18299)- Build component stacks from native error frames. (@sebmarkbage in #18561)
- Allow to specify
displayName
on context for improved stacks. (@eps1lon in #18224)- Prevent
'use strict'
from leaking in the UMD bundles. (@koba04 in #19614)- Stop using
fb.me
for redirects. (@cylim in #19598)React DOM
- Delegate events to roots instead of
document
. (@trueadm in #18195 and others)- Clean up all effects before running any next effects. (@bvaughn in #17947)
- Run
useEffect
cleanup functions asynchronously. (@bvaughn in #17925)- Use browser
focusin
andfocusout
foronFocus
andonBlur
. (@trueadm in #19186)- Make all
Capture
events use the browser capture phase. (@trueadm in #19221)- Don't emulate bubbling of the
onScroll
event. (@gaearon in #19464)- Throw if
forwardRef
ormemo
component returnsundefined
. (@gaearon in #19550)- Remove event pooling. (@trueadm in #18969)
- Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
- Attach all known event listeners when the root mounts. (@gaearon in #19659)
- Disable
console
in the second render pass of DEV mode double render. (@sebmarkbage in #18547)- Deprecate the undocumented and misleading
ReactTestUtils.SimulateNative
API. (@gaearon in #13407)- Rename private field names used in the internals. (@gaearon in #18377)
- Don't call User Timing API in development. (@gaearon in #18417)
- Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
- In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
- Allow calling
ReactDOM.flushSync
during lifecycle methods (but warn). (@sebmarkbage in #18759)- Add the
code
property to the keyboard event objects. (@bl00mber in #18287)- Add the
disableRemotePlayback
property forvideo
elements. (@tombrowndev in #18619)- Add the
enterKeyHint
property forinput
elements. (@eps1lon in #18634)- Warn when no
value
is provided to<Context.Provider>
. (@charlie1404 in #19054)- Warn when
memo
orforwardRef
components returnundefined
. (@bvaughn in #19550)- Improve the error message for invalid updates. (@JoviDeCroock in #18316)
- Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
- Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
- Keep
onTouchStart
,onTouchMove
, andonWheel
passive. (@gaearon in #19654)- Fix
setState
hanging in development inside a closed iframe. (@gaearon in #19220)- Fix rendering bailout for lazy components with
defaultProps
. (@jddxf in #18539)- Fix a false positive warning when
dangerouslySetInnerHTML
isundefined
. (@eps1lon in #18676)- Fix Test Utils with non-standard
require
implementation. (@just-boris in #18632)- Fix
onBeforeInput
reporting an incorrectevent.type
. (@eps1lon in #19561)- Fix
event.relatedTarget
reported asundefined
in Firefox. (@claytercek in #19607)- Fix "unspecified error" in IE11. (@hemakshis in #19664)
- Fix rendering into a shadow root. (@Jack-Works in #15894)
Commits
89b6109
Bump versions for 17- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)