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!
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps CommunityToolkit.Maui from 5.2.0 to 5.3.0.
Release notes
Sourced from CommunityToolkit.Maui's releases.
... (truncated)
Commits
bc38859
Fix display position and size of Popup (#1320)141dc32
Bump Microsoft.Extensions.Http.Polly from 7.0.9 to 7.0.10 in /samples (#1323)9467770
Add routing of BindingContext of Popup (#1309)961f2c9
Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 in /samples (#1322)a928697
[housekeeping] Automated PR to fix formatting errors (#1319)7dffe1f
Allow position update from paused/stopped state (#1314)dc6ca49
WindowsMaps HideInfoWindow (#1316)112ff60
Update ValueConverterExtension to allow for comparison of Nullable types to c...172a1e7
♻️ Replaced all Debug.WriteLine for Trace.WriteLine (#1311)bf69c6f
Fix dispose on MediaElement on Windows (#1304)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show