Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update react monorepo #1439

Merged
merged 1 commit into from
Mar 30, 2022
Merged

chore(deps): update react monorepo #1439

merged 1 commit into from
Mar 30, 2022

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 30, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react-hooks (source) 4.3.0 -> 4.4.0 age adoption passing confidence
react-refresh (source) 0.11.0 -> 0.12.0 age adoption passing confidence

Release Notes

facebook/react

v0.12.0

Compare Source

React Core
Breaking Changes
  • key and ref moved off props object, now accessible on the element directly
  • React is now BSD licensed with accompanying Patents grant
  • Default prop resolution has moved to Element creation time instead of mount time, making them effectively static
  • React.__internals is removed - it was exposed for DevTools which no longer needs access
  • Composite Component functions can no longer be called directly - they must be wrapped with React.createFactory first. This is handled for you when using JSX.
New Features
  • Spread operator ({...}) introduced to deprecate this.transferPropsTo
  • Added support for more HTML attributes: acceptCharset, classID, manifest
Deprecations
  • React.renderComponent --> React.render
  • React.renderComponentToString --> React.renderToString
  • React.renderComponentToStaticMarkup --> React.renderToStaticMarkup
  • React.isValidComponent --> React.isValidElement
  • React.PropTypes.component --> React.PropTypes.element
  • React.PropTypes.renderable --> React.PropTypes.node
  • DEPRECATED React.isValidClass
  • DEPRECATED instance.transferPropsTo
  • DEPRECATED Returning false from event handlers to preventDefault
  • DEPRECATED Convenience Constructor usage as function, instead wrap with React.createFactory
  • DEPRECATED use of key={null} to assign implicit keys
Bug Fixes
  • Better handling of events and updates in nested results, fixing value restoration in "layered" controlled components
  • Correctly treat event.getModifierState as case sensitive
  • Improved normalization of event.charCode
  • Better error stacks when involving autobound methods
  • Removed DevTools message when the DevTools are installed
  • Correctly detect required language features across browsers
  • Fixed support for some HTML attributes:
    • list updates correctly now
    • scrollLeft, scrollTop removed, these should not be specified as props
  • Improved error messages
React With Addons
New Features
  • React.addons.batchedUpdates added to API for hooking into update cycle
Breaking Changes
  • React.addons.update uses assign instead of copyProperties which does hasOwnProperty checks. Properties on prototypes will no longer be updated correctly.
Bug Fixes
  • Fixed some issues with CSS Transitions
JSX
Breaking Changes
  • Enforced convention: lower case tag names are always treated as HTML tags, upper case tag names are always treated as composite components
  • JSX no longer transforms to simple function calls
New Features
  • @jsx React.DOM no longer required
  • spread ({...}) operator introduced to allow easier use of props
Bug Fixes
  • JSXTransformer: Make sourcemaps an option when using APIs directly (eg, for react-rails)

Configuration

📅 Schedule: "after 4am and before 8am" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #1439 (3cc7197) into main (46ebd19) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1439   +/-   ##
=======================================
  Coverage   39.25%   39.25%           
=======================================
  Files          85       85           
  Lines        2458     2458           
  Branches      469      469           
=======================================
  Hits          965      965           
  Misses       1427     1427           
  Partials       66       66           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46ebd19...3cc7197. Read the comment docs.

@renovate renovate bot merged commit b47a2a9 into main Mar 30, 2022
@renovate renovate bot deleted the renovate/react-monorepo branch March 30, 2022 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant