9.0.0-preview.1.9973
Preview
Contributors
Installation
Install .NET 9 and the .NET MAUI workload to get started with this release.
Known issues
- Due to a late-breaking change in the debugger tooling within Visual Studio, XAML Hot Reload will not load with .NET 9 Preview 1 projects targetting iOS and Android and should result in a yellow error bar. It should not break the deployment or debugging of the app, and you can enable ignoring future errors from appearing from the bar. This should be addressed in a future release of Visual Studio.
- building
net8.0-*target frameworks from .NET 9 does not work in preview 1.
MAUI Product Fixes
Fix for button cornerradius 0 on android by @WdeBruin in #18959 Fix for #11991 - CollectionView SelectedItem BackgroundColor is always Gray on iOS by @Axemasta in #17464 [Android] Correctly clear text tapping the clear button on Entry by Javier Suárez in #17543 [iOS] Fix wrong gray color using transparent in iOS gradients by Javier Suárez in #17696 Fix Clear Button size calculation by Shane Neuville in #19482 Fix attribute typo by Shane Neuville in #19567 Fix disappearing cell issue for TableView on Android by @hartez in #19723 Fix SetProgressViewOffset on SwipeRefreshLayout by Shane Neuville in #19767 Fix incorrect defaults when adding non-BindableObject as AbsoluteLayout child by @hartez in #19839 [iOS] Fix Flyout layout by @emaf in #19125 Schedule Android layout requests received during layout on the UI thread by @hartez in #19349 [macOS] Fix GesturePlatformManager.CalculatePosition when asked for a relative position by @MartyIX in #19371 Fix Label Multilinetruncation (MaxLines / LineBreakMode) by Javier Suárez in #14918 [Windows] Fix Tabbar Visibility Tests by @Foda in #19662 Fix has color to use maui context on passed in view by Shane Neuville in #19682 Correct nullable annotations on IMediaPicker by Gerald Versluis in #19157 [Windows] Show the Raw HTML for Html Label in case of error by Tim Miller in #17470 [Catalyst] Allow setting of CancelButtonColor on SearchBar when using Mac Idiom by @mikeparker104 in #19838 iOS Keyboard Scrolling Improvements and UITests (not from fork) by @tj-devel709 in #17670 [Android] FlyoutIsPresented property opens the Flyout by Javier Suárez in #19807 Fix Developer Tools option setting for Blazor Hybrid Mac Catalyst view by Tim Miller in #19909 Process the hardware enter key as “Done” by Shane Neuville in #16386 [Android] Fix gif animation initial state by Javier Suárez in #14295 Translucent and Transparent NavigationBar on iOS by @tj-devel709 in #19204 Allow GesturePlatformManager to be created for views with null window by @artemvalieiev in #18938 Handle Semantics flags more explicitly on iOS by @hartez in #19370 XamlC WarnAsErrors by Stéphane Delcroix in #19337 Improves performance on BindableProperty by Alberto Aldegheri in #17756 [Android] Fix gif animation initial state by Javier Suárez in #14295 [Catalyst] Allow setting of CancelButtonColor on SearchBar when using Mac Idiom by @mikeparker104 in #19838 [Windows] Fix Tabbar Visibility Tests by @Foda in #19662 Handle setting of DesiredSize in Measure implementations, rather than MeasureOverride by @hartez in #19794 Fix disappearing cell issue for TableView on Android by @hartez in #19723 Fix SetProgressViewOffset on SwipeRefreshLayout by Shane Neuville in #19767 Fix has color to use maui context on passed in view by Shane Neuville in #19682 [Windows] Show the Raw HTML for Html Label in case of error by Tim Miller in #17470 Fix incorrect defaults when adding non-BindableObject as AbsoluteLayout child by @hartez in #19839 [iOS] Fix Flyout layout by @emaf in #19125 [macOS] Fix GesturePlatformManager.CalculatePosition when asked for a relative position by @MartyIX in #19371 Fix Label Multilinetruncation (MaxLines / LineBreakMode) by Javier Suárez in #14918 Fix attribute typo by Shane Neuville in #19567 Fix Clear Button size calculation by Shane Neuville in #19482 [Android] Correctly clear text tapping the clear button on Entry by Javier Suárez in #17543 Fix for #11991 - CollectionView SelectedItem BackgroundColor is always Gray on iOS by @Axemasta in #17464 Fix for button cornerradius 0 on android by @WdeBruin in #18959 Change the default value for xaml-comp by Stéphane Delcroix in #19390 Add design time converters by @etvorun in #19301 [WinUI] Add workaround for Connectivity check on Win10 by @Foda in #19261 [Windows] Adjust recycle check in ItemContentControl by @Foda in #20079 Rectify the scopes in the builder by Matthew Leibowitz in #19932 Enable building WASDK Self-Contained packaged apps by Matthew Leibowitz in #20019 allow x:Type extension for BPConverter by Stéphane Delcroix in #18540 Source Generator Performance Improvements by @mgoertz-msft in #19990 Add better exception for missing Maps on Windows by Gerald Versluis in #19046 Adding Mobile tag to MAUI project templates by @MSLukeWest in #20191 [xamlg] improve error for Xamarin.Forms namespace by Jonathan Peppers in #19683 sealed some internal classes in Controls.Core that are not inherited from by @Lehonti in #17671 Avoid zero-length array allocations by @molesmoke in #19300 [Trimming] Fix several trimming warnings by @simonrozsival in #19402 Optimize IndexOf lookups by @symbiogenesis in #19963 Re-generate the template files by Matthew Leibowitz in #19993 Remove unused functions by @symbiogenesis in #20029 Revert “Remove unused functions (#20029)” by Tim Miller in #20050 Resizetizer Regex Fix by @Eden-Mor in #19600 Make sure we support keyed services in client apps by Matthew Leibowitz in #20014 Add Obsolete tag for old IndexOf by Tim Miller in #20068 Default to no item selected by Matthew Leibowitz in #20072 Remove Fuschia once again… by Gerald Versluis in #19434 Enable string search and comparison CA rules in Core by @hartez in #19796 Enable CA1822 in Core and convert eligible methods to static by @hartez in #19800 Do not use underscores in the ApplicationId by Matthew Leibowitz in #19377
Tests
[Testing] Add scroll methods to UITest by Javier Suárez in #19181 [Testing] Added DragCoordinates action to appium UITest by Javier Suárez in #19333 [Testing] Added lifecycle methods to UITest by Javier Suárez in #19102 [Testing] Added UI Test for manual test D9 by Javier Suárez in #18762 [Testing] Add Back method in the UITest lifecycle actions by Javier Suárez in #19442 [Testing] Added UI Test for manual test C3 by Javier Suárez in #18899 [Testing] Added UI Test for manual test C2 by Javier Suárez in #18794 Save device logs when UI Tests fail by Matthew Leibowitz in #19085 Move the device test for ShowsKeyboardOnFocus to Appium by Javier Suárez in #18747 Set Simulator UDID explicitly for CG UI tests by Gerald Versluis in #19540 Break ControlsHeadlessTestRunner.RunTestsAsync method when discovering tests by Gerald Versluis in #19559 Disable flaky compat test by Gerald Versluis in #19546 Grab device logs if app stops running by Shane Neuville in #19562 Attach And Run iOS / catalyst semantic tests by Shane Neuville in #19571 [Testing] Added appium UITest for FlyoutNavigationBetweenItemsWithNavigationStacks by Javier Suárez in #19444 Enable Windows Image device tests by Matthew Leibowitz in #20167 [testing] Enable a way to test on real devices by Rui Marinho in #19492 Fix some UI Test timings by Shane Neuville in #19462 Disable failing semantic tests on iOS by Matthew Leibowitz in #19344 NativeAOT: Add integration tests for testing MAUI compatibility with NativeAOT on iOS by @ivanpovazan in #19194 Move GroupListViewHeaderIndexOutOfRange to Appium by Shane Neuville in #19799 passing test for 18976 by Stéphane Delcroix in #19785 Split the InputTransparency tests by Matthew Leibowitz in #19925 NativeAOT: Update NativeAOT integration tests to run with 9.0.1xx-preview1 by @ivanpovazan in #20268 [tests] Move integration tests to use MauiDotNetTfm by Rui Marinho in #20060 Reduce the complexity of the AttachAndRun code by Matthew Leibowitz in #19352 Modify FlyoutHeaderAdaptsToMinimumHeight test to work better on CI by @Foda in #19685
Dependency Updates
[net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19439 [net9.0] Update dependencies from dotnet/aspnetcore by @dotnet-maestro in #19512 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19485 [net9.0] Update dependencies from dotnet/aspnetcore by @dotnet-maestro in #19440 [net9.0] Update dependencies from xamarin/xamarin-macios by @dotnet-maestro in #19491 [main] Update dependencies from dotnet/xharness by @dotnet-maestro in #19336 [main] Update dependencies from dotnet/xharness by @dotnet-maestro in #19474 [net9.0] Update dependencies from dotnet/aspnetcore by @dotnet-maestro in #19498 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19604 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19672 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19677 [net9.0] Update dependencies from xamarin/xamarin-macios by @dotnet-maestro in #19531 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19694 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19791 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19811 [net9.0] Update dependencies from xamarin/xamarin-macios by @dotnet-maestro in #20096 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #20085 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #20013 [net9.0] Update dependencies from xamarin/xamarin-android by @dotnet-maestro in #19850 [net9.0] Update dependencies from dotnet/aspnetcore by @dotnet-maestro in #19523 Bump to new stable versions of iOS and Android workloads by Rui Marinho in #19393 Bump Xamarin.UITest from 4.1.4 to 4.3.3 by Gerald Versluis in #19394 Bump Xamarin.UITest to 4.3.4 by Gerald Versluis in #20067 [ci] Update System.Drawing.Common by Rui Marinho in #20122 [main] Update dependencies from dotnet/xharness by @dotnet-maestro in #19901 [net9.0] Update dependencies from xamarin/xamarin-macios by @dotnet-maestro in #19911 [net9.0] Update dependencies from dotnet/aspnetcore by @dotnet-maestro in #19908 [main] Update version for nightly by Rui Marinho in #19981
Housekeeping
[ci] Execute build.ps1 from bash on Mac to avoid STDIO streams hang by @mjbond-msft in #19257 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19305 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19316 Improve appium install on CI build agents by Gerald Versluis in #19248 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19351 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19413 Update version for CI/Nightlies by Jonathan Dick in #19425 [net9.0] Update net9.0 with new versions by Rui Marinho in #19236 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19454 [ci] Move to new compliance task by Rui Marinho in #19475 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19510 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19533 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19577 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19769 [housekeeping] Automated PR to fix formatting errors by @github-actions in #19813 [ci] Don’t skip default provision on iOS by Rui Marinho in #19652 [net9.0] Enable trimming windows by Rui Marinho in #19680 [Windows] Fix verification of test count in CI by @Foda in #19697 [net9.0] Merge main to net9 by Rui Marinho in #19700 Update eng/README.md by @eltociear in #19735 Clean up async assertions by @hartez in #19385 Update bug-report.yml with 8.0.5 by Shane Neuville in #19795 [net9.0] Enable tizen by Rui Marinho in #19679 [net9.0] Merge main to net9.0 by Rui Marinho in #20077 [ci] Restore dotnet tools in provisioned sdk by Rui Marinho in #20106 Reset the xaml in the Sandbox MainPage.xaml by @tj-devel709 in #20082 [ci] Add missing demands by Rui Marinho in #20183 Add comments to internal methods for XAML Hot Reload usage by Tim Miller in #20215 [net9.0] Merge main to net9.0 by Rui Marinho in #20223 Revert “[net9.0] Merge main to net9.0” by Rui Marinho in #20229 [net9.0] Merge main to net9.0 by Rui Marinho in #20230 [release/9.0.1xx-preview1] Update with net9.0 by Rui Marinho in #20254 [release/9.0.1xx-preview1] Update versions by Rui Marinho in #20158 [ci] Push artifacts for the sample tests by Rui Marinho in #20269 [release/9.0.1xx-preview1] Update versions by Rui Marinho in #20279 [release/9.0.1xx-preview1] Revert “Dont build net8” by Rui Marinho in #20286 [ci] Bump XCode to 15.2.0 by Rui Marinho in #19836 [ci] Don’t install xharness globally by Rui Marinho in #19863 Update README.md by James Montemagno in #19797 Merge branch ‘release/8.0.1xx-sr1’ into main by Shane Neuville in #19936 Update bug-report.yml to 8.0.6 by Shane Neuville in #19952 [net9.0] Merge main to net9 by Rui Marinho in #19907 Enforce preference of braces for code blocks (IDE0011) in .editorconfig by Gerald Versluis in #20056 [net9.0] Merge main to net9.0 by Rui Marinho in #20077 [ci] Restore dotnet tools in provisioned sdk by Rui Marinho in #20106
New Contributors
@WdeBruin made their first contribution in https://github.com/dotnet/maui/pull/18959 @artemvalieiev made their first contribution in https://github.com/dotnet/maui/pull/18938 @Axemasta made their first contribution in https://github.com/dotnet/maui/pull/17464 @tarasverq made their first contribution in https://github.com/dotnet/maui/pull/19659 @simonrozsival made their first contribution in https://github.com/dotnet/maui/pull/19402 @JanKrivanek made their first contribution in https://github.com/dotnet/maui/pull/19824 @symbiogenesis made their first contribution in https://github.com/dotnet/maui/pull/19963 @Eden-Mor made their first contribution in https://github.com/dotnet/maui/pull/19600
Full Changelog: https://github.com/dotnet/maui/compare/8.0.6…9.0.100-preview.1.9973