Xamarin.Forms 4.8.0.1821 (4.8.0 Service Release 6) Release Notes

Getting Started | What's New | Known Issues | Breaking Changes | API Changes | Blogs | Thank you | Reporting Issues | Open Source

What's New in this Release

Issues Fixed

  • GitHub #12725 - "[Bug] Xamarin.Forms 5- Overlapping text if adding multiple Grid inside Grid with label having large text and also overlap if I add stack layout in between grid too. Not adding proper vertical space between two controls text." (#13085)
  • GitHub #12961 - "[Bug] Grid with all RowDefinitions="*" and ScrollView when Rotate last Row not filling screen" (#13085)

Additional fixes included in this release

  • "[Android] Add missing unsubscribe on activity destroy" (#13023)
  • "Apply internet check to additional tests" (#12804)
  • "Build 14393 targets separately" (#12826)
  • "Fix semaphore issues updating CollectionView on iOS (#13119) fixes #11853 fixes #12080" (#13119)
  • "Only build one UWP target when using IDE (#12808)" (#12808)
  • "Scale potential star row/column values by the appropriate star value (#13146) fixes #13127 fixes #13034" (#13146)

Security Advisory

A spoofing vulnerability manifests in Microsoft Xamarin.Forms due to the default settings on Android WebView version prior to 83.0.4103.106. This vulnerability could allow an attacker to execute arbitrary Javascript code on a target system.

For the attack to be successful, the targeted user would need to browse to a malicious website or a website serving the malicious code through Xamarin.Forms.

This update addresses this vulnerability by preventing the malicious Javascript from running in the WebView.

Please see CVE-2020-16873 for details.

Roadmap

  • GitHub #10778 - "[Spec] DragGestureRecognizer DropGestureRecognizer " (#11537) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))

F100s

Brushes

  • "[Android] Fixed incorrect border applying a SolidColorBrush in some cases" (#11761) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11481 - "[Bug] Visual Material crashes when using LinearGradientBrush" (#11491) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #11497 - "[Shapes] Should the default value of Shape.StrokeThickness be 1, and not 0?" (#11574) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11541 - "[Bug][Shapes] Shapes demos has some invalid IL code once updated to 4.8-pre2" (#11548) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11547 - "[Bug] [Shapes 4.8-pre2] Justice for baby elephant!" (#11574) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11569 - "[Bug][Brushes] LinearGradientBrush EndPoint default isn't identical to WPF" (#11575) (added in 4.8.0.1269 (4.8.0))
  • GitHub #11664 - "[Bug] Crash in VisualElementRenderer from Background brush check" (#11668) (added in 4.8.0.1269 (4.8.0))

CarouselView

  • "[Tizen] Adds the Unified Theme Manager" (#11779) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • "[Tizen] CollectionView enhancement" (#11820) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • GitHub #10830 - "[Bug] [Fatal] [Android] CarouselView Inside Expander Causes Crashing " (#10836) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11224 - "[Bug] CarouselView Position property fails to update visual while control isn't visible." (#11239) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #11826 - "[Bug] CarouselView.VisibleViews property was shared among with all carouselview" (#11827) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • GitHub #12349 - "[Bug] CarouselView items cannot scroll vertically since v4.6.0.967" (#12361) (added in 4.8.0.1687 (4.8.0 Service Release 5))

CollectionView

  • "[Tizen] Adds the Unified Theme Manager" (#11779) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • "[Tizen] CollectionView enhancement" (#11820) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • GitHub #10735 - "[Bug] [Fatal] [Android] CollectionView Causes Application Crash When Keyboard Opens" (#11235) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #10801 - "System.ObjectDisposedException: Cannot access a disposed object 'Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer'" (#12114) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #10830 - "[Bug] [Fatal] [Android] CarouselView Inside Expander Causes Crashing " (#10836) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11224 - "[Bug] CarouselView Position property fails to update visual while control isn't visible." (#11239) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #11311 - "[Regression] CollectionView NSRangeException" (#11402) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #11651 - "[Bug] [Regression] [iOS] Swipeview still swipes while scrolling" (#11949) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11932 - "[Bug] [iOS] When in CollectionView's ItemTemplate, the SwipeView emits swipe events together with scroll events" (#11949) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #12001 - "[Bug] Regression in 4.8.0.1364 : grid row height is not correctly computed, label is truncated" (#12475) (added in 4.8.0.1687 (4.8.0 Service Release 5))
  • GitHub #12175 - "[Bug] CollectionView items do not resize properly when item template is grid (Regression from 4.7 to 4.8) (Android & iOS)" (#12475) (added in 4.8.0.1687 (4.8.0 Service Release 5))
  • GitHub #12292 - "Views are clipped when we provide the multi line text (Break from v4.8.0.1143 pre-1)" (#12475) (added in 4.8.0.1687 (4.8.0 Service Release 5))
  • GitHub #12349 - "[Bug] CarouselView items cannot scroll vertically since v4.6.0.967" (#12361) (added in 4.8.0.1687 (4.8.0 Service Release 5))
  • GitHub #12363 - "[Bug] Grid inside StackLayout does not respect VerticalOptions FillAndExpand on UWP" (#12475) (added in 4.8.0.1687 (4.8.0 Service Release 5))
  • GitHub #12462 - "[Bug] ListView Cell size measurement problem on 4.8.0" (#12475) (added in 4.8.0.1687 (4.8.0 Service Release 5))
  • GitHub #5577 - "CollectionView XAML API suggestion" (#8104)
  • GitHub #9051 - "[Bug] View recycling in CollectionView does not work on UWP" (#11043)
  • GitHub #9631 - "[UWP] How to scroll in CollectionView ?" (#11629) (added in 4.8.0.1269 (4.8.0))
  • GitHub #9753 - "[Bug, CollectionView] CollectionView crashes when ItemsSource updated too fast" (#11235) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #9929 - "[Bug] NSInternalInconsistencyException when trying to run XamarinTV on iOS" (#11122)

Dark Mode/App Themes

  • "[macOS] Implement GetNamedColor" (#10657)
  • "Added OrangeColor" (#10645)
  • "Drop AppTheme flag" (#11368) (added in 4.8.0.1269 (4.8.0))
  • GitHub #11395 - "[Bug] Span cannot be styled for the Dark Mode (it does not support SetAppThemeColor method)" (#11437) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))

Drag and Drop GestureRecognizers

  • GitHub #10778 - "[Spec] DragGestureRecognizer DropGestureRecognizer " (#11537) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))

Shapes

  • "[Core] More Shapes constructors" (#11490) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • "Add Rect struct" (#11187) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • "Added StrokeMiterLimit property in Shape" (#11045)
  • GitHub #11050 - "[Bug][iOS][Android] Shapes: clock drawing error" (#11110) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #11052 - "[Bug][Android] Shapes: Moving spiral demo doesn't animate on Android " (#11046)
  • GitHub #11497 - "[Shapes] Should the default value of Shape.StrokeThickness be 1, and not 0?" (#11574) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11541 - "[Bug][Shapes] Shapes demos has some invalid IL code once updated to 4.8-pre2" (#11548) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11547 - "[Bug] [Shapes 4.8-pre2] Justice for baby elephant!" (#11574) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11555 - "VS For Mac's XAML tools broken after updating VS and/or Xamarin.Forms" (#11577) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11557 - "Crash in Visual Studio with 4.8.0.1187-pre2 [Bug] " (#11577) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11563 - "[Bug] Polygon.Points doesn't respond to CollectionChanged events" (#11576) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11653 - "[Bug] Path rendering crashing on GeometryExtensions due to unexpected PathSegment configuration" (#11873) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • GitHub #12081 - "[Bug] Line doesn't draw on iOS 14" (#12109) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #12082 - "[Bug] Path doesn't draw on iOS 14" (#12109) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #12083 - "[Bug] Polyline doesn't draw on iOS 14" (#12109) (added in 4.8.0.1534 (4.8.0 Service Release 3))

Shell

  • "[Tizen] Adds the Unified Theme Manager" (#11779) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • "[Tizen] Fix ShellSectionNavigation" (#11780) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • "Add Rect struct" (#11187) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • "Check for null appearance before setting backdrop" (#11591) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • "migrate WPF ControlsGallery to .NET Core" (#10736)
  • "Shell FlyoutBackdrop now with Brushes!!" (#11580) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11334 - "[Bug] VisualTreeChangeEventArgs, Parent is null when element is removed and VisualTreeChangeType is Add instead of Remove and ChildIndex is -1" (#11775) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11335 - "[Bug] VisualTreeChangeEventArgs, ChildIndex is always -1 when element are inserted" (#11775) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11736 - "[Bug] UWP application cannot run in release mode in Xamarin.Forms 4.8" (#11766) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • GitHub #11769 - "[Bug] Shell throws exceptions during dynamic modification" (#11973) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11869 - "[Bug] ShellContent.IsVisible issue on Android" (#11885) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • GitHub #11962 - "[Bug] iOS Only- 'Cannot access a disposed object. Object name: 'WkWebViewRenderer'.'" (#12163) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #12018 - "[Bug] FlyoutBackdrop does not work correctly on UWP" (#12099) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #12055 - "[Bug] [iOS] [Shell] Multiple PageAppearing/OnAppearing Issues " (#12263) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #12134 - "WkWebView does not handle cookies consistently" (#12163) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #5232 - "[Enhancement] Add FlyoutItem.IsVisible, Tab.IsVisible, BaseShellItem.IsVisible" (#10980)
  • GitHub #7599 - "[Bug] WebView control raises System.ObjectDisposedException on revisiting App Shell ContentPage at iOS." (#12163) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #7849 - "[Bug] Android AppShell TabBar translate "More" menu text" (#10604) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #8498 - "[Bug] Shell Navigation.PushAsync ignored on UWP platform" (#11410) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))

SwipeView

  • "Fixing null reference exception on Xamarin.Forms.Platform.Android\Ren…" (#10827)
  • GitHub #11251 - "[Bug] SwipeView on UWP Executes Command Twice" (#11323) (added in 4.8.0.1269 (4.8.0))
  • GitHub #11349 - "[Bug] SwipeView stopped working in Xamarin.Forms version 4.6.0.1073" (#11948) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11496 - "[Bug] Issue with SwipeView not working since Xamarin.Forms update v4.7.0.1080 and above on Android" (#11834) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11651 - "[Bug] [Regression] [iOS] Swipeview still swipes while scrolling" (#11949) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11932 - "[Bug] [iOS] When in CollectionView's ItemTemplate, the SwipeView emits swipe events together with scroll events" (#11949) (added in 4.8.0.1451 (4.8.0 Service Release 2))

Visual

  • GitHub #10307 - "[Bug] ExportFont not working on UWP" (#11741) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #11481 - "[Bug] Visual Material crashes when using LinearGradientBrush" (#11491) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #12246 - "[Bug] iOS 14 App freezes when password is entered after email" (#12316) (added in 4.8.0.1560 (4.8.0 Service Release 4))
  • GitHub #7043 - "Add Picker.TextAlignment" (#7493)

Other Enhancements

  • "[macOS] ExportFont functionality for macOS" (#10848)
  • GitHub #10148 - "[Enhancement] Make StepperPositionProperty field public on Stepper" (#10941)
  • GitHub #10867 - "Implement ExportFont functionality for WPF" (#10393) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #2447 - "[Android] Force label text direction" (#11596) (added in 4.8.0.1269 (4.8.0))

Features in Preview

Current experimental flags

Are you on the cutting edge? Try out ALL of our experimental features now using these flags! Read more about experimental flags.

  • Shell_UWP_Experimental

UWP Shell

Try it with Forms.SetFlags("Shell_UWP_Experimental");
  • "Add Rect struct" (#11187) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • "Check for null appearance before setting backdrop" (#11591) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • "Shell FlyoutBackdrop now with Brushes!!" (#11580) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11736 - "[Bug] UWP application cannot run in release mode in Xamarin.Forms 4.8" (#11766) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • GitHub #11769 - "[Bug] Shell throws exceptions during dynamic modification" (#11973) (added in 4.8.0.1451 (4.8.0 Service Release 2))
  • GitHub #12018 - "[Bug] FlyoutBackdrop does not work correctly on UWP" (#12099) (added in 4.8.0.1534 (4.8.0 Service Release 3))
  • GitHub #5232 - "[Enhancement] Add FlyoutItem.IsVisible, Tab.IsVisible, BaseShellItem.IsVisible" (#10980)
  • GitHub #8498 - "[Bug] Shell Navigation.PushAsync ignored on UWP platform" (#11410) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))

Release History

  • Friday, December 18, 2020 - Xamarin.Forms 4.8.0.1821 (4.8.0 Service Release 6)
  • Thursday, November 12, 2020 - Xamarin.Forms 4.8.0.1687 (4.8.0 Service Release 5)
  • Thursday, October 15, 2020 - Xamarin.Forms 4.8.0.1560 (4.8.0 Service Release 4)
  • Wednesday, October 7, 2020 - Xamarin.Forms 4.8.0.1534 (4.8.0 Service Release 3)
  • Wednesday, September 16, 2020 - Xamarin.Forms 4.8.0.1451 (4.8.0 Service Release 2)
  • Monday, August 31, 2020 - Xamarin.Forms 4.8.0.1364 (4.8.0 Service Release 1)
  • Thursday, August 6, 2020 - Xamarin.Forms 4.8.0.1269 (4.8.0)
  • Thursday, July 30, 2020 - Xamarin.Forms 4.8.0.1238-pre3 (4.8.0 Pre Release 3)
  • Thursday, July 23, 2020 - Xamarin.Forms 4.8.0.1187-pre2 (4.8.0 Pre Release 2)
  • Wednesday, July 15, 2020 - Xamarin.Forms 4.8.0.1143-pre1 (4.8.0 Pre Release 1)

Friday, December 18, 2020 - Xamarin.Forms 4.8.0.1821 (4.8.0 Service Release 6)

Issues Fixed

  • GitHub #12725 - "[Bug] Xamarin.Forms 5- Overlapping text if adding multiple Grid inside Grid with label having large text and also overlap if I add stack layout in between grid too. Not adding proper vertical space between two controls text." (#13085)
  • GitHub #12961 - "[Bug] Grid with all RowDefinitions="*" and ScrollView when Rotate last Row not filling screen" (#13085)

Additional fixes included in this release

  • "[Android] Add missing unsubscribe on activity destroy" (#13023)
  • "Apply internet check to additional tests" (#12804)
  • "Build 14393 targets separately" (#12826)
  • "Fix semaphore issues updating CollectionView on iOS (#13119) fixes #11853 fixes #12080" (#13119)
  • "Only build one UWP target when using IDE (#12808)" (#12808)
  • "Scale potential star row/column values by the appropriate star value (#13146) fixes #13127 fixes #13034" (#13146)

Thursday, November 12, 2020 - Xamarin.Forms 4.8.0.1687 (4.8.0 Service Release 5)

Issues Fixed

  • GitHub #11166/GitHub #11177 - "Device.Idiom for Android misleading in XF 4.7.0.968" (#11206)
  • GitHub #11703 - "Android textAllCaps no longer works" (#12170)
  • GitHub #12001 - "[Bug] Regression in 4.8.0.1364 : grid row height is not correctly computed, label is truncated" (#12475)
  • GitHub #12175 - "[Bug] CollectionView items do not resize properly when item template is grid (Regression from 4.7 to 4.8) (Android & iOS)" (#12475)
  • GitHub #12222 - "[Bug] [MacOS] Buttons don't render correctly when given a HeightRequest" (#12367)
  • GitHub #12292 - "Views are clipped when we provide the multi line text (Break from v4.8.0.1143 pre-1)" (#12475)
  • GitHub #12312 - "[Bug] WebView.Navigated event not fired when no internet available on iOS." (#12327)
  • GitHub #12344 - "[Bug] FontImageSource does not work on UWP" (#12362)
  • GitHub #12349 - "[Bug] CarouselView items cannot scroll vertically since v4.6.0.967" (#12361)
  • GitHub #12363 - "[Bug] Grid inside StackLayout does not respect VerticalOptions FillAndExpand on UWP" (#12475)
  • GitHub #12462 - "[Bug] ListView Cell size measurement problem on 4.8.0" (#12475)
  • GitHub #12585 - "[Bug] Crash when ContextActionsCell is already disposed but its action sheet is used" (#12586)
  • GitHub #12635 - "[Bug] UWP - FontIcons not showing in Latest Xamarin Form release" (#12362)
  • GitHub #12732 - "[Bug] WebView.Navigated event not fired when there is an issue on iOS." (#12327)

Additional fixes included in this release

  • "[Android] Fix NRE when trying to access the renderer View" (#12638)
  • "Check for Internet Connection before running tests that Require an Internet Connection" (#12790)
  • "Check TargetPlatformIdentifier for UAP" (#12611)
  • "Fix APK to build with Fast Renderer switch when running on CI" (#12640)
  • GitHub #12731 - "The ClearButton is no longer displayed in the entry" (#12765)

Thursday, October 15, 2020 - Xamarin.Forms 4.8.0.1560 (4.8.0 Service Release 4)

Issues Fixed

Wednesday, October 7, 2020 - Xamarin.Forms 4.8.0.1534 (4.8.0 Service Release 3)

Issues Fixed

Additional fixes included in this release

  • "[Tizen] Fixed Tizen 4.0 regression issue" (#12132)
  • "MacOS - Fix crash when invoking VisualElement.Focus()" (#12267)
  • "Pin 4.8.0 Xcode" (#12213)

Wednesday, September 16, 2020 - Xamarin.Forms 4.8.0.1451 (4.8.0 Service Release 2)

Issues Fixed

  • GitHub #10307 - "[Bug] ExportFont not working on UWP" (#11741)
  • GitHub #10489 - "[Bug] WPF runtime issue" (#12011)
  • GitHub #11328 - "[Bug] netcoreapp3.1 WPF version causes Could not load file or assembly 'xxx, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'" (#12011)
  • GitHub #11334 - "[Bug] VisualTreeChangeEventArgs, Parent is null when element is removed and VisualTreeChangeType is Add instead of Remove and ChildIndex is -1" (#11775)
  • GitHub #11335 - "[Bug] VisualTreeChangeEventArgs, ChildIndex is always -1 when element are inserted" (#11775)
  • GitHub #11349 - "[Bug] SwipeView stopped working in Xamarin.Forms version 4.6.0.1073" (#11948)
  • GitHub #11496 - "[Bug] Issue with SwipeView not working since Xamarin.Forms update v4.7.0.1080 and above on Android" (#11834)
  • GitHub #11651 - "[Bug] [Regression] [iOS] Swipeview still swipes while scrolling" (#11949)
  • GitHub #11769 - "[Bug] Shell throws exceptions during dynamic modification" (#11973)
  • GitHub #11932 - "[Bug] [iOS] When in CollectionView's ItemTemplate, the SwipeView emits swipe events together with scroll events" (#11949)
  • GitHub #11946 - "[Bug] ClearButtonVisibility.Never does not take effect on UWP (2)" (#11953)
  • GitHub #11965 - "[Bug] NullReferenceException in EntryRendererBase.ShouldChangeCharacters on iOS" (#12089)
  • GitHub #12022 - "[Bug] Issue3408 Failure on Appcenter 4.8" (#12057)
  • GitHub #8015/GitHub #9103 - "ScrollView doesnt work with TimePicker inside it Xamarin Forms" (#10659)

Additional fixes included in this release

  • "[Android] Fixed incorrect border applying a SolidColorBrush in some cases" (#11761)
  • "[Housekeeping] Fix build error" (#11983)
  • "[Nuget] Use main branch of yaml-templates, ensure nugets are properly signed " (#12016)
  • "[UITests] Try fix uitest 32898" (#12054)
  • "Remove references to XreItem when using XCODE on Provisionsator" (#12020)

Monday, August 31, 2020 - Xamarin.Forms 4.8.0.1364 (4.8.0 Service Release 1)

Issues Fixed

  • GitHub #11653 - "[Bug] Path rendering crashing on GeometryExtensions due to unexpected PathSegment configuration" (#11873)
  • GitHub #11736 - "[Bug] UWP application cannot run in release mode in Xamarin.Forms 4.8" (#11766)
  • GitHub #11742 - "RelativeLayout is not taking full screen since XamarinForms 4.8 update" (#11903)
  • GitHub #11796 - "Xamarin Form v 4.8.0.1269 ScrollView not filling in space " (#11903)
  • GitHub #11826 - "[Bug] CarouselView.VisibleViews property was shared among with all carouselview" (#11827)
  • GitHub #11835 - "[Bug] ListView margin inside Grid starred row is calculated incorrectly" (#11903)
  • GitHub #11865 - "iOS SearchBarRenderer throws a NullReferenceException when the SearchButton redirects to a new page" (#11897)
  • GitHub #11869 - "[Bug] ShellContent.IsVisible issue on Android" (#11885)
  • GitHub #11889 - "[Bug] [iOS] Editor Placeholder (Visual=Default) is rendered way too high" (#11891)
  • GitHub #9210 - "[Bug] iOS keyboard case flickers when switching entries" (#11701)

Additional fixes included in this release

  • "[iOS] Remove Appeared Check on Page Renderer" (#11935)
  • "[msbuild] skip XamlC target if no xaml files" (#11666)
  • "[Tizen] Add indicator to CarouselPage" (#11824)
  • "[Tizen] Adds the Unified Theme Manager" (#11779)
  • "[Tizen] CollectionView enhancement" (#11820)
  • "[Tizen] Fix ShellSectionNavigation" (#11780)
  • "[Tizen] Fix the behavior of the DisplayAlert" (#11871)
  • "[Tizen] Fix the lifecycle of application" (#11893)
  • "[Tizen] Implement perspective rotation" (#11821)
  • "Ignore Issue6472 and reopened associated issue" (#11863)
  • "Remove Microsoft.NETCore.UniversalWindowsPlatform From nuspec" (#11939)
  • "Revert "[MediaElement] Removed line that pauses player before setting it to null" (#11862)

Thursday, August 6, 2020 - Xamarin.Forms 4.8.0.1269 (4.8.0)

Issues Fixed

  • GitHub #11185 - "[Bug] ScrollViewRenderer HorizontalFadingEdgeEnabled ignored on horizontal ScrollView orientation" (#11287)
  • GitHub #11251 - "[Bug] SwipeView on UWP Executes Command Twice" (#11323)
  • GitHub #11569 - "[Bug][Brushes] LinearGradientBrush EndPoint default isn't identical to WPF" (#11575)
  • GitHub #11620 - "[Bug] 4.8-pre3 regression with XAML-defined arrays - x:Int32 is no longer of type x:Object" (#11638)
  • GitHub #11664 - "[Bug] Crash in VisualElementRenderer from Background brush check" (#11668)
  • GitHub #9631 - "[UWP] How to scroll in CollectionView ?" (#11629)

Additional fixes included in this release

  • "[REVERTED] [MediaElement] Removed line that pauses player before setting it to null." (#9531)
  • "Drag and drop tweaks" (#11654)
  • "Drop AppTheme flag" (#11368)

Thursday, July 30, 2020 - Xamarin.Forms 4.8.0.1238-pre3 (4.8.0 Pre Release 3)

Issues Fixed

  • GitHub #10830 - "[Bug] [Fatal] [Android] CarouselView Inside Expander Causes Crashing " (#10836)
  • GitHub #11061 - "Xamarin - Binding a DateTime gives "InvalidProgramException - Invalid IL Code"" (#11086)
  • GitHub #11395 - "[Bug] Span cannot be styled for the Dark Mode (it does not support SetAppThemeColor method)" (#11437)
  • GitHub #11425 - "[Bug] PlaceholderColor on Entry does not work when global Span TextColor style is set" (#11429)
  • GitHub #11497 - "[Shapes] Should the default value of Shape.StrokeThickness be 1, and not 0?" (#11574)
  • GitHub #11541 - "[Bug][Shapes] Shapes demos has some invalid IL code once updated to 4.8-pre2" (#11548)
  • GitHub #11547 - "[Bug] [Shapes 4.8-pre2] Justice for baby elephant!" (#11574)
  • GitHub #11555 - "VS For Mac's XAML tools broken after updating VS and/or Xamarin.Forms" (#11577)
  • GitHub #11557 - "Crash in Visual Studio with 4.8.0.1187-pre2 [Bug] " (#11577)
  • GitHub #11563 - "[Bug] Polygon.Points doesn't respond to CollectionChanged events" (#11576)
  • GitHub #7849 - "[Bug] Android AppShell TabBar translate "More" menu text" (#10604)

Additional fixes included in this release

  • "[Core] More Shapes constructors" (#11490)
  • "Check for null appearance before setting backdrop" (#11591)
  • "Mark Transform.ValueProperty as public" (#11543)
  • "Shell FlyoutBackdrop now with Brushes!!" (#11580)
  • GitHub #11527 - "Device exception message mentions 'you must call Xamarin.Forms.Init() ...' but there is no such API" (#11528)

Thursday, July 23, 2020 - Xamarin.Forms 4.8.0.1187-pre2 (4.8.0 Pre Release 2)

Issues Fixed

  • GitHub #10735 - "[Bug] [Fatal] [Android] CollectionView Causes Application Crash When Keyboard Opens" (#11235)
  • GitHub #11026 - "[Bug] Appium tests (iOS). UI elements are missing from page source XML representation with Xamarin 4.6 update" (#11077)
  • GitHub #11050 - "[Bug][iOS][Android] Shapes: clock drawing error" (#11110)
  • GitHub #11224 - "[Bug] CarouselView Position property fails to update visual while control isn't visible." (#11239)
  • GitHub #11315 - "Please remove this line as MediaElement:PlayedToEnd event is triggered twice" (#11360)
  • GitHub #11433 - "Obsolete message for Device.OpenUri mentions non-existent APIs" (#11436)
  • GitHub #11481 - "[Bug] Visual Material crashes when using LinearGradientBrush" (#11491)
  • GitHub #6667 - "[Bug] Appium and Xamarin Forms 4.0 Compatibility (iOS)" (#11077)
  • GitHub #8498 - "[Bug] Shell Navigation.PushAsync ignored on UWP platform" (#11410)
  • GitHub #8732 - "[Bug] Image animation not working in GTK" (#9649)
  • GitHub #9753 - "[Bug, CollectionView] CollectionView crashes when ItemsSource updated too fast" (#11235)

Additional fixes included in this release

  • "Add BoostrapHelper" (#11400)

Wednesday, July 15, 2020 - Xamarin.Forms 4.8.0.1143-pre1 (4.8.0 Pre Release 1)

Issues Fixed

Additional fixes included in this release

  • "[macOS] Implement GetNamedColor" (#10657)
  • "[Nuget] Components governance" (#11188)
  • "[WPF] Added null check on IsInvokeRequired on WPFPlatformServices.cs" (#10652)
  • "Added OrangeColor" (#10645)
  • "Check renderer and view for null in UpdateTextAndImage" (#11079)
  • "Fixing null reference exception on Xamarin.Forms.Platform.Android\Ren…" (#10827)
  • "Fixing NullReferenceException in MotionEventHelper for Android" (#10840)
  • "Increase pool timeout, provision less for osx builds, specify Android pools" (#10671)
  • "migrate WPF ControlsGallery to .NET Core" (#10736)
  • "RadionButton control for WPF" (#10772)
  • "Remove rendundant calls to UpdateCharacterSpacing" (#11276)

Known Issues

  • GitHub #12731 - "The ClearButton is no longer displayed in the entry"
  • GitHub #11887 - "[Bug] [iOS] Editor control _placeholderLabel LayoutConstraints are broken "

Breaking Changes

  • "Add Rect struct" (#11187) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #10032 - "[Bug] Stepper rounds initial value" (#11359)
  • GitHub #11169 - "[Bug] Stepper Increment result is wrong with small values" (#11359)
  • GitHub #11569 - "[Bug][Brushes] LinearGradientBrush EndPoint default isn't identical to WPF" (#11575) (added in 4.8.0.1269 (4.8.0))
  • GitHub #5168 - "[Core] Incorrect increments in Stepper" (#11359)

Namespace Xamarin.Forms

Removed Type Xamarin.Forms.VisualElementExtensions

Namespace Xamarin.Forms.Shapes

Type Changed: Xamarin.Forms.Shapes.RectangleGeometry

Modified properties:

-public Xamarin.Forms.Rectangle Rect { get; set; }
+public Xamarin.Forms.Rect Rect { get; set; }

Type Changed: Xamarin.Forms.Shapes.Shape

Modified properties:

-public Xamarin.Forms.Color Fill { get; set; }
+public Xamarin.Forms.Brush Fill { get; set; }
-public Xamarin.Forms.Color Stroke { get; set; }
+public Xamarin.Forms.Brush Stroke { get; set; }

Namespace Xamarin.Forms.Platform

Type Changed: Xamarin.Forms.Platform.Resource

Type Changed: Xamarin.Forms.Platform.Resource.Style

Removed field:

public static int collectionViewScrollBars;

Namespace Xamarin.Forms.Platform.Android

Type Changed: Xamarin.Forms.Platform.Android.Resource

Type Changed: Xamarin.Forms.Platform.Android.Resource.Style

Removed field:

public static int collectionViewScrollBars;

Type Changed: Xamarin.Forms.Platform.Android.ShapeView

Removed methods:

public void UpdateFill (Android.Graphics.Color fill);
public void UpdateStroke (Android.Graphics.Color stroke);

Namespace Xamarin.Forms.Platform.Tizen

Type Changed: Xamarin.Forms.Platform.Tizen.FormsApplication

Removed method:

protected override void OnAppControlReceived (Tizen.Applications.AppControlReceivedEventArgs e);

Namespace Xamarin.Forms.Platform.Tizen.Native

Type Changed: Xamarin.Forms.Platform.Tizen.Native.LayoutCanvas

Modified base type:

-ElmSharp.Layout
+Xamarin.Forms.Platform.Tizen.Native.WidgetLayout

Type Changed: Xamarin.Forms.Platform.Tizen.Native.WebViewContainer

Modified base type:

-ElmSharp.Layout
+Xamarin.Forms.Platform.Tizen.Native.WidgetLayout

Namespace Xamarin.Forms.Platform.UWP

Type Changed: Xamarin.Forms.Platform.UWP.ShellRenderer

Removed method:

protected virtual void UpdateFlyoutBackdropColor ();

Deprecations

  • "Add Rect struct" (#11187) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))

API Changes

See all API Changes here.

  • "[Tizen] Adds the Unified Theme Manager" (#11779) (added in 4.8.0.1364 (4.8.0 Service Release 1))
  • "Add Rect struct" (#11187) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • "Added StrokeMiterLimit property in Shape" (#11045)
  • "Mark Transform.ValueProperty as public" (#11543) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #10735 - "[Bug] [Fatal] [Android] CollectionView Causes Application Crash When Keyboard Opens" (#11235) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))
  • GitHub #10778 - "[Spec] DragGestureRecognizer DropGestureRecognizer " (#11537) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11555 - "VS For Mac's XAML tools broken after updating VS and/or Xamarin.Forms" (#11577) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11557 - "Crash in Visual Studio with 4.8.0.1187-pre2 [Bug] " (#11577) (added in 4.8.0.1238-pre3 (4.8.0 Pre Release 3))
  • GitHub #11569 - "[Bug][Brushes] LinearGradientBrush EndPoint default isn't identical to WPF" (#11575) (added in 4.8.0.1269 (4.8.0))
  • GitHub #3667 - "[Enhancement] Add text-transforms to Label" (#3690)
  • GitHub #5232 - "[Enhancement] Add FlyoutItem.IsVisible, Tab.IsVisible, BaseShellItem.IsVisible" (#10980)
  • GitHub #7043 - "Add Picker.TextAlignment" (#7493)
  • GitHub #9753 - "[Bug, CollectionView] CollectionView crashes when ItemsSource updated too fast" (#11235) (added in 4.8.0.1187-pre2 (4.8.0 Pre Release 2))

Blogs

Xamarin Blogs

Thank you

Thank you to our community for helping to make Xamarin.Forms even better! Do you want to contribute in some way, too? Join us on Discord!

Contributors

This release, we received amazing contributions from these individuals. Give them a big round of applause!

Author Commit PR
acuntex (@acuntex) fix position of placeholder (#11889) (#11891) #11891
Andrei (@AndreiMisiukevich) [macOS] Fix BackButtonTitle fixes #10424 (#10693) #10693
Bobface (@Bobface) Add support for scale and rotation of images on GTK (#9649) #9649
Brian Macomber (@bmacombe) Fix 8503, 8787 - text in Entry not immediately visible, or visible after IsVisible set to true (#11140) #11140
Brian Macomber (@bmacombe) [UWP] Fixes 8787 Entry text not visible until focus or window resize (#11351) #11351
Brian Macomber (@bmacombe) [UWP] FormsTextBox clean up OnApplyTemplate (#11285) #11285
Brian Macomber (@bmacombe) Fix initial state (#11953) Issues Resolved fixes #11946 #11953
Brian Macomber (@bmacombe) Fix initial load when WhileEditing (#12765) #12765
Eder Cardoso (@ederbond) Fixing null reference exception on Xamarin.Forms.Platform.Android\Renderers\SwipeViewRenderer.cs (#10827) #10827
Emil Alipiev (@EmilAlipiev) Horizontal CollecitonView UWP scrolling with mouse fixed (#11629) #11629
Kangho Hur (@rookiejava) [Tizen] Adds the Unified Theme Manager (#11779) #11779
Kangho Hur (@rookiejava) [Tizen] Fix the lifecycle of application (#11893) #11893
Kangho Hur (@rookiejava) [Tizen] Fix the behavior of the DisplayAlert (#11871) #11871
Kangho Hur (@rookiejava) [Tizen] Fixed Tizen 4.0 regression issue (#12132) #12132
Kevin Petit (@kvpt) [Android] Add missing unsubscribe on activity destroy (#13023) #13023
KyNam (@KyNam) MacOS - Fix crash when invoking VisualElement.Focus() (#12267) #12267
Max Brister (@maxbrister) Add BoostrapHelper (#11400) #11400
memu8 (@memu8) [Android] FlowDirection property now has an effect on label controls (#11596) #11596
Mike Mostachetti (@mjmostachetti) Including file for testing issue 9451 (#11567) #11567
Mike Mostachetti (@mjmostachetti) adding issue 9210 to shared issues (#11701) #11701
Peter Foot (@peterfoot) Added Font properties support to DatePickerRenderer on WPF (#10846) fixes #10845 #10846
Peter Foot (@peterfoot) [WPF] Pass through AutomationProperties from Xamarin Forms (#11162) #11162
Philippe Leybaert (@activa) Fix for issue #10307, embedded fonts not working on UWP (#11741) #11741
Philippe Leybaert (@activa) [UWP] Fix crash when specifying non-embedded font families (fixes #12153) (#12171) #12171
pRopia (@aaRopi) Added implementation for provisional failure handling method for WkWebview. (#12327) fixes #12312 fixes #12732 #12327
Rastislav Novotný (@duracellko) Use HorizontalGrid and VerticalGrid string values to specify GridItemsLayout in XAML (#8104) #8104
Seungkeun Lee (@myroot) Implement perspective rotation (#11821) #11821
Seungkeun Lee (@myroot) Update CarouselView.VisibleViews default value (#11827) #11827
Seungkeun Lee (@myroot) [Tizen] CollectionView enhancement (#11820) #11820
StevenGranados (@StevenGranados) [MediaElement] Removed line that pauses player before setting it to null. (#9531) #9531
sung-su.kim (@sung-su) [Tizen] Add indicator to CarouselPage (#11824) #11824
sung-su.kim (@sung-su) [Tizen] Fix ShellSectionNavigation (#11780) #11780
tessarolli (@tessarolli) Update WPFPlatformServices.cs (#10652) #10652
tessarolli (@tessarolli) [WPF] Implements CursorPosition on WPF Platform (#10615) Fixes #10548 #10615
Timothé Larivière (@TimLariviere) Mark Transform.ValueProperty as public (#11543) #11543
Vitaly Knyazev (@VitalyKnyazev) Fixes #12585 (#12586) #12586
Vladislav Antonyuk (@VladislavAntonyuk) [WPF] Migrate ControlsGallery to .NET Core (#10736) #10736
weases (@weases) Fixing NullReferenceException in MotionEventHelper for Android (#10840) #10840
workgroupengineering (@workgroupengineering) Fixed Issue #9902 : Xaml[C] Xaml parsing optimizzation (#9904) #9904
Yuriy Holembyovskyy (@yurkinh) Added EmbeddedFontLoader for Mac OS (#10848) fixes #10360 #10848
Yuriy Holembyovskyy (@yurkinh) Feature7043 picker textalignment (#7493) Fixes #7043. #7493
Yuriy Holembyovskyy (@yurkinh) RadionButton control for WPF (#10772) #10772
Yuriy Holembyovskyy (@yurkinh) Changed StepperPositionProperty to Public (#10941) #10941

Community Reviewers

As if that wasn't enough, these amazing community members and MVPs reviewed and tested these pull requests. We couldn't do it without you!

Reviewer PR
(@IoTFier) #11187
(@mikebikerider) #11368
Andres G. Aragoneses (@knocte) #9649
Eilon Lipton (@Eilon) #11973
Erlend Angelsen (@modplug) #12475
Kangho Hur (@rookiejava) #11780
Kangho Hur (@rookiejava) #11820
Kangho Hur (@rookiejava) #11821
Kangho Hur (@rookiejava) #11824
Morten Nielsen (@dotMorten) #11410
Pedro Jesus (@pictos) #10980
Pedro Jesus (@pictos) #7493
Pedro Jesus (@pictos) #11701
Peter Foot (@peterfoot) #9531
Rachel Kang (@rachelkang) #12638
Vladislav Antonyuk (@VladislavAntonyuk) #11410
Vladislav Antonyuk (@VladislavAntonyuk) #11437

Reporting Issues

Your feedback is important to us. If there are any problems with this release, check the Xamarin.Forms Forums and GitHub for existing issues. Report new issues and suggestions on GitHub.

Open Source

Xamarin.Forms 4.8.0 is based on the open-source Xamarin.Forms repository: