Xamarin.Forms 4.1.0.483098-pre1 (4.1.0 Pre Release 1) Release Notes

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

What's New in this Release

Notable Changes

Visual

  • "[Tizen] Add TFM identifier and version explicitly for vs2019 16.1" (#6304)
  • "[Tizen]Add Material Style Renderers" (#6204)
  • Github #1728 - "[Enhancement] Checkbox Control" (#6232)

F100s

Features in Preview

CollectionView

  • "[Tizen] Add CollectionView Tizen Renderer" (#5364)
  • "[Tizen] Enhancement CollectionView implementation on Tizen " (#6181)
  • Github #5693 - "CollectionView crashes on Android 5.1.1 when selecting item" (#5760)
  • Github #5765 - "[Frame, CollectionView, Android]The Label.Text is invisible on Android if DataTemplate have frame as layout" (#6285)
  • Github #5949 - "[Bug] CollectionView cannot access a disposed object." (#6057)
  • Github #6158 - "[Enhancement] Allow to maually deselect item from CollectionView" (#6085)

Release History

  • Tuesday, June 4, 2019 - Xamarin.Forms 4.1.0.483098-pre1 (4.1.0 Pre Release 1)

Tuesday, June 4, 2019 - Xamarin.Forms 4.1.0.483098-pre1 (4.1.0 Pre Release 1)

Issues Fixed

  • Github #2229 - "[UWP] Embedding Forms page in second UWP Window throws exception" (#2432) (#5658)
  • Github #3777 - "Dark mode on Mojave doesn't work right" (#5537)
  • Github #3886 - "UWP Master Detail Page Height Incorrect After Resizing App Window" (#5338)
  • Github #4706 - "Android crash on main page change" (#4707)
  • Github #4832 - "Editor crashes when my app was updated to latest xamarin.forms 3.4 .0.1008975 " (#5653)
  • Github #4879 - "[UWP] ImageButton Padding applied inwards instead of outwards" (#5837)
  • Github #5030 - " Editor cause app crash after clicking the done/next button when on landscape mode in Android" (#5653)
  • Github #5204 - "[Feedback] Xamarin Forms on macOS requires a Width and HeightRequest" (#5600)
  • Github #5252 - "iOS: Color of Editor Placeholder is different than Entry" (#5259)
  • Github #5330 - "[XamlC] Error should be thrown when x:DataType="{x:Type XXX}" is specified in XAMLC" (#5335)
  • Github #5412 - "Xamarin.Forms UWP Navigation bar Disappear while press back button to MasterDetailPage " (#5808)
  • Github #5446 - "[Android]FrameRenderer is creating new FrameDrawable every time BackgroundColor changes without disposing" (#5617)
  • Github #5486 - "BindableLayout DataTemplate - XamlC" (#6178)
  • Github #5533 - "[GTK] Padding/Margin issues" (#5764)
  • Github #5637 - "[Feedback] Xamarin Forms Shared project UWP menu disappears with no way to go back or show the menu again." (#5808)
  • Github #5651 - "Compiled Bindings does not work with Inherited Generic Interfaces" (#6178)
  • Github #5693 - "CollectionView crashes on Android 5.1.1 when selecting item" (#5760)
  • Github #5700 - "ListView System.NullReferenceException" (#5756)
  • Github #5765 - "[Frame, CollectionView, Android]The Label.Text is invisible on Android if DataTemplate have frame as layout" (#6285)
  • Github #5782 - "[CollectionView,Frame] Margin on Frame is not respected in CollectionView" (#6285)
  • Github #5801 - "TextDecorations Strikethrough not called for FormattedText in iOS" (#5803)
  • Github #5832 - "CollectionView doesn't reset visual selection state" (#6085)
  • Github #5881 - "[macOS] NRE when disposing an Entry" (#5914)
  • Github #5921 - "[Bug] WPF TreeHelper doesn't pass forceUsingTheVisualTreeHelper to recursive calls" (#5922)
  • Github #5949 - "[Bug] CollectionView cannot access a disposed object." (#6057)
  • Github #6021 - "[Bug] [macOS] [iOS] ListView does not handle transparent backgrounds correctly" (#6050)

Additional fixes included in this release

  • "[GTK] Add Alpha support to Frame background" (#6092)
  • "[iOS] Fix: memory leak when Navigation.RemovePage is used" (#5695)
  • "[mac] fix build" (#5608)
  • "[macOS] Image crashes App during disposing its renderer" (#5363)
  • "[Tizen] Add TFM identifier and version explicitly for vs2019 16.1" (#6304)
  • "[Tizen] Enhancement CollectionView implementation on Tizen " (#6181)
  • "[Tizen] Fix CarouselPage focus issue" (#5483)
  • "[Tizen] Support new Named Font Sizes for Tizen" (#6113)
  • "[Tizen] Support the Keyboard, MaxLength, IsSpellCheckEnabled, IsReadO…" (#5688)
  • "[Tizen]Add Material Style Renderers" (#6204)
  • "[UWP] fix ListView renderer" (#5144)
  • "[X] pass the instance along the rlq" (#6007)
  • "[Xaml/XamlC] Allow to connect to static event handler" (#5119)
  • "[Xaml] better exception message in case of a TypeConversion issue" (#6101)
  • "[Xaml] Throw XamlParseException when a duplicate property is detected" (#5558)
  • "[XamlC] Fix message for unresolved event handler reference in DataTemplate" (#5502)
  • "cellrenderer leak fixes + test" (#5655)
  • "Change error message when Map.ItemTemplate is set to a DataTemplateSelector" (#5944)
  • "Ehandler2" (#6024)
  • "Fix comment typo" (#6148)
  • "Profiler v11; No man init" (#6087)
  • "Refactoring Map.ItemsSource to use NotifyCollectionChangedEventArgsEx…" (#5689)
  • "Remove Xamarin.Android.Support.v7.MediaRouter" (#5941)
  • "Update BottomNavigationViewUtils.cs: removing redundant Dispose() calls" (#5298)
  • Github #4325 - "Unable to activate instance of type Xamarin.Forms.Platform.Android.AppCompat.TabbedPageRenderer from native handle" (#4707)

Known Issues

  • Github #6261 - "[Bug] FlyoutBehavior not working Xamarin 4 release"
  • Github #6259 - "[Bug] [Android] TabbedPage overrides Entry values when more than 4 Pages are added"
  • Github #6247 - "[Bug] NullReference Exception: Grid.MeasureGrid (Android)"
  • Github #6188 - "[Bug] Visual Material, does not fill the fields with the right indexes"
  • Github #6106 - "Rework LogicalChildren on Element to better represent visual vs logical children"
  • Github #6019 - "Renderer not found exception occurs on Version 3.6.0"
  • Github #5987 - "[Bug] Shell cannot style toolbar items "
  • Github #5831 - "[iOS] Layout and Styling Issues when reloading page"
  • Github #5625 - "CollectionView SelectionMode SelectionMode="Multiple" Not working"
  • Github #5601 - "CollectionView SelectedItem TwoWay Binding not working"
  • Github #5382 - "The Xamarin.Forms.CarouselView crashes inside a ListView in iOS only"
  • Github #5366 - "Android + Visual + Focus is wonky"
  • Github #5354 - "[CollectionView] Updating the ItemsLayout type should refresh the layout"
  • Github #5041 - "Xamarin.Forms 4.0 Pre2 CollectionView.EmptyView cannot arrange content in center."
  • Github #4658 - "[CollectionView, UWP] Updating items shows white rows"
  • Github #3678 - "[Xaml] Fixes including ResourceDictionary from another ResourceDictionary"

Breaking Changes

  • Github #5252 - "iOS: Color of Editor Placeholder is different than Entry" (#5259)
  • Github #5330 - "[XamlC] Error should be thrown when x:DataType="{x:Type XXX}" is specified in XAMLC" (#5335)

Namespace Xamarin.Forms.Platform.MacOS

Type Changed: Xamarin.Forms.Platform.MacOS.ImageRenderer

Modified base type:

-Xamarin.Forms.Platform.MacOS.ViewRenderer`2[Xamarin.Forms.Image,AppKit.NSView]
+Xamarin.Forms.Platform.MacOS.ViewRenderer`2[Xamarin.Forms.Image,AppKit.NSImageView]

Namespace Xamarin.Forms.Platform.Tizen

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

Modified base type:

-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Button,Xamarin.Forms.Platform.Tizen.Native.Button]
+Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Button,ElmSharp.Button]

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

Modified base type:

-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Entry,Xamarin.Forms.Platform.Tizen.Native.Entry]
+Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Entry,ElmSharp.Entry]

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

Modified base type:

-Xamarin.Forms.Platform.Tizen.ViewRenderer`2[Xamarin.Forms.Frame,Xamarin.Forms.Platform.Tizen.Native.Canvas]
+Xamarin.Forms.Platform.Tizen.LayoutRenderer

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

Removed method:

public static void UpdateKeyboard (this Native.Entry control, Xamarin.Forms.Keyboard keyboard, bool isSpellCheckEnabled, bool isTextPredictionEnabled);

API Changes

See all API Changes here.

  • "[Maps] Add MapClicked event" (#5317)
  • "Map with ItemTemplateSelector" (#5226)

Blogs

blog.xamarin.com

Thank you

Thank you to our community for helping to make Xamarin.Forms even better!

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

Author Commit PR
Akihiko Odaki (@akihikodaki) [XamlC] Fix message for unresolved event handler reference in DataTemplate (#5502) #5502
Akihiko Odaki (@akihikodaki) [Xaml] Throw XamlParseException when a duplicate property is detected (#5558) #5558
Akihiko Odaki (@akihikodaki) [Xaml[C]] Allow to connect to static event handler (#5119) #5119
Andrei (@AndreiMisiukevich) fixed crash (#5363) #5363
Andrei (@AndreiMisiukevich) macOs: fixes NRE in during entryRenderer disposing (#5914) #5914
Andrei Nitescu (@andreinitescu) iOS: Color of Editor Placeholder is different than Entry (#5259) fixes #5252 #5259
Andrei Nitescu (@andreinitescu) Map with ItemTemplateSelector (#5226) #5226
Andrei Nitescu (@andreinitescu) Refactoring Map.ItemsSource to use NotifyCollectionChangedEventArgsExtensions (#5689) #5689
Andrei Nitescu (@andreinitescu) Templated view GetTemplateChild(string) (#5691) #5691
Andrei Nitescu (@andreinitescu) iOS: Setting FormattedText doesn't use TextDecorations (#5803) #5803
Andres G. Aragoneses (@knocte) [Core] Add some Device.InvokeOnMainThread helpers (#5028) #5028
Brian Macomber (@bmacombe) [UWP]Fixes #3886, Master Detail, incorrect master height after window resize (#5338) #5338
Carbaholic (@Carbaholic) Fixes _child.Element null reference exception (#5756) #5756
Emil Alipiev (@EmilAlipiev) DetectPlatform Fixed for UWP (#5182) fixes #4852 #5182
Gabor Nemeth (@gabor-nemeth) [macOS] enhance menu (#4718) #4718
inforithmics (@inforithmics) fixes BindableLayout DataTemplate - XamlC #5486 (#6178) #6178
jcmanke (@jcmanke) Set ImeOptions to Done on Android Editor (#5653) #5653
jcmanke (@jcmanke) [Maps] Add MapClicked event (#5317) #5317
jcmanke (@jcmanke) Changed error message when Map.ItemTemplate is a DataTemplateSelector to direct the user to the ItemTemplateSelector property (#5944) #5944
Johannes Egger (@johannesegger) WpfHelper.FindChildren: Pass forceUsingTheVisualTreeHelper to recursive calls. (#5922) #5922
Kangho Hur (@rookiejava) [Material] [Tizen] Adds Xamarin.Forms.Material.Tizen for Visual (#5453) #5453
Kangho Hur (@rookiejava) [Tizen] Support new Named Font Sizes for Tizen (#6113) #6113
Kangho Hur (@rookiejava) [Tizen] Add TFM identifier and version explictly for vs2019 16.1 (#6304) #6304
Kevin Petit (@kvpt) [Android] Fix old root page dispose when main page change (#4707) Fixes #4706 Fixes #4325 #4707
kicsiede (@kicsiede) Cellrenderer leak fixes + test (#5655) fixes #5604 fixes #5603 #5655
kicsiede (@kicsiede) [iOS] Fix: memory leak when Navigation.RemovePage is used (#5695) #5695
Matt Lacey (@mrlacey) Issue4879 ImageButton Padding (UWP) (#5837) #5837
Matt Lacey (@mrlacey) Fix disappearing MasterDetail menu on UWP (#5808) #5808
mkieres (@mkieres) Add B40005 test case (#5912) #5912
Morten Nielsen (@dotMorten) Adds the image resouces iOS and Android gallery apps already had to UWP (#6000) #6000
mtz (@mfkl) [GTK] Fix NavigationBar check for Layout calc (#5506) #5506
mtz (@mfkl) [GTK] Add Alpha support to Frame background (#6092) #6092
Muzib (@mdmozibur) Addresses issue #5854 (#5855) #5855
Oliver Brown (@GalaxiaGuy) Make NSScrollView for NSTableView not draw background, and add test case. (#6050) #6050
PawKanarek (@PawKanarek) Update BottomNavigationViewUtils.cs: removing redundant Dispose() calls (#5298) #5298
Pedro Jesus (@pictos) Create UITest for Bugzilla41619 (#5829) #5829
puppetSpace (@puppetSpace) Create UITest for issue B44476 (#5859) #5859
puppetSpace (@puppetSpace) Add UITest for issue 1763 (#5907) #5907
puppetSpace (@puppetSpace) Created UITest for issue B43527 (#5898) #5898
Seungkeun Lee (@myroot) [Tizen] Fix CarouselPage focus issue (#5483) #5483
Seungkeun Lee (@myroot) [Tizen] Add CollectionView Tizen Renderer (#5364) fixes #3172 #5364
Seungkeun Lee (@myroot) [Tizen] Enhancement CollectionView implementation on Tizen (#6181) #6181
shmin (@shyunMin) [Tizen]Add Material Style Renderers (#6204) #6204
Stanislav (@stanbav) [GTK] Fix Padding/Margin properties of Frame element (#5533) (#5764) #5764
Sunner (@SuNNjek) Implemented ImageButtonRenderer for WPF (#5668) #5668
yourina (@yourina) [Tizen] Support the Keyboard, MaxLength, IsSpellCheckEnabled, IsReadOnly propertyon SearchBarRenderer (#5688) fixes #2902 #5688
yourina (@yourina) Add the ShellRenderer for Tizen (#5818) #5818

Feedback welcome

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.1.0 is based on the open-source Xamarin.Forms repository: