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