6.0.101-preview.11.3
版本发布时间: 2021-12-17 23:20:41
dotnet/maui最新发布版本:8.0.92(2024-10-16 02:14:42)
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
ContentPage
andContentView
- 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 (@Redth)
- [WinUI] Get the Window for Initialize WindowOverlay - #3608 (@drasticactions)
- Don't fire platform navigation requests if no handler is present - #3610 (@PureWeen)
- Call Application.SendStart from the First Windows Create - #3607 (@PureWeen)
- Check for Element instead of VE on FindDispatcher - #3599 (@PureWeen)
- Introduce IVisualDiagnosticsOverlay - #3351 (@drasticactions)
- [AndroidX.targets] Bump to net6.0-android31.0 AndroidX packages. - #2810 (@jpobst)
- Update Essentials Screenshot API, capture native frames. - #3529 (@drasticactions)
- Setup first set of Automation Properties - #3222 (@PureWeen)
- [Android] Fix crash using SearchHandler on Shell - #3399 (@jsuarezruiz)
- [Windows] Fix issues updating Background colors (animation) in some controls - #3590 (@jsuarezruiz)
- [Android] Fix issue drawing a Border without define the border width - #3587 (@jsuarezruiz)
- [Windows] Fix issue not rendering Border if Background is null - #3588 (@jsuarezruiz)
- [Windows] Implement Stepper ValueChanged event - #3589 (@jsuarezruiz)
- Trigger frame events when the frame changes - #3521 (@mattleibow)
- Make ApplicationId lowercase in Templates - #3553 (@Redth)
- Added missing Package references - #3576 (@Clancey)
- Fix Modal Appearing/Disappearing - #3535 (@PureWeen)
- Move types in the Platform folder into the Platform namespaces - #3495 (@mattleibow)
- Move versions to Versions.props and Build WASDK - #3557 (@mattleibow)
- [iOS, Windows, Android] Button border properties - #3411 (@jsuarezruiz)
- BlazorWebView WPF/WinForms build targets need to go into NUPKG - #3532 (@Eilon)
- Update WebView2 version to 1.0.1020.30 - #3540 (@Eilon)
- [Core,Controls] Remove legacy Log and use ILogger - #3401 (@rmarinho)
- Several fixes and changes to the dispatchers - #3453 (@mattleibow)
- Add extension to add an IView to a GridLayout at specific column/row - #3484 (@hartez)
- Modifed XAML Source Generator to emit MemberNotNull attributes for named XAML controls - #3497 (@AmrAlSayed0)
- Set the correct current page when popping - #3515 (@PureWeen)
- Workaround #3514 - #3516 (@mattleibow)
- iOS 13+ always uses the scenes if there is one registered in the manifest - #3454 (@mattleibow)
- Update Entry and Editor to use Windows 11 styles - #3444 (@mattleibow)
- Add demands for macOS - #3508 (@rmarinho)
- [Windows] Fix issue setting the Image Background - #3502 (@jsuarezruiz)
- Skip ComputeXamarinTargetFrameworks - #3492 (@mattleibow)
- Fix iOS Navigation - #3467 (@PureWeen)
- MAUI 395 port editor Autosize to handler - #1202 (@AndrewLang)
- Don't queue up layout changes from ScrollView - #3442 (@hartez)
- [Blazor] Force conversion from static web assets to happen after project references have been resolved - #3450 (@javiercn)
- Correctly dispose the test dispatchers - #3436 (@mattleibow)
- Update MauiAppBuilder.cs - #3445 (@WeihanLi)
- Fix Scoping of MauiContext as it relates to Modal Pages - #3361 (@PureWeen)
- Added meta and icons for item templates - #3262 (@davidortinau)
- Update the Windows App SDK to 1.0 - #3430 (@mattleibow)
- Use the Default Button Styles (Windows 11 Styles) - #3363 (@mattleibow)
- [Android] Update SecureStorage to use EncryptedSharedPreferences - #2807 (@rachelkang)
- [Core] Rename XXXServiceProviders to XXXFactories - #3368 (@rmarinho)
- Add
repro.md
to issue template - #3427 (@jfversluis) - Build projects in parallel - #3428 (@mattleibow)
- Update issue template version boxes - #3426 (@jfversluis)
- Remove the temporary patch - #3418 (@mattleibow)
- Fix GitHub actions - #3413 (@rmarinho)
- Move
IDispatcher
logic out ofIPlatformServices
- #2862 (@mattleibow) - Update issue templates to use GitHub forms (beta) - #3320 (@jfversluis)
- Ensure new layouts are calling Element.OnChildAdded/Removed - #3403 (@hartez)
- [Android,Windows] Add VerticalTextAligment to Editor - #2723 (@rmarinho)
- [Android] Fix mismatch date issue in DatePicker - #3298 (@jsuarezruiz)
- Validate and Fix MAUI Navigation Pages against our legacy tests - #3329 (@PureWeen)
- [Proposal] Obsolete AndExpand - #3362 (@hartez)
- Add WinUI to Checklist - #3367 (@PureWeen)
- Add latest preview announcement post "Current News" - #3365 (@mastorm)
- Remove ConfigureAwait when there's no await - #3352 (@Kahbazi)
- Expand WeakEventManager to Support Delegate - #3253 (@brminnick)
- [workload] setup C# implicit global usings from MSBuild - #3267 (@jonathanpeppers)
- Fix CodeDom reference - #3339 (@eerhardt)
- Use a non-shared folder for tests - #3341 (@mattleibow)
- Added Repo statistics to the readme - #3328 (@Clancey)
- Fix incorrect error message for accessing
Device.PlatformServices
beforeInit()
call - #3276 (@jfversluis) - [iOS] Fix Shell NavigationBar and TabBar color issues on iOS 15 - #3332 (@jsuarezruiz)
- Multi window close - #3295 (@Redth)
- Remove usage of IsolatedStorage - #2710 (@mattleibow)
- Ensure that AbsoluteLayout measures children at their target sizes - #3322 (@hartez)
- Propagate BindingContent to Border children - #3315 (@jsuarezruiz)
- Add support for Border to have visual tree children - #3291 (@mattleibow)
- [workload] move SingleProject.targets to Microsoft.Maui.Sdk - #3281 (@jonathanpeppers)
- Update the classic Essentials project - #3302 (@mattleibow)
- [Windows] Signal native text changes to Editor - #3297 (@jsuarezruiz)
- Fix font path on catalyst - #3282 (@Redth)
- Expose the window hwnd - #3268 (@Redth)
- Add missing UpdateItemsSource override - #3228 (@hartez)
- Automated dotnet-format update - #3234 (@github-actions[bot])
- Fix path separator to work on mac for clean cake target - #3230 (@PureWeen)
- Don't reload image every time size of XamlRoot changes - #3231 (@hartez)
- Fix BlazorWebView designer ancestor InDesignMode check - #3227 (@Eilon)
- Update issueopenerlabels.json - #3226 (@BenBtg)
- Implement .NET 6 features for templates. - #3018 (@jamesmontemagno)
- Remove Forms DeviceInfo and use Essentials - #3213 (@mattleibow)
- Multi Window Support - #2811 (@Redth)
- Incremental SourceGenerator - #2772 (@StephaneDelcroix)
- Clean up Shell Chrome Behaviors - #3165 (@PureWeen)
- [compatibility] IsTrimmable support, fix linker warnings - #3161 (@jonathanpeppers)
- BlazorWebView support for loading custom static assets - #3191 (@Eilon)
- Use win10-* for the RIDs - #3185 (@mattleibow)
- Implement Invalidate method in GraphicsView - #3142 (@jsuarezruiz)
- Avoid NRE using a Path without Data - #3134 (@jsuarezruiz)
- Allow to use Color type where a Brush is expected - #3132 (@jsuarezruiz)
- Add more Shadow device tests - #3133 (@jsuarezruiz)
- [WinUI] Implement SearchBar IsTextPredictionEnabled property - #2911 (@rachelkang)
- Let XAML Hot Reload work with MAUI Samples - #3122 (@drasticactions)
- [core] do not configure loggers by default on mobile - #3107 (@jonathanpeppers)
- Handler-ize CollectionView for Windows - #3115 (@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