Releases: CommunityToolkit/Maui
9.1.1: A handful of bugfixes before the new major release
.NET 9 is almost upon us, just before the new major release that we will be introduction as part of there, here are a couple of bugfixes that you can use today!
A big thank you to @Bensley96 for the very first contribution to this project 👏
Requirements
The following tools are now required for CommunityToolkit.Maui.:
- Xcode 16.0.0
- Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
- We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
- Update to the latest stable version of Visual Studio (or Jet Brains Rider)
- Download/install .NET SDK v8.0.403
- After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
- On macOS, open the Terminal and enter the following command:
sudo dotnet workload install maui
- On Windows, open the command prompt (or Powershell) and enter the following command:
dotnet workload install maui
- On macOS, open the Terminal and enter the following command:
- Add a
global.json
file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)- The .NET MAUI Community Toolkit does not support preview releases of .NET
global.json
{
"sdk": {
"version": "8.0.403",
"rollForward": "latestMajor",
"allowPrerelease": false
}
}
What's Changed
- Ensure
TouchBehavior.LongPressCompleted
event fires whenLongPressCommand is null
by @brminnick in #2239 - Fix FileSaver Progress by @VladislavAntonyuk in #2277
- Implement the ability to Close a popup by @bijington in #1688
- Fix animation behavior hot reload by @BretJohnson in #2288
- [MacCatalyst] [iOS] Fix IconTintColorBehavior ImageButton Disappearing and Crash On Source Change by @Bensley96 in #2317
🧼 Housekeeping 🧽
- Bump xunit from 2.9.1 to 2.9.2 in /samples by @dependabot in #2234
- [Housekeeping] Update NuGet Packages by @brminnick in #2254
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2285
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2292
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2295
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2318
New Contributors
- @Bensley96 made their first contribution in #2317
Full Changelog: 9.1.0...9.1.1
2.0.4 Windows Maps: zooming in on the bugs!
Just a small update to make the zoom work when you use MoveToRegion
on the Map
! Thanks @mikelor!
Requirements
The following tools are now required for CommunityToolkit.Maui.Maps:
- Xcode 16.0.0
- Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
- We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
- Update to the latest stable version of Visual Studio (or Jet Brains Rider)
- Download/install .NET SDK v8.0.403
- After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
- On macOS, open the Terminal and enter the following command:
sudo dotnet workload install maui
- On Windows, open the command prompt (or Powershell) and enter the following command:
dotnet workload install maui
- On macOS, open the Terminal and enter the following command:
- Add a
global.json
file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)- The .NET MAUI Community Toolkit does not support preview releases of .NET
global.json
{
"sdk": {
"version": "8.0.403",
"rollForward": "latestMajor",
"allowPrerelease": false
}
}
What's Changed
Full Changelog: 4.1.2-mediaelement...2.0.4-maps
v4.1.2 MediaElement: MediaElement works in popups & CarouselView!
Breaking Changes
The following tools are now required for CommunityToolkit.Maui.MediaElement:
- Xcode 16.0.0
- Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
- We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
- Update to the latest stable version of Visual Studio (or Jet Brains Rider)
- Download/install .NET SDK v8.0.403
- After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
- On macOS, open the Terminal and enter the following command:
sudo dotnet workload install maui
- On Windows, open the command prompt (or Powershell) and enter the following command:
dotnet workload install maui
- On macOS, open the Terminal and enter the following command:
- Add a
global.json
file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)- The .NET MAUI Community Toolkit does not support preview releases of .NET
global.json
{
"sdk": {
"version": "8.0.403",
"rollForward": "latestMajor",
"allowPrerelease": false
}
}
What's Changed
- Refactor URLs and improve logging consistency by @ne0rrmatrix in #2228
- Fix Crash on iOS when using MediaElement inside a CarouselView (again) by @brminnick in #2245
- Fix Windows Autoplay bug by @ne0rrmatrix in #2238
- [Sample App] Add Second CarouselView to
MediaElementCarouselViewPage.xaml
by @brminnick in #2248 - [Sample app] Add MediaElementMultipleWindowsPage by @brminnick in #2250
- Add Popup Support for MediaElement on iOS + MacCatalyst by @brminnick in #2251
Full Changelog: 9.1.0...4.1.2-mediaelement
9.1.0: AOT support is here!
Required Updates
The following tools are now required for .NET MAUI Community Toolkit v9.1.0
- Xcode 16.0.0
- Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
- We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
- Update to the latest stable version of Visual Studio (or Jet Brains Rider)
- Download/install .NET SDK v8.0.403
- After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
- On macOS, open the Terminal and enter the following command:
sudo dotnet workload install maui
- On Windows, open the command prompt (or Powershell) and enter the following command:
dotnet workload install maui
- On macOS, open the Terminal and enter the following command:
- Add a
global.json
file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)- The .NET MAUI Community Toolkit does not support preview releases of .NET
global.json
{
"sdk": {
"version": "8.0.403",
"rollForward": "latestMajor",
"allowPrerelease": false
}
}
What's Changed
- Fix memory leak on touchBehavior android by @pictos in #2113
- Make iOS StatusBarBehavior more robust and not throw exceptions by @jfversluis in #2128
- Removed spare Element checking in OnDetachedFrom by @rafalka in #2132
- Improve the usage experience with IsInRangeConverter in XAML by @GeorgeLeithead in #1983
- Add closing process when tapping the outer area of Popup by @cat0363 in #2081
- Remove DisableAutoCancel to fix Android auto focus by @Jake-Derrick in #2169
- Fix System.Math.ThrowMinMaxException by @BaY1251 in #2072
- Add missing setter for AnimateCommand by @BretJohnson in #2174
- resolve [bug] CollectionView SelectionMode.Multiple doesn't work with TouchBehavior by @alex3696 in #2172
- Add AOT Compatibility by @simonrozsival in #1820
- Change the calling conditions of Popup's Dismiss method on Android by @cat0363 in #2159
- Remove Popup and ContentPage from LogicalChildren when Popup is closed on iOS by @cat0363 in #2166
- Adding constraints to Popup View on iOS by @cat0363 in #1979
- Update ColorToStringConverter.shared.cs by @cl2raul66 in #2093
- Only set the popup contents parent if it hasn't already been set before by @bijington in #2199
- Changed to call Popup's MapOnClosed method by @cat0363 in #2202
Housekeeping 🧹
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2129
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2134
- Fix failing test on Pipelines. Test only fails on Pipelines. by @ne0rrmatrix in #2141
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2146
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2175
- Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.11.1 in /samples by @dependabot in #2180
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2183
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2192
- Bump FluentAssertions from 6.12.0 to 6.12.1 in /samples by @dependabot in #2194
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2198
-
- Make test sdk match the test runner on the Mac build agent by @bijington in #2200
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2207
New Contributors
Big thank you to our community contributors 👏
- @rafalka made their first contribution in #2132
- @Jake-Derrick made their first contribution in #2169
- @BaY1251 made their first contribution in #2072
- @alex3696 made their first contribution in #2172
- @simonrozsival made their first contribution in #1820
- @cl2raul66 made their first contribution in #2093
Full Changelog: 9.0.3...9.0.4
v4.1.1 MediaElement: AOT Compatible & bugfixes
Breaking Changes
The following tools are now required for CommunityToolkit.Maui.MediaElement:
- Xcode 16.0.0
- Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
- We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
- Update to the latest stable version of Visual Studio (or Jet Brains Rider)
- Download/install .NET SDK v8.0.403
- After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
- On macOS, open the Terminal and enter the following command:
sudo dotnet workload install maui
- On Windows, open the command prompt (or Powershell) and enter the following command:
dotnet workload install maui
- On macOS, open the Terminal and enter the following command:
- Add a
global.json
file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)- The .NET MAUI Community Toolkit does not support preview releases of .NET
global.json
{
"sdk": {
"version": "8.0.403",
"rollForward": "latestMajor",
"allowPrerelease": false
}
}
What's Changed
- Fix MediaElement CTD on Windows by @ne0rrmatrix in #2144
- Fix Android App Exit On Back button pressed by @ne0rrmatrix in #2145
- Remove log messages that were confusing and not required. by @ne0rrmatrix in #2140
- Fix MediaElement CTD in Windows by @ne0rrmatrix in #2152
- Add AOT Compatibility by @simonrozsival in #1820
- Fix Crash on iOS when using MediaElement inside a CarouselView by @brminnick in #2187
- Update GetPageRoute to use double slashes in route format by @ne0rrmatrix in #2190
- Add CollectionView sample to MediaElement by @ne0rrmatrix in #2188
New Contributors
- @simonrozsival made their first contribution in #1820
Full Changelog: 4.1.0-mediaelement...4.1.1-mediaelement
v1.0.5 Camera: Small bugfixes we don't want to keep from you!
What's Changed
- Add a failure reason to the MediaCaptureFailedEventArgs by @bijington in #2085
- Remove DisableAutoCancel to fix Android auto focus by @Jake-Derrick in #2169
New Contributors
- @Jake-Derrick made their first contribution in #2169
Full Changelog: 1.0.4-camera...1.0.5-camera
9.0.3: Transparent Status bar for Android, Icon Tint Color Updates and more!
Just before the weekend, here are some new goodies to play with!
Minor new functionalities, bugfixes and we updated the dependency of .NET MAUI to 8.0.71 to match the latest version that is included in the workload that comes with Visual Studio.
What's Changed
- Bump xunit.runner.visualstudio from 2.8.1 to 2.8.2 in /samples by @dependabot in #2010
- Bump xunit from 2.8.1 to 2.9.0 in /samples by @dependabot in #2009
- [Housekeeping] Update CI Pipeline to use macOS Sonoma and Xcode 15.3.0 by @brminnick in #1969
- Information label and bound value in CompareConverter sample don't match by @GeorgeLeithead in #1981
- Update IconTintColorBehavior so it applies tint to Button image on Android and Windows like iOS and Mac Catalyst by @mikeparker104 in #2042
- Remove
Microsoft.Maui.Controls.Compatibility
Dependency by @filipnavara in #2006 - [Sample App] Add
<UseMaui>true</UseMaui>
by @ne0rrmatrix in #2057 - Fix Target Type Validation by @brminnick in #2034
- fix: Fix unhandled ObjectDisposedException in IconTintColorBehavior.ClearTintColor on Android by @Kay-STL in #2012
- Transparent status bar color android by @vhugogarcia in #1630
- Source Generator for Bindable Property by @pictos in #1321
- Update to Xcode 15.4 in CI pipelines by @Kay-STL in #2100
- Catch ObjectDisposedException in IconTintColorBehavior by @Kay-STL in #2099
- [Housekeeping] Update NuGet Packages by @brminnick in #2105
- Removed duplicate test member data by @GeorgeLeithead in #2098
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #2110
New Contributors
A big thank you to these heroes right here! You make this project the best version it can be!
- @mikeparker104 made their first contribution in #2042
- @filipnavara made their first contribution in #2006
- @Kay-STL made their first contribution in #2012
Full Changelog: 9.0.2...9.0.3
v4.1.0 MediaElement: Better Artwork Display & Bugfixes!
What's Changed
- Remove Microsoft.Maui.Controls.Compatibility Dependency by @filipnavara in #2006
- Fix Media Element Poster not showing on Windows/iOS/Mac by @ne0rrmatrix in #1986
- Readonly Struct Record instead of ValueTuples by @ne0rrmatrix in #1972
- [BUG FIX] Fix Android APK crash on API Level 21-24 by @ne0rrmatrix in #2047
- [Housekeeping] Update NuGet Packages by @brminnick in #2105
- [BUGFIX] MediaElement Foreground Service by @ne0rrmatrix in #2052
- [FIX] Windows CTD on Application Close by @ne0rrmatrix in #2067
- Fix Media Element Poster not showing on Windows/iOS/Mac by @ne0rrmatrix in #1986
- Enhance media player with artwork display support by @ne0rrmatrix in #2108
- Enhance service lifecycle and exit strategy by @ne0rrmatrix in #2039
Full Changelog: 4.0.1-mediaelement...4.1.0-mediaelement
2.0.3 Windows Maps: Updated Dependencies
Also we're aware that Bing Maps has stopped giving out new API keys. We're investigating our options here. Join the discussion.
What's Changed
-
Remove Microsoft.Maui.Controls.Compatibility Dependency by @filipnavara in #2006
Full Changelog: 2.0.2-maps...2.0.3-maps
v1.0.4 Camera: Updated Dependencies!
What's Changed
- Remove Microsoft.Maui.Controls.Compatibility Dependency by @filipnavara in #2006
- [Housekeeping] Update NuGet Packages by @brminnick in #2105
Full Changelog: 1.0.3-camera...1.0.4-camera