github CommunityToolkit/Maui 5.3.0
v5.3.0: BadgeCounter, Popups and AppTheme helpers!

13 months ago

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

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!

Full Changelog: 5.2.0...5.3.0

Don't miss a new Maui release

NewReleases is sending notifications on new releases.