6.0.101-preview.11
Preview
Contributors
We are on a monthly cadence of previewing .NET MAUI, and we are happy to announce the availability of preview 11. This release is a bit different, and there are some warnings so please read on before plunging headfirst into updating.
IMPORTANT: If you are actively developing an app with .NET MAUI and need the best Visual Studio experience, we recommend waiting until Visual Studio 2022 (17.1 Preview 2) is available.
At this point in our development, we are making concurrent enhancements to both Visual Studio and SDK feature updates to support .NET MAUI scenarios. For this reason we have been shipping .NET MAUI previews in sync with Visual Studio 2022 previews. Due to issues discovered late in QA in an unrelated workload, we are holding back the Visual Studio 2022 preview that pairs with the .NET MAUI preview 11. This means:
- you must update to preview 11 via the dotnet CLI.
- you must disable XAML Hot Reload in Visual Studio 2022 (17.1 Preview 1)
- you risk having conflicts once 17.1 Preview 2 ships
Highlights
- Fluent Design System styling for Button, Editor, and Entry on Windows
- Multi-window implementation available for Android, iOS, and macOS. Windows is available with an experimental release of Windows App SDK.
- Updated templates with C# 10-ism and item templates for
ContentPageandContentView - iOS type alignment with .NET 6 - requires recompile of any iOS libs
What’s Changed
- [p11] iOS: Load fonts from filename instead of NSData in CGDataProvider - #3697 ([Jonathan Dick](https://github.com/Redth))
- [WinUI] Get the Window for Initialize WindowOverlay - #3608 ([Tim Miller](https://github.com/drasticactions))
- Don’t fire platform navigation requests if no handler is present - #3610 ([Shane Neuville](https://github.com/PureWeen))
- Call Application.SendStart from the First Windows Create - #3607 ([Shane Neuville](https://github.com/PureWeen))
- Check for Element instead of VE on FindDispatcher - #3599 ([Shane Neuville](https://github.com/PureWeen))
- Introduce IVisualDiagnosticsOverlay - #3351 ([Tim Miller](https://github.com/drasticactions))
- [AndroidX.targets] Bump to net6.0-android31.0 AndroidX packages. - #2810 ([@jpobst](https://github.com/jpobst))
- Update Essentials Screenshot API, capture native frames. - #3529 ([Tim Miller](https://github.com/drasticactions))
- Setup first set of Automation Properties - #3222 ([Shane Neuville](https://github.com/PureWeen))
- [Android] Fix crash using SearchHandler on Shell - #3399 ([Javier Suárez](https://github.com/jsuarezruiz))
- [Windows] Fix issues updating Background colors (animation) in some controls - #3590 ([Javier Suárez](https://github.com/jsuarezruiz))
- [Android] Fix issue drawing a Border without define the border width - #3587 ([Javier Suárez](https://github.com/jsuarezruiz))
- [Windows] Fix issue not rendering Border if Background is null - #3588 ([Javier Suárez](https://github.com/jsuarezruiz))
- [Windows] Implement Stepper ValueChanged event - #3589 ([Javier Suárez](https://github.com/jsuarezruiz))
- Trigger frame events when the frame changes - #3521 ([Matthew Leibowitz](https://github.com/mattleibow))
- Make ApplicationId lowercase in Templates - #3553 ([Jonathan Dick](https://github.com/Redth))
- Added missing Package references - #3576 ([James Clancey](https://github.com/Clancey))
- Fix Modal Appearing/Disappearing - #3535 ([Shane Neuville](https://github.com/PureWeen))
- Move types in the Platform folder into the Platform namespaces - #3495 ([Matthew Leibowitz](https://github.com/mattleibow))
- Move versions to Versions.props and Build WASDK - #3557 ([Matthew Leibowitz](https://github.com/mattleibow))
- [iOS, Windows, Android] Button border properties - #3411 ([Javier Suárez](https://github.com/jsuarezruiz))
- BlazorWebView WPF/WinForms build targets need to go into NUPKG - #3532 ([@Eilon](https://github.com/Eilon))
- Update WebView2 version to 1.0.1020.30 - #3540 ([@Eilon](https://github.com/Eilon))
- [Core,Controls] Remove legacy Log and use ILogger - #3401 ([Rui Marinho](https://github.com/rmarinho))
- Several fixes and changes to the dispatchers - #3453 ([Matthew Leibowitz](https://github.com/mattleibow))
- Add extension to add an IView to a GridLayout at specific column/row - #3484 ([@hartez](https://github.com/hartez))
- Modifed XAML Source Generator to emit MemberNotNull attributes for named XAML controls - #3497 ([@AmrAlSayed0](https://github.com/AmrAlSayed0))
- Set the correct current page when popping - #3515 ([Shane Neuville](https://github.com/PureWeen))
- Workaround #3514 - #3516 ([Matthew Leibowitz](https://github.com/mattleibow))
- iOS 13+ always uses the scenes if there is one registered in the manifest - #3454 ([Matthew Leibowitz](https://github.com/mattleibow))
- Update Entry and Editor to use Windows 11 styles - #3444 ([Matthew Leibowitz](https://github.com/mattleibow))
- Add demands for macOS - #3508 ([Rui Marinho](https://github.com/rmarinho))
- [Windows] Fix issue setting the Image Background - #3502 ([Javier Suárez](https://github.com/jsuarezruiz))
- Skip ComputeXamarinTargetFrameworks - #3492 ([Matthew Leibowitz](https://github.com/mattleibow))
- Fix iOS Navigation - #3467 ([Shane Neuville](https://github.com/PureWeen))
- MAUI 395 port editor Autosize to handler - #1202 ([@AndrewLang](https://github.com/AndrewLang))
- Don’t queue up layout changes from ScrollView - #3442 ([@hartez](https://github.com/hartez))
- [Blazor] Force conversion from static web assets to happen after project references have been resolved - #3450 ([@javiercn](https://github.com/javiercn))
- Correctly dispose the test dispatchers - #3436 ([Matthew Leibowitz](https://github.com/mattleibow))
- Update MauiAppBuilder.cs - #3445 ([@WeihanLi](https://github.com/WeihanLi))
- Fix Scoping of MauiContext as it relates to Modal Pages - #3361 ([Shane Neuville](https://github.com/PureWeen))
- Added meta and icons for item templates - #3262 ([David Ortinau](https://github.com/davidortinau))
- Update the Windows App SDK to 1.0 - #3430 ([Matthew Leibowitz](https://github.com/mattleibow))
- Use the Default Button Styles (Windows 11 Styles) - #3363 ([Matthew Leibowitz](https://github.com/mattleibow))
- [Android] Update SecureStorage to use EncryptedSharedPreferences - #2807 ([Rachel Kang](https://github.com/rachelkang))
- [Core] Rename XXXServiceProviders to XXXFactories - #3368 ([Rui Marinho](https://github.com/rmarinho))
- Add
repro.mdto issue template - #3427 ([Gerald Versluis](https://github.com/jfversluis)) - Build projects in parallel - #3428 ([Matthew Leibowitz](https://github.com/mattleibow))
- Update issue template version boxes - #3426 ([Gerald Versluis](https://github.com/jfversluis))
- Remove the temporary patch - #3418 ([Matthew Leibowitz](https://github.com/mattleibow))
- Fix GitHub actions - #3413 ([Rui Marinho](https://github.com/rmarinho))
- Move
IDispatcherlogic out ofIPlatformServices- #2862 ([Matthew Leibowitz](https://github.com/mattleibow)) - Update issue templates to use GitHub forms (beta) - #3320 ([Gerald Versluis](https://github.com/jfversluis))
- Ensure new layouts are calling Element.OnChildAdded/Removed - #3403 ([@hartez](https://github.com/hartez))
- [Android,Windows] Add VerticalTextAligment to Editor - #2723 ([Rui Marinho](https://github.com/rmarinho))
- [Android] Fix mismatch date issue in DatePicker - #3298 ([Javier Suárez](https://github.com/jsuarezruiz))
- Validate and Fix MAUI Navigation Pages against our legacy tests - #3329 ([Shane Neuville](https://github.com/PureWeen))
- [Proposal] Obsolete AndExpand - #3362 ([@hartez](https://github.com/hartez))
- Add WinUI to Checklist - #3367 ([Shane Neuville](https://github.com/PureWeen))
- Add latest preview announcement post “Current News” - #3365 ([@mastorm](https://github.com/mastorm))
- Remove ConfigureAwait when there’s no await - #3352 ([@Kahbazi](https://github.com/Kahbazi))
- Expand WeakEventManager to Support Delegate - #3253 ([@brminnick](https://github.com/brminnick))
- [workload] setup C# implicit global usings from MSBuild - #3267 ([Jonathan Peppers](https://github.com/jonathanpeppers))
- Fix CodeDom reference - #3339 ([@eerhardt](https://github.com/eerhardt))
- Use a non-shared folder for tests - #3341 ([Matthew Leibowitz](https://github.com/mattleibow))
- Added Repo statistics to the readme - #3328 ([James Clancey](https://github.com/Clancey))
- Fix incorrect error message for accessing
Device.PlatformServicesbeforeInit()call - #3276 ([Gerald Versluis](https://github.com/jfversluis)) - [iOS] Fix Shell NavigationBar and TabBar color issues on iOS 15 - #3332 ([Javier Suárez](https://github.com/jsuarezruiz))
- Multi window close - #3295 ([Jonathan Dick](https://github.com/Redth))
- Remove usage of IsolatedStorage - #2710 ([Matthew Leibowitz](https://github.com/mattleibow))
- Ensure that AbsoluteLayout measures children at their target sizes - #3322 ([@hartez](https://github.com/hartez))
- Propagate BindingContent to Border children - #3315 ([Javier Suárez](https://github.com/jsuarezruiz))
- Add support for Border to have visual tree children - #3291 ([Matthew Leibowitz](https://github.com/mattleibow))
- [workload] move SingleProject.targets to Microsoft.Maui.Sdk - #3281 ([Jonathan Peppers](https://github.com/jonathanpeppers))
- Update the classic Essentials project - #3302 ([Matthew Leibowitz](https://github.com/mattleibow))
- [Windows] Signal native text changes to Editor - #3297 ([Javier Suárez](https://github.com/jsuarezruiz))
- Fix font path on catalyst - #3282 ([Jonathan Dick](https://github.com/Redth))
- Expose the window hwnd - #3268 ([Jonathan Dick](https://github.com/Redth))
- Add missing UpdateItemsSource override - #3228 ([@hartez](https://github.com/hartez))
- Automated dotnet-format update - #3234 (@github-actions[bot])
- Fix path separator to work on mac for clean cake target - #3230 ([Shane Neuville](https://github.com/PureWeen))
- Don’t reload image every time size of XamlRoot changes - #3231 ([@hartez](https://github.com/hartez))
- Fix BlazorWebView designer ancestor InDesignMode check - #3227 ([@Eilon](https://github.com/Eilon))
- Update issueopenerlabels.json - #3226 ([@BenBtg](https://github.com/BenBtg))
- Implement .NET 6 features for templates. - #3018 ([James Montemagno](https://github.com/jamesmontemagno))
- Remove Forms DeviceInfo and use Essentials - #3213 ([Matthew Leibowitz](https://github.com/mattleibow))
- Multi Window Support - #2811 ([Jonathan Dick](https://github.com/Redth))
- Incremental SourceGenerator - #2772 ([Stéphane Delcroix](https://github.com/StephaneDelcroix))
- Clean up Shell Chrome Behaviors - #3165 ([Shane Neuville](https://github.com/PureWeen))
- [compatibility] IsTrimmable support, fix linker warnings - #3161 ([Jonathan Peppers](https://github.com/jonathanpeppers))
- BlazorWebView support for loading custom static assets - #3191 ([@Eilon](https://github.com/Eilon))
- Use win10-* for the RIDs - #3185 ([Matthew Leibowitz](https://github.com/mattleibow))
- Implement Invalidate method in GraphicsView - #3142 ([Javier Suárez](https://github.com/jsuarezruiz))
- Avoid NRE using a Path without Data - #3134 ([Javier Suárez](https://github.com/jsuarezruiz))
- Allow to use Color type where a Brush is expected - #3132 ([Javier Suárez](https://github.com/jsuarezruiz))
- Add more Shadow device tests - #3133 ([Javier Suárez](https://github.com/jsuarezruiz))
- [WinUI] Implement SearchBar IsTextPredictionEnabled property - #2911 ([Rachel Kang](https://github.com/rachelkang))
- Let XAML Hot Reload work with MAUI Samples - #3122 ([Tim Miller](https://github.com/drasticactions))
- [core] do not configure loggers by default on mobile - #3107 ([Jonathan Peppers](https://github.com/jonathanpeppers))
- Handler-ize CollectionView for Windows - #3115 ([@hartez](https://github.com/hartez))
New Contributors
- @BenBtg made their first contribution in https://github.com/dotnet/maui/pull/3226
- @Kahbazi made their first contribution in https://github.com/dotnet/maui/pull/3352
- @mastorm made their first contribution in https://github.com/dotnet/maui/pull/3365
- @WeihanLi made their first contribution in https://github.com/dotnet/maui/pull/3445
- @AndrewLang made their first contribution in https://github.com/dotnet/maui/pull/1202
- @jpobst made their first contribution in https://github.com/dotnet/maui/pull/2810