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

RM-217585 FED-1716 Release react-dart 7.0.0 (null-safety) #380

Merged
merged 73 commits into from
Nov 10, 2023
Merged

Conversation

greglittlefield-wf
Copy link
Collaborator

@greglittlefield-wf greglittlefield-wf commented Nov 2, 2023

Motivation

We've been working on a 7.0.0 null-safe release, and it's time to merge it!

Changes

All commits through 440c5e3 have been reviewed in other PRs:

Leaving only commits later than 440c5e3 to be reviewed.

New changes in those commits include:

  • pubspec.yaml version bump
  • CHANGELOG.md updates and cleanup
  • Marking dartInteropStatics as @internal (I had it in the changelog draft listed as a removal, but apparently it was never public in the first place)

Testing

  • CI passes
  • Verify that semver audit diff looks good and matches up with changelog.
  • Internal consumer tests pass (ping me for links)

It can't really be made null safe, and we always intended on
removing it in the next major.
Simulated synthetic events will be missing some properties if they're
not included in eventData, meaning the non-nullable typings on them
are incorrect.

As opposed to making everything nullable to account for that, we'll
treat those simulated events the same way Mockito treats mock objects,
and just require that any properties being accessed get stubbed in using
the eventData argument.
versioning it

useRef without an argument is more common than with one, and this
approach improves that experience by:
 1. not requiring consumers explicitly provide `null` and provide
    a nullable type argument
 2. not involving a new, versioned API that must be migrated to
Importantly, this fixes some callback ref typing issues after
fixing unnecessary_lambdas lints
@greglittlefield-wf greglittlefield-wf changed the title RM-217585 Release react-dart 7.0.0 (null-safety) RM-217585 FED-1716 Release react-dart 7.0.0 (null-safety) Nov 2, 2023
Copy link
Collaborator

@aaronlademann-wf aaronlademann-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@autobot-wk
Copy link

Skynet test results failed initially for this build but were approved by rob.becker
https://wf-skynet-hrd.appspot.com/apps/test/smithy/5178799/2
Approval message: The actions have passed

@greglittlefield-wf greglittlefield-wf marked this pull request as ready for review November 10, 2023 17:33
@greglittlefield-wf
Copy link
Collaborator Author

@Workiva/release-management-p

Copy link

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from RM

@rmconsole6-wk rmconsole6-wk merged commit c0ccd1b into master Nov 10, 2023
6 checks passed
@rmconsole6-wk rmconsole6-wk deleted the v7_wip branch November 10, 2023 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants