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

Remove features for migrating to null safety #3713

Merged
merged 3 commits into from
Jan 5, 2023

Conversation

sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Dec 22, 2022

Dart 3 will only work with already migrated code. 2.19 should be used for any last migrations.

Removing:

  • dart pub outdated --mode=null-safety
  • dart pub upgrade --null-safety
  • The mixed-mode validator (warns if you are publishing a mixed-mode package)

We keep the validator that gives a hint if the package you are publishing is the first null safe package - I believe this still makes sense to notify about even in a Dart 3 world.

Part of dart-lang/sdk#50707 .

@sigurdm sigurdm requested a review from szakarias December 22, 2022 13:21
@sigurdm sigurdm closed this Dec 22, 2022
@sigurdm sigurdm reopened this Dec 22, 2022
Copy link
Contributor

@szakarias szakarias left a comment

Choose a reason for hiding this comment

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

LGTM

@sigurdm sigurdm closed this Jan 5, 2023
@sigurdm sigurdm reopened this Jan 5, 2023
@sigurdm sigurdm merged commit e51b160 into dart-lang:master Jan 5, 2023
@mit-mit mit-mit mentioned this pull request Jan 9, 2023
16 tasks
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.

2 participants