This release updates CommunityToolkit.Maui to .NET 11.
It also enables Runtime Async only on the net11.0-windows TFM. Runtime Async is not enabled on the Mono Runtime and is not recommended for any NuGet library that may be consumed by an app using the Mono Runtime.
We have removed code supporting the Tizen TFM as Tizen was no longer supported in .NET MAUI starting with .NET 10.
Breaking Changes
The update to .NET 11 required us to modify some APIs and their underlying behavior.
All packages
API
AppBuilderExtensions classes declare [SupportedOSPlatform] iOS 15.0, Mac Catalyst 17.0 and Android 24.0 (MediaElement: Android 26.0), the .NET MAUI 11 minimums. Attributes that only restated a version below these minimums are removed or made versionless; this only relaxes the analyzer. Feature-specific changes are in the CameraView, FileSaver and FolderPicker, MediaElement, NavigationBar (Android), SemanticOrderView, and StatusBar and StatusBarBehavior sections.
[SupportedOSPlatform] and [UnsupportedOSPlatform] attributes and the Tizen code paths are removed.
Setup
net11.0 and its platforms
Microsoft.Maui.Controls 11.0.0)
Smaller changes
net11.0-windows assemblies are runtime async. No API or functional change: the compiler no longer generates async state machines for these methods (except async void ones), and the runtime handles their suspension instead.
What's Changed
- Update to .NET 11 by @VladislavAntonyuk in #3331
Housekeeping
- Bump actions/setup-java from 6.1.0 to 6.2.0 by @dependabot[bot] in #3376
- [housekeeping] Automated PR to fix formatting errors by @github-actions[bot] in #3386
- Bump actions/setup-dotnet from 6.0.0 to 6.1.0 by @dependabot[bot] in #3377
- Bump the dotnet-tools group with 3 updates by @dependabot[bot] in #3379
- Bump Microsoft.Extensions.Logging.Console from 10.0.11 to 10.0.14 by @dependabot[bot] in #3382
- Bump PolySharp from 1.16.0 to 1.17.0 by @dependabot[bot] in #3389
- Bump xunit.v3 from 4.0.2 to 4.0.3 by @dependabot[bot] in #3390
Full Changelog: 16.0.0...17.0.0