Skip to content

Breaking changes rollup #2240

Closed
Closed

Description

@jeromelaban

This issue is a meta-issue for tracking breaking changes that need to be made as a batch to avoid making too many breaking changes for consumers of Uno.

This issue does not list the larger changes needed to be made to align for the removal of IFrameworkElement.

  • Create a tool to determine all other API deviations

Source breaking

Binary breaking

  • ToggleButton OnIsCheckedChanged
  • CoreDispatcher.Main should be internal CoreDispatcher.Main should be internal #4075
  • Control.IsTabStopProperty and Control.FocusStateProperty should be properties, not fields
  • GeoLocator APIs signatures don't return AsyncAction.
  • ContentPresenter.CornerRadiusProperty is a field
  • StackLayout.SpacingProperty is a field
  • StackLayout.DisableVirtualizationProperty is a field
  • ComboBox invalid hierarchy (ComboBox has wrong inheritance hierarchy #135)
  • FrameworkElement.Name property is at the right level, must return "" as the default value
  • WebView async Support for WebView.InvokeScriptAsync #2967 (comment)
  • Search for classes which implement IHandleableRoutedEventArgs and IChangingFocusEventArgs and remove the explicit implementations of their properties (they can be just public, but it was a breaking change because the generated IL is different)
  • IAnimatedVisualSource interface is significantly different from the Microsoft.UI.Xaml.Controls version
  • Remove BackButton.iOS.cs
  • Make Control.FocusMixins.cs UWP-only by wrapping it in #if !HAS_UNO_WINUI

Done

Activity

  1. added
    kind/bug
    triage/untriaged
    and removed
    triage/untriaged
    on Dec 2, 2019
  2. MartinZikmund commented on Feb 5, 2020

    @MartinZikmund
    Member

    Many Geolocator methods currently use Task as return type instead of IAsyncOperation (see for example Task<Geoposition> GetGeopositionAsync() vs IAsyncOperation<Geoposition> GetGeopositionAsync()

  3. added this to the 3.1 milestone on Aug 28, 2020
  4. removed this from the 3.1 milestone on Nov 9, 2020
  5. added
    difficulty/tbd
    on Feb 15, 2021
  6. added
    difficulty/challenging 🤯
    and removed
    difficulty/tbd
    on Mar 4, 2021
  7. Youssef1313 commented on Sep 21, 2021

    @Youssef1313
    Member

    Color default constructor should allow writing Color a; and not Color a = new Color()

    @jeromelaban @MartinZikmund Any more info on that? Both forms works on UWP and in Uno.

  8. jeromelaban commented on Sep 21, 2021

    @jeromelaban
    MemberAuthor

    Color default constructor should allow writing Color a; and not Color a = new Color()

    @jeromelaban @MartinZikmund Any more info on that? Both forms works on UWP and in Uno.

    It's a change that was needed somewhere in WCT, where the Color a; syntax was not working. It could be that we've changed something since this issue was logged.

  9. Youssef1313 commented on Sep 27, 2021

    @Youssef1313
    Member
    • ContentPresenter.CornerRadiusProperty is a field

    Also Control.FocusStateProperty, Control.IsTabStopProperty, StackLayout.SpacingProperty, StackLayout.DisableVirtualizationProperty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/challenging 🤯epickind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions