Releases: CommunityToolkit/Maui
v3.0.1 MediaElement: Bugfixes!
Some small bugfixes, but not less important, thanks for the amazing @ne0rrmatrix. Thank you!
What's Changed
- Fix Media Element Position Bug for Android and IOS by @ne0rrmatrix in #1555
- Fix Media Element crash in IOS with Sample app by @ne0rrmatrix in #1568
- Fix for MediaElement Android Resource file not found by @ne0rrmatrix in #1537
- Change HLS URL by @ne0rrmatrix in #1571
- Fix HLS CTD on Windows by @ne0rrmatrix in #1543
New Contributors
- @ne0rrmatrix made their first contribution in #1537
Full Changelog: 2.0.0-maps...3.0.1-mediaelement
v7.0.0: .NET 8 is here!
What's Changed
- Fix a bug when specifying an Popup's Anchor on Windows by @cat0363 in #1494
- Bump xunit from 2.6.0 to 2.6.1 in /samples by @dependabot in #1493
- .NET 8 by @VladislavAntonyuk in #1367
- Bump MauiPackageVersion from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530 in /samples by @dependabot in #1501
- Change in the method of obtaining the height of StatusBar for API Level 29 and below on Android by @cat0363 in #1500
- Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 in /samples by @dependabot in #1506
- Fix
Popup.RemapForControls()
by @brminnick in #1510 - Add
CancellationToken
Parameter to Methods ReturningTask
andValueTask
by @brminnick in #1503 - [macOS, iOS] Refine Popup Disappearing Animation by @brminnick in #1514
- [SelectAllTextBehavior] Fix Android Bug, Reduce iOS Memory Allocations by @brminnick in #1512
- [iOS, macOS] Fix AvAudioSession Defaults by @brminnick in #1513
- Bump CommunityToolkit.Maui.Markup from 3.3.0 to 3.3.1 in /samples by @dependabot in #1517
- Update to .NET 8.0 GA by @brminnick in #1499
- Bump Microsoft.Extensions.Logging.Debug from 8.0.0-rc.2.23479.6 to 8.0.0 in /samples by @dependabot in #1518
- Bump Microsoft.Extensions.Http.Polly from 8.0.0-rc.2.23480.2 to 8.0.0 in /samples by @dependabot in #1519
Full Changelog: 6.1.0...7.0.0
v3.0.0 MediaElement: .NET 8 is here!
What's Changed
- .NET 8 by @VladislavAntonyuk in #1367
- [iOS, macOS] Fix AvAudioSession Defaults by @brminnick in #1513
- Update to .NET 8.0 GA by @brminnick in #1499
Full Changelog: 6.1.0...3.0.0-mediaelement
v2.0.0 Windows Maps: .NET 8 is here!
What's Changed
- .NET 8 by @VladislavAntonyuk in #1367
- Update to .NET 8.0 GA by @brminnick in #1499
Full Changelog: 6.1.0...2.0.0-maps
v6.1.0: A New Release Popped Up!
My goodness do we love our community. And in this case especially @cat0363 who goes by the name of Kenji in real-life.
If you look through the release notes below, you'll notice that Kenji has been doing a lot of work for us and all that work went into the Popup. From this place: thank you so much for spending your valuable time on our project and making it better for everyone 🙏
So in this release: a lot of love for the Popup: better sizing, adding the ability to use resources and styles, flow direction is now working... And much more!
PopupService
Still on Popups, we have made it easier for you to work with popups from your view models. In v6.1.0 we have added the PopupService
. No weird messaging or dependencies in your code that shouldn't be there, just a clean service that will allow you to show popups respecting MVVM.
All the details can be found in the documentation.
DrawingView
But we didn't stop there! As always @VladislavAntonyuk has been doing wonderful work. With this release we introduce a bunch of Commands that allow you to capture the start, cancel and drawing in progress events in a pure MVVM way.
The documentation for DrawingView
has been updated accordingly, so go check it out.
All the details
- Fix Popup size on Android and iOS by @cat0363 in #1361
- Add Resources and Style to Popup by @cat0363 in #1351
- Add forced update of ScrollView on iOS by @cat0363 in #1442
- Remove restriction for displaying Popup on iOS by @cat0363 in #1369
- Add consideration of FlowDirection by @cat0363 in #1434
- Addition of size calculation for Label placed in Popup and correction of size calculation when Popup Size is not specified by @cat0363 in #1456
- Remove popup corner rounding and shadow on iOS by @cat0363 in #1463
- Add
[GeneratedCode]
and[ExcludeFromCodeCoverage]
Attributes to SourceGenerators by @brminnick in #1468 - Fixes Speech recognizer locale was not ignored on Android #1436 by @VladislavAntonyuk in #1481
- Add drawing started, cancelled, and on-drawing commands by @VladislavAntonyuk in #1440
- PopupService by @bijington in #1165
- Add consideration of Loaded event to Popup Show method on Windows by @cat0363 in #1470
- Change the display method of Popup Overlay on Windows by @cat0363 in #1485
Housekeeping, important but not super interesting
- Bump CommunityToolkit.Maui.Markup from 3.2.0 to 3.3.0 in /samples by @dependabot in #1438
- Bump Microsoft.Extensions.Http.Polly from 7.0.11 to 7.0.12 in /samples by @dependabot in #1449
- Bump xunit from 2.5.1 to 2.5.2 in /samples by @dependabot in #1455
- Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 in /samples by @dependabot in #1454
- Bump xunit from 2.5.2 to 2.5.3 in /samples by @dependabot in #1462
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1469
- Bump Microsoft.Extensions.Http.Polly from 7.0.12 to 7.0.13 in /samples by @dependabot in #1473
- Bump CommunityToolkit.Mvvm from 8.2.1 to 8.2.2 in /samples by @dependabot in #1475
- Bump xunit from 2.5.3 to 2.6.0 in /samples by @dependabot in #1486
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1487
Full Changelog: 6.0.0...6.1.0
v6.0.0: Next Level Speech Recognition & Bugfixes
Watch out! This version contains some breaking changes! That is why we are going from version 5.3.0 to version 6.0.0. They grow up so fast... 🥲 Anyway, no time to be emotional, let's talk about the amazing things in this release. First of all: look at all the first-time contributors, amazing, thank you all so much: @wolfgang-ironsoftware, @inforithmics, @olekssokol, @vhugogarcia, @redek91, @babenkovitaliy and @AllenD-MSFT 👏
Speech Recognition
The speech recognition APIs just got better. You can now listen to the user in the background and still process the results asynchronously. This enables so many cool new scenarios in your app, including building your own personal assistant! Connect that with some AI and... 🤯
You can read all about how to use this new functionality in the docs right here.
Bugfixes, bugfixes, bugfixes
Furthermore this release is PACKED with bugfixes. The popups got better, we fixed memory leaks all over and even the snackbar and toast now know how to handle a device that is rotating. Good stuff, check out all the details just below here.
All the details
- Use Native Windows Popup,
Microsoft.UI.Xaml.Controls.Popup
by @VladislavAntonyuk in #1086 - Fix popup margin on iOS by @cat0363 in #1329
- Use fully qualified namespace for Color reference in TextToColorGenerator by @wolfgang-ironsoftware in #1332
- Code cleanup and preparation for the next release (breaking changes) by @VladislavAntonyuk in #1324
- Fix Gestures on Popup on ios by @inforithmics in #1342
- 632 bug avatar view clipping on windows by @GeorgeLeithead in #1344
- fix IconTintColorBehavior for Windows by @olekssokol in #1370
- Add
MemoryAnalyzer
roslyn analyzer by @brminnick in #1371 - iOS popup fix with Shell or TabbedPage by @cucumber-sp in #1343
- Fix Windows Popup Position and Size by @cat0363 in #1350
- Updated the validation to allow the image button to apply the tint co… by @vhugogarcia in #1386
- Fixed Path behavior of FileSaver and FolderPicker on Android + Permission check on Android 13 by @redek91 in #1341
- Reverted change add in #1343 by @pictos in #1394
- Sample icon tint color behavior inside a popup by @vhugogarcia in #1395
- Add redrawing of Snackbar and Toast when the screen is rotated by @cat0363 in #1405
- [MacCatalyst] Get correct window associated with the Popup by @babenkovitaliy in #1409
- Improved memory performance of TextColorToGenerator by @AllenD-MSFT in #1254
- Fix Memory leak on Popup by @pictos in #1398
- Speech Recognition v2 - StartListening/StopListening by @VladislavAntonyuk in #1382
- Fix for the navigation to the SelectAllText page on macOS by @vhugogarcia in #1402
Housekeeping, important but not super interesting
- Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 in /samples by @dependabot in #1413
- Bump xunit from 2.5.0 to 2.5.1 in /samples by @dependabot in #1412
- Bump Microsoft.Extensions.Http.Polly from 7.0.10 to 7.0.11 in /samples by @dependabot in #1403
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1393
- Update Xcode version for Sample app by @jfversluis in #1390
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1373
- Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 in /samples by @dependabot in #1378
- Bump Microsoft.CodeAnalysis from 4.6.0 to 4.7.0 in /samples by @dependabot in #1355
- Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.6.0 to 4.7.0 in /samples by @dependabot in #1357
- Bump FluentAssertions from 6.11.0 to 6.12.0 in /samples by @dependabot in #1365
global.json
: Change"rollForward": "latestMajor",
->"rollForward": "latestFeature"
. by @brminnick in #1338- Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 in /samples by @dependabot in #1348
- Bump NuGet.Protocol from 6.6.1 to 6.7.0 in /samples by @dependabot in #1330
- ♻️ [Housekeeping] Fixed GravatarImageSourceTests.TestDefaultStream by @pictos in #1335
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1327
New Contributors
- @wolfgang-ironsoftware made their first contribution in #1332
- @inforithmics made their first contribution in #1342
- @olekssokol made their first contribution in #1370
- @vhugogarcia made their first contribution in #1388
- @redek91 made their first contribution in #1341
- @babenkovitaliy made their first contribution in #1409
- @AllenD-MSFT made their first contribution in #1254
Full Changelog: 5.3.0...6.0.0
v5.3.0: BadgeCounter, Popups and AppTheme helpers!
This release is so full of great new stuff I almost don't know where to begin... Let's start with something else then, did you know that we have a Discord server now specifically for the .NET MAUI Community Toolkit? A great place to discuss how to get started with contributing, ask questions or just hang out! Join it today by clicking here (only valid for 30 days after this is posted).
Now, for this release... VERSION FIVE-THREE-OH 💥
Popups Now Better Than Ever!
Thanks to a great number of community contributions our Popups are now better than ever. Thank you so much @cat0363, @cucumber-sp and our very own @brminnick! We've fixed a number of bugs that have to do with sizing, positioning and propagating the BindingContext
to Popups, and also added a CloseAsync()
method to make closing the popup more reliable.
If you want to know all ins and outs of the Popup, check our documentation.
BadgeCounter
With our brand new BadgeCounter API it's now easier than ever to show a notification count on your app icon. You know the little red bubble over app icons on the device home screen? You can now set that value yourself, from your app with one line of code. 🤯
@VladislavAntonyuk did an amazing job once again. Read all about the implementation of this functionality on his blog or check out our official documentation on how to use it with .NET MAUI Community Toolkit.
AppThemeColor, AppThemeObject and AppThemeResource
These new APIs are great little helpers for when you support dark theme in your .NET MAUI apps. In .NET MAUI you have the AppThemeBinding
which is already great, but with this you can now make your XAML less verbose and reuse your app theme aware resources through styles and resource dictionaries.
As always, find the details in our documentation and let us know how you like it!
Thank you @dansiegel for the initial work on the .NET MAUI repo!
All the details
- 1207 UniformItemsLayout NoItems crash by @VladislavAntonyuk in #1220
- Update PopupExtensions.shared.cs by @cat0363 in #1229
- Fix Issue #1160 by @cat0363 in #1234
- Fix Issue #1193 by @cat0363 in #1248
- Fix Issue #1238 by @cat0363 in #1249
- Fix Android DrawingView background image color by @VladislavAntonyuk in #1251
- Call InvalidateMeasure on DockLayout when properties change affecting layout by @BretJohnson in #1258
- Remove
VerticalStackLayout
fromStateContainerController
by @brminnick in #1262 - Fix Issue #1256 by @cucumber-sp in #1267
- Bugfix: Windows IconColorTintEffect HeightRequest by @kperdlich in #1271
- Snackbar and Toast messages are omitted when length is equal to display width on iOS by @cat0363 in #1281
- Add
Popup.CloseAsync()
by @brminnick in #1223 - BadgeCounter #807 by @VladislavAntonyuk in #1126
- Implement AppThemeColor, AppThemeObject, and AppThemeResource by @jfversluis in #1264
- Update ValueConverterExtension to allow for comparison of Nullable types to corresponding underlying types by @BruceTheBrick in #1307
- Add routing of BindingContext of Popup by @cat0363 in #1309
- Fix display position and size of Popup by @cat0363 in #1320
Humpty-Bumpty 🐫 & Other Housekeeping
- Bump CommunityToolkit.Maui.Markup from 3.1.0 to 3.2.0 in /samples by @dependabot in #1204
- Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.1 in /samples by @dependabot in #1217
- Bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.6.2 in /samples by @dependabot in #1226
- Bump Microsoft.Extensions.Http.Polly from 7.0.5 to 7.0.7 in /samples by @dependabot in #1242
- Bump NuGet.Protocol from 6.6.0 to 6.6.1 in /samples by @dependabot in #1244
- [Sample App] Add Button to Expander Sample by @brminnick in #1228
- 1134 Update samples by @VladislavAntonyuk in #1219
- Bump Microsoft.Extensions.Http.Polly from 7.0.7 to 7.0.8 in /samples by @dependabot in #1263
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1265
- Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 in /samples by @dependabot in #1270
- Bump CommunityToolkit.Mvvm from 8.2.0 to 8.2.1 in /samples by @dependabot in #1285
- Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 in /samples by @dependabot in #1287
- Bump xunit from 2.4.2 to 2.5.0 in /samples by @dependabot in #1286
- [Sample App] Update Popup Namespaces in Sample App by @brminnick in #1241
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1305
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1290
- Bump Microsoft.Extensions.Http.Polly from 7.0.8 to 7.0.9 in /samples by @dependabot in #1292
- ♻️ Replaced all Debug.WriteLine for Trace.WriteLine by @pictos in #1311
- [housekeeping] Automated PR to fix formatting errors by @github-actions in #1319
- Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 in /samples by @dependabot in #1322
- Bump Microsoft.Extensions.Http.Polly from 7.0.9 to 7.0.10 in /samples by @dependabot in #1323
New Contributors
A very, very big thank you to all of our contributors new and existing, we could not do this without you 👏 virtual stroopwafels for all of you!
- @cat0363 made their first contribution in #1229
- @BretJohnson made their first contribution in #1258
- @cucumber-sp made their first contribution in #1267
- @BruceTheBrick made their first contribution in #1307
- @niksedk made their first contribution in #1314
Full Changelog: 5.2.0...5.3.0
v1.0.4 Windows Maps: Implement HideInfoWindow functionality
Small bugfix for our Maps package by @VladislavAntonyuk (thank youuuuuu!).
If you click a marker or InfoWindow, there is a event argument that specifies if the InfoWindow should be closed after the interaction. This functionality was not implemented for our Windows maps yet, but now it is!
What's Changed
- WindowsMaps HideInfoWindow by @VladislavAntonyuk in #1316
Full Changelog: 1.0.3-maps...1.0.4-maps
v1.0.3 Windows Maps: MapClicked now works
The MapClicked
event didn't work for the Windows Maps implementation so we fixed that for you! Also, under the hood, we did some rewiring to make the rest work a little bit more reliably, but you shouldn't even notice.
Happy mapping!
What's Changed
- Implement MapClicked by @jfversluis in #1269
Full Changelog: 1.0.2-maps...1.0.3-maps
v1.0.2 Windows Maps: more bugfixes?!
If we have bugs that we can easily fix why not do that and release them right away? 😬 But we don't want to overload you, so we will stop after this one, for today...
Because of the way we "casted" the coordinates to strings and make them work with the JavaScript for the Bing map we were losing some precision it would seem. Pins would show up in the wrong places. This is fixed now and pins show up where you want them to.
Let us know if you find any more bugs!
What's Changed
- Fix coordinate usage on Windows Maps by @jfversluis in #1260
Full Changelog: 1.0.1-maps...1.0.2-maps