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

Increase Dart SDK version #181

Merged
merged 3 commits into from
Oct 17, 2022
Merged

Increase Dart SDK version #181

merged 3 commits into from
Oct 17, 2022

Conversation

chykon
Copy link
Contributor

@chykon chykon commented Oct 14, 2022

Description & Motivation

ROHD currently uses Dart version 2.14. It is proposed to upgrade the version to the latest actual - 2.18. Among the changes, I would especially like to highlight the super parameters added in 2.17, which allow writing more compact constructors.

It also becomes possible to use enhanced enums, the idea of using which was mentioned here - #124.

After the version upgrade, it was necessary to use a dart fix to apply the recommendations related to the new language features.

Related Issue(s)

No.

Testing

After the changes, testing was launched, which was successfully completed.

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No.

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No.

Copy link
Contributor

@mkorbel1 mkorbel1 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

I believe this sort-of does break backwards compatibility since it requires users to upgrade their version of Dart installed to at least 2.18.0, but I think it's time to do so rather than sit at an old Dart version forever. The next release will upgrade minor version (major still 0), indicating potentially backwards compatibility issues, so that's ok.

@mkorbel1 mkorbel1 merged commit 54290bb into intel:main Oct 17, 2022
@chykon chykon deleted the raise-dartsdk-version branch October 18, 2022 07:46
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