AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
26.06k stars 2.26k forks source link

Fix DateTimePickerPanelType enum backward compatibility #17398

Closed rabbitism closed 3 weeks ago

rabbitism commented 3 weeks ago

What does the pull request do?

The value (int) change of DateTimePickerPanelType.TimePeriod breaks backward compatibility. This PR brings it back.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Well it breaks the breaking change.

Obsoletions / Deprecations

Fixed issues

avaloniaui-bot commented 3 weeks ago

You can test this PR using the following package version. 11.3.999-cibuild0052939-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

rabbitism commented 3 weeks ago

@MrJul please help to review~

MrJul commented 3 weeks ago

For context: added in #16079 Didn't get caught by the API validation diff.