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

Make the language version parameter to DartFormatter mandatory. #1563

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

munificent
Copy link
Member

This is a breaking change, so bumping the major version of dart_style, the first time I've done that since the null safety migration (!).

This is a breaking change, so bumping the major version of dart_style,
the first time I've done that since the null safety migration (!).
Copy link
Member

@natebosch natebosch left a comment

Choose a reason for hiding this comment

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

We will need to make sure google3 is ready for this before we roll it to the SDK.

Mechanically we can either patch this in to a CL and run a global test suite before we land it, or we can land this and roll to google3 before we roll to the SDK to run the tests.

@munificent
Copy link
Member Author

Yeah, I'm expecting that this means dart_style can't be rolled into google3 for a while until we're ready for it. If you'd like, I can set up a "3.0" branch and land the changes there so that the main branch remains in a state where we can land bug fixes and roll into google3 if you think it's worth it.

My thinking was to just go ahead and land directly on main. Then if it turns out we do need to land some bug fixes without the 3.0 changes, I can always just branch off a previous commit at that point in time.

@natebosch
Copy link
Member

My thinking was to just go ahead and land directly on main. Then if it turns out we do need to land some bug fixes without the 3.0 changes, I can always just branch off a previous commit at that point in time.

Landing and delaying the roll until we're ready SGTM.

@munificent munificent merged commit 8afa44a into main Sep 11, 2024
7 checks passed
@munificent munificent deleted the mandatory-lang-version branch September 11, 2024 18:28
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.

3 participants