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

Treat v11 as stable #218

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Conversation

Mrxx99
Copy link
Sponsor Contributor

@Mrxx99 Mrxx99 commented Jul 7, 2023

this changes that v11 is the one treated with AvaloniaStableChoosen, moves the "Latest stable" description form 0.10 to 11.0.
It also removes the ProjectCapability setting for 0.10 as it is now set there too: https://github.com/AvaloniaUI/Avalonia/blob/release/0.10.21/packages/Avalonia/Avalonia.props

<!--#if (AvaloniaStableChosen) -->
<!--#if (!AvaloniaStableChosen) -->
Copy link
Member

Choose a reason for hiding this comment

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

Feels like "stable" is not a valid term here, as both version are stable at this point. Some kind of enum property or multiple bool properties for each version might work better.

Copy link
Sponsor Contributor Author

Choose a reason for hiding this comment

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

I discussed with @Takoooooo about this and suggested "UseCurrentVersion", he meant "lets leave AvaloniaStableChosen,change it to AvaloniaVersion == "11.0.0" and negate expressions where it was used".

But agree enum like would be the easiest to maintain, as it would not change meaning anymore. Something like "IsV11" and "IsV0_10"?

Copy link
Member

Choose a reason for hiding this comment

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

"IsV10" should be fine too :)
But yes, we can keep it out of this PR

@maxkatz6 maxkatz6 merged commit a4bc22c into AvaloniaUI:master Jul 10, 2023
3 checks passed
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