Uno Platform v2.1.37 Release Notes

Release Date: 2020-04-07 // about 4 years ago
  • ๐Ÿš€ Uno Platform 2.1 release is packed with over 50 new features allowing for increased productivity as well as getting you up and running with Surface Duo. In addition to bigger milestones such as x:Bind, the TwoPaneView and NumberBox controls we also shipped another 50 new features and closed 45 issues you raised.

    โšก๏ธ Among many other updates:

    • ๐Ÿ‘Œ Support for x:Bind functions (with BindBack, DefaultBindingMode)
    • ๐Ÿ‘Œ Support for the Surface Duo has been added and the TwoPaneView control
    • ๐Ÿ‘Œ Support for the WinUI 2.3 NumberBox control
    • ElevatedView in the toolkit to add shadows around controls
    • ๐Ÿ‘Œ Support for Grid.ColumnSpacing and Grid.RowSpacing
    • ๐Ÿ‘ Multitouch pointers support
    • ๐Ÿ‘Œ Support for UIElement.RightTapped and Holding

    ๐ŸŽ You'll also notice some progress on the macOS support, but nothing concrete to share at this point.

    ๐Ÿ‘ Big thank you to all our contributors for the support !

    ๐ŸŒฒ Here's the full change log:

    ๐Ÿ”‹ Features

    • โž• Added new ElevatedView in the Uno.Toolkit to provide elevation & rounded corners on all platforms
      ๐Ÿ (not supported on Windows yet, because Uno needs to target framework 10.0.18362.0)
    • ๐Ÿ‘ [Android] Support for Application.Current.Exit
    • ๐Ÿ‘Œ Support for Windows.Storage.FileProperties.BasicProperties.DateModified
    • โž• Added CornerRadius support to more default styles to match UWP (for list of updated styles see PR [#2713])
    • ๐Ÿ‘Œ Support for FontIcon on macOS
    • ๐Ÿ‘Œ Support for PhoneCallManager.ShowPhoneCallUI on macOS
    • ๐Ÿ‘Œ Support for full screen mode on macOS
    • ๐Ÿ‘Œ Support for ShowComposeSmsMessageAsync on macOS
    • ๐Ÿ‘Œ Support for Flyout on macOS
    • ๐Ÿ‘Œ Support for HingeAngleSensor for Surface Duo
    • ๐Ÿ‘Œ Support for Geolocator on macOS
    • ๐Ÿ‘Œ Support for Clipboard get/set Text content on macOS
    • ๐Ÿ‘Œ Support for ApplicationView.Title on Android and macOS
    • ๐Ÿ‘Œ Support for AnalyticsInfo on macOS
    • ๐Ÿ‘Œ Support for TryEnterFullScreenMode and ExitFullScreenMode on WebAssembly
    • ๐Ÿ‘Œ Support for MessageDialog on macOS
    • ๐Ÿ‘ [Android] support of KnownFolders.MusicLibrary and VideosLibrary
    • โž• Add support for StorageFile.DateCreated
    • ๐Ÿ‘Œ Support for ApplicationView.IsScreenCaptureEnabled on Android
    • โž• Add support for StorageFile.DeleteAsync()
    • ๐Ÿ‘Œ Support for PointerDown, PointerUp PointerEntered, PointerExited and PointerMoved events on macOS
    • ๐Ÿ‘Œ Support for Launcher API on macOS, support for special URIs
    • ๐Ÿ‘Œ Support for EmailManager.ShowComposeNewEmailAsync
    • โž• Add support for StorageFolder.CreateFileAsync(string path)
    • โž• Add support for ApplicationViewTitleBar.BackgroundColor on WASM
    • โž• Add support for Automation SetDependencyPropertyValue in Uno.UITest
    • โž• Added support for using a string value in a StaticResource when using `CreateFromStringAttribute'
    • ๐Ÿ‘ [Android] Adds support for FeatureConfiguration.ScrollViewer.AndroidScrollbarFadeDelay
    • โž• Add support for Grid.ColumnSpacing and Grid.RowSpacing
    • โž• Add clarification in documentation for adding automated UI tests
    • โž• Add support for Popup.LightDismissOverlayMode, as well as DatePicker.LightDismissOverlayMode and Flyout.LightDismissOverlayMode. To modify the background color of the Overlay see Popup.md, DatePicker.md, TimePicker.md and Flyout.md
    • TransformToVisual now returns a real transform to convert coordinates between views (was only returning a translate transform to offset the origin of controls)
    • ๐Ÿ‘ Multiple pointers at same time on screen (a.k.a. Multi-touch) are now supported
    • โž• Add support for WinUI 2.3 NumberBox
    • โž• Add support of the UIElement.RightTapped event (The context menu won't appear anymore on WASM, except for the TextBox)
    • โž• Add support of the UIElement.Holding event
    • ๐ŸŽ [MacOS] Support for ScrollViewer
    • ๐ŸŽ [MacOS] Support for LinearGradientBrush
    • โž• Add support for TwoPaneView control.
    • โž• Add support for ApplicationView.GetSpanningRects
    • โž• Add base support for API Extensibility through Uno.Foundation.Extensibility.ApiExtensibility and ApiExtensionAttribute
    • โž• Add support for Surface Duo through the Uno.UI.DualScreen package
    • โž• Add support for enums in x:Bind functions and BindBack
    • โž• Add XamlReader support for Primitive static resources
    • ๐Ÿ‘€ [Android] Add support for non-native Popup by default. Can be enabled through FeatureConfiguration.Popup.UseNativePopup set to false (See #2533 for more details)
    • โž• Add template tags for the VS2019 VSIX template search experience
    • [iOS] #2746 Fix border thickness when a corner radius is set
    • [Android] #2762 ProgressRing wasn't displaying inside a StackPanel
    • #2797 Stack overflow in ListView when changing SelectedItem to and from invalid value
    • [Android] #2761 Control with AreDimensionsConstrained and Margin set not measured correctly

    ๐Ÿ’ฅ Breaking changes

    ๐Ÿ› Bug fixes

    • [iOS] Applying a <RenderTransform> on an image was producing an incorrect layout result.
    • โž• Add support for CornerRadius in default ComboBox style
    • ๐Ÿ›  Fix for samples app compilation for macOS
    • ๐ŸŽ [#2465] Raising macOS Button Click event
    • [#2506] DesignMode.DesignMode2Enabled no longer throws (is always false on non-UWP platforms)
    • โšก๏ธ [#915] FontFamily values are now properly parsed on WebAssembly, updated docs with new info
    • ๐ŸŽ [#2213] Fixed ApplicationData on MacOS, added support for LocalSettings
    • ๐ŸŽ Made macOS Samples app skeleton runnable (temporarily removed ApplicationData check on startup, fixed reference), added xamarinmacos20 to crosstargeting_override sample
    • [#2230] DisplayInformation leaks memory
    • โšก๏ธ [WASM] Shapes now update when their Fill brush's Color changes
    • [WASM] Fix bug where changing IsEnabled from false to true on Control inside another Control didn't work
    • ๐ŸŽ [Wasm] Add arbitrary delay in Safari macOS to avoid StackOverflow issues
    • ๐Ÿ›  #2227 fixed Color & SolidColorBrush literal values generation
    • [Android] Fix bug where setting Canvas.ZIndex would apply shadow effect in some cases
    • #2287 Vertical ListView containing a horizontal ScrollViewer: horizontal scrolling is difficult, only works when the gesture is perfectly horizontal
    • #2130 Grid - fix invalid measure when total star size is 0
    • [iOS] Fix invalid image measure on constrained images with Margin
    • ๐Ÿ›  [#2364] fixed missing Xaml IntelliSense on newly created project
    • ViewBox no longer alters its child's RenderTransform
    • โšก๏ธ [#2033] Add Missing LostFocus Value to UpdateSourceTrigger Enum
    • ๐Ÿ›  [Android] Fix Image margin calculation on fixed size
    • [Android] Native views weren't clipped correctly
    • [Android] Border thickness was incorrect when CornerRadius was set
    • [iOS] #2361 ListView would measure children with infinite width
    • [iOS] Fix crash when using ComboBox template with native Picker and changing ItemsSource to null after SelectedItem was set
    • [#2398] Fully qualify the MethodName value for `CreateFromStringAttribute' if it's not fully qualified it the code
    • ๐Ÿšš [WASM] Fix bug where changing a property could remove the required clipping on a view
    • โšก๏ธ #2294 Fix TextBox text binding is updated by simply unfocusing
    • [Android] Fix unconstrained Image loading issue when contained in a ContentControl template
    • Enable partial NavigationView.ItemSource scenario (#2477)
    • [Wasm] Fail gracefully if IDBFS is not enabled in emscripten
    • [#2513] Fix TransformGroup not working
    • [#1956] Fis iOS invalid final state when switching visual state before current state's animation is completed.
    • ๐Ÿ›  Fix Selector support for IsSelected (#1606)
    • ๐Ÿ›  [Android] 164249 fixed TextBox.Text flickering when using custom IInputFilter with MaxLength set
    • ๐ŸŽ [MacOS] Fix exceptions when modifying UIElementCollection, layouting view with null Layer
    • ๐Ÿ›  Fix invalid conversion when using ThemeResource (e.g. Color resource to Brush property)
    • ๐Ÿ›  Fix XamlBindingHelper.Convert double to GridLength
    • โšก๏ธ [Android] Adjust TextBlock.TextDecorations is not updating properly
    • Adjust XamlBindingHelper for GridLength and TimeSpan
    • โž• Add missing ListView resources
    • ๐Ÿ›  #2570 [Android/iOS] fixed ObjectDisposedException in BindingPath
    • ๐Ÿ›  #2107 [iOS] fixed ContentDialog doesn't block touch for background elements
    • ๐Ÿ›  #2108 [iOS/Android] fixed ContentDialog background doesn't change
    • #2680 [Wasm] Fix ComboBox should not stretch to the full window width