[deps]: Update CommunityToolkit.Maui to v9 #3221
Open
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.2.0
->9.0.1
Release Notes
CommunityToolkit/Maui (CommunityToolkit.Maui)
v9.0.1
: : Bugfixes! That's it, that's the release.Compare Source
Just a couple of bugfixes for you to enjoy!
No fancy funny text here this time, sorry. It's Friday for me too you know?!
What's Changed
New Contributors
Full Changelog: CommunityToolkit/Maui@9.0.0...9.0.1
v9.0.0
: : Breaking BugfixesCompare Source
Version 9! That must mean amazing new goodies! 😱
Unfortunately, no. Although every release of the Toolkit is a party of its own, for this release there are a couple of bugfixes that required breaking changes and therefore we bumped the version up to 9.
However, is XAML and converters are your jam, then be sure to check out the improvements in usage with
CompareConverter
. @bijington has done some great work with that and you can find the documentation for that right here.Find all the details below, if you have any questions or concerns, please let us know!
You might also like the .NET MAUI Community Toolkit standup live stream recording for May. Join us live and come hang out every first Thursday of every month on the .NET Foundation YouTube channel!
As always, many thanks to our contributors for this version, especially the community ones 👏 you are our heroes!
Breaking Changes
Replace
FrozenSet
withIReadOnlyList
By @brminnick in https://github.com/CommunityToolkit/Maui/pull/1839
This was breaking because it changed the signature of some public APIs:
AlertView.macios.cs
changed theChildren
property from:to
Improve the usage experience with CompareConverter in XAML
By @bijington in https://github.com/CommunityToolkit/Maui/pull/1841
This change is breaking because
CompareConverter
now takes 2 type arguments.It went from
to
NOTE this is only breaking if you inherited from
CompareConverter
.What's Changed
🥱
New Contributors
Full Changelog: CommunityToolkit/Maui@8.0.1...9.0.0
v8.0.1
: : TouchBehavior (and all Behaviors) HotfixCompare Source
By implementing
TouchBehavior
we found out that the databinding for it was a bit odd and went to investigate why.The good news is: we found it! 🎉
The bad news is: it applied to all of our behaviors 🙈
We quickly fixed it and rolling it out as a minor release. Technically it's a breaking change, but we expect not many people to be impacted by that. If we thought wrong: our sincere apologies.
Check the PR below for all the details, TL;DR is data binding for behaviors is now a lot easier!
What's Changed
CommunityToolkit.Maui.Behavior
s, EnsureBindingContext
Is Automatically Set to the Attached View'sBindingContext
by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1791Full Changelog: CommunityToolkit/Maui@8.0.0...8.0.1
v8.0.0
: : Can Touch This! TouchBehavior is Here!Compare Source
TouchBehavior is here!
The release a lot of people have been waiting for is here. Version 8.0 of the .NET MAUI Community Toolkit introduces the ever popular
TouchBehavior
! You might knowTouchBehavior
asTouchEffect
in the Xamarin world, but since Effects no longer exist, it has now been turned into a Behavior.Due to the amazing work of @Axemasta this functionality is now ported from the Xamarin Community Toolkit to .NET MAUI. Of course, @bijington was on the case with the documentation, so we have that in place for you as well.
Breaking Snackbar on Windows
Otherwise, there is A LOT going on in this release, just look at the list below. There is however one thing we do want to highlight: the breaking changes for
Snackbar
.Based on your feedback @VladislavAntonyuk did a complete rewrite of the
Snackbar
on Windows, ultimately of course to make things better, but it requires some changes on your side if you are working withSnackbar
on Windows today. On other platforms it should work unchanged.Find all the details in our updated documentation for this.
NavigationBar coloring for Android
Another functionality that was ported over from the Xamarin Community Toolkit is the NavigationBar coloring. This is very specific to Android and allows you to change the color of the systems navigation bar (the bottom one with the back button, home button, etc.)
@pictos did a great job on this one figuring out how to fit this into our toolkit 👏
Find all the docs on how to start using it, right here.
Thank you contributors!
Of course we couldn't have done this without our amazing community and team, a major feature like
TouchBehavior
being implemented by someone from the community is what this project is all about. Truly amazing.Special shoutout to our first-time contributors: @Marioo1357, @eduardoagr, @StevilKnevil, @Cybrosys, @marco-skizza and @Axemasta but of course a BIG THANK YOU to all of you!
Big Ol' List of Changes
Swept Under the Rug 🧹
Microsoft.Maui.*
Dependencies to v8.0.7 by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1699New Contributors
Full Changelog: CommunityToolkit/Maui@7.0.1...8.0.0
v7.0.1
: : Last Update of 2023!Compare Source
Happy holidays for those of you who celebrate! In the meanwhile, we're not clowning around and present to you the last release of 2023.
This version has a good number of bugfixes and improvements, but nothing too crazy so that it might blow up your project before you go on a holiday break. As always a big thank you to anyone and everyone not only using our product but also caring, engaging and even contributing. We appreciate it!
Let's make 2024 even better 🚀
What's Changed
UNUserNotificationCenter
… by @VladislavAntonyuk in https://github.com/CommunityToolkit/Maui/pull/1531We couldn't make this project work without these dependencies 🫶
New Contributors
So many new contributors this release, thank you so much @IIARROWS, @TRybina132, @ne0rrmatrix and our very own Tizen superhero @JoonghyunCho. We appreciate all the time that you are spending on this project and making it better.
Full Changelog: CommunityToolkit/Maui@7.0.0...7.0.1
v7.0.0
: : .NET 8 is here!Compare Source
What's Changed
Popup.RemapForControls()
by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1510CancellationToken
Parameter to Methods ReturningTask
andValueTask
by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1503Full Changelog: CommunityToolkit/Maui@6.1.0...7.0.0
v6.1.0
: : A New Release Popped Up!Compare Source
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
[GeneratedCode]
and[ExcludeFromCodeCoverage]
Attributes to SourceGenerators by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1468Housekeeping, important but not super interesting
Full Changelog: CommunityToolkit/Maui@6.0.0...6.1.0
v6.0.0
: : Next Level Speech Recognition & BugfixesCompare Source
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
Microsoft.UI.Xaml.Controls.Popup
by @VladislavAntonyuk in https://github.com/CommunityToolkit/Maui/pull/1086MemoryAnalyzer
roslyn analyzer by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1371Housekeeping, important but not super interesting
global.json
: Change"rollForward": "latestMajor",
->"rollForward": "latestFeature"
. by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1338New Contributors
Full Changelog: CommunityToolkit/Maui@5.3.0...6.0.0
v5.3.0
: : BadgeCounter, Popups and AppTheme helpers!Compare Source
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 aCloseAsync()
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
VerticalStackLayout
fromStateContainerController
by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1262Popup.CloseAsync()
by @brminnick in https://github.com/CommunityToolkit/Maui/pull/1223Humpty-Bumpty 🐫 & Other Housekeeping
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.