-
Notifications
You must be signed in to change notification settings - Fork 68
RM-93030 Release react-dart 6.0.0 #285
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
Conversation
* master: (46 commits) react 5.6.0 Add missing stuff to 5.5.1 changelog entry Don't check dartfmt when using the dev build of Dart Remove print statement Fix forwardRef2/useImperativeHandle typing, update tests to use forwardRef2 and test all ref types Rename test utility react 5.5.1 Add regression test for passing forwardRef2 into memo2 Reinstate tests for memo and forwardRef Address CR feedback related to comments useImperativeHandle should not throw if ref is null Run npm audit fix, build JS sources Remove unused ref un-conversion logic Improve doc comment Cleanup / comments Format Fix lints Clean up test case objects Improve forwardRef and base ref tests, fix chaining of converted refs Relocate similar event handler unconversion logic ...
# Conflicts: # lib/react.js.map # lib/react_with_addons.js.map
CPLAT-12469 Update to React 17
…T-12470-remove-synthetic-event-wrappers
[6.0.0] Resolve peerDependencies warning for react-redux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Note: dev channel CI failures are expected (see #298)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Additional commits look good
- CI is passing
- JS assets are up to date
+10
Security +1 |
@Workiva/release-management-p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 from RM
semver +1 |
This stable, major release of react includes:
ReactJS 17.x Support
The underlying
.js
files provided by this package are now ReactJS version17.0.1
.ReactJS 17 Breaking Changes
React 17 includes some breaking changes, but rather than being large API removals, they are mostly subtle behavior changes of existing APIs. Please refer to their blog post for all behavior changes.
Dart API Breaking Changes
Dart API Removals
APIs that were removed were:
SyntheticEvent
class, which are described in "Other Breakages" below.All other APIs slated for removal in 6.0.0 were bumped to 7.0.0 here in order to keep the migration to 6.0.0 as simple as possible.
Other Breakages
SyntheticEvent
classes (of all types) cannot be invoked.create{X}SyntheticEvent
. See the utilities here.SyntheticEvent
classes (of all types) cannot be type checked withis
.SyntheticEvent.is{X}Event
instead. See the utilities here.SyntheticEvent.isFormEvent
was removed because React.js does not have aSyntheticFormEvent
, and via duck typing, it will always have the same shape asSyntheticEvent
itself.type
property instead for one of the relevant types. Note: thetype
property on the event instance excludes theon
prefix.