Skip to content

v5.0.0: SemanticOrderView, FileSaver, FolderPicker and StateContainer love!

Compare
Choose a tag to compare
@jfversluis jfversluis released this 01 Mar 08:12
· 277 commits to main since this release

Hello again! 👋 It's the .NET MAUI Community Toolkit team with another wonderful release!

SemanticOrderView

In this release we'd love to (re)introduce to you the SemanticOrderView. The SemanticOrderView provides the ability to control the order of VisualElements for screen readers and improve the accessibility of an application. Phew, now that sounds important, so go check it out in our docs and start implementing it!

FileSaver & FolderPicker

Actually this is more about the FileSaverResult and FolderPickerResult. Before, you would get an exception thrown your way when the user cancelled the file save/folder pick action. Now, we've introduced these two objects that will give you a bit more information and control! As a bonus, we fixed the selection of the initial folder on Android.

The docs have also been updated so you can see how to work with this amazing new stuff!

StateContainer

First, we fixed a nasty bug in StateContainer so it will crash less, that's always good news.

Second, we introduced StateContainer.ChangeStateWithAnimation() which allows you to customize the behavior or animations whenever the state changes. And who doesn't love some great animations? I know you do!

Did we mention the docs got updates? Well, we made no exception for StateContainer check it out here.

Highlights

But there is much more to unpack here, we just won't spell everything out because who reads docs anyway? 🤷‍♂️

Here is the management summary for this release, watch out for those breaking changes:

  • 💥 Breaking Change: The minimum dependency of .NET MAUI has increased to .NET MAUI v7.0.59; ie .NET MAUI Community Toolkit now requires .NET MAUI v7.0.59 or higher
  • 💥 Breaking Change: StateContainer.ShouldAnimateOnStateChange Property replaced with StateContainer.ChangeStateWithAnimation() method
  • 💥 Breaking Change: IFileSaver.SaveAsync() now returns FileSaverResult (previously returned string)
  • 💥 Breaking Change: IFolderPicker.PickAsync() now returns FolderPickerResult (previously returned string)
  • SemanticOrderView has been ported from XCT to MCT
  • Expander now supports CollectionView
  • DrawingView.GetImageStream() now properly sizes the image
  • Snackbar.ActionButtonFont now allows supports custom Fonts like Font Awesome
  • EmailValidationBehavior now supports email addresses using Domain Names, IPv4 and IPv6
  • EmailValidationBehavior performance optimized by using GeneratedRegex

All the details

New Contributors

Full Changelog: 4.0.0...5.0.0

If you made it until here, please tweet at me to get a virtual donut 🍩