v8.0.0: Compiled Bindings, Improved Complex (Nested) Bindings, .NET 11 Compatibility #478
TheCodeTraveler
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
.NET 11 Compatibility
This release provides compatibility for the upcoming release of .NET 11.
In .NET 11,
CommunityToolkit.Maui.Markupwill no longer have access to internal .NET MAUI APIs. This release removes our use of internal .NET MAUI APIs to ensure compatibility with .NET 11.Important
We recommend every .NET MAUI app preparing for .NET 11 install this release, v8.0.0 (or later), before .NET 11 is released in November. Apps running
CommunityToolkit.Maui.Markupv7.0.1 and earlier will not be compatible with .NET 11.Compiled Bindings
Thanks to @stephenquan, markup bindings now support
BindingBase.Create🎉BindingBase bindings support compiled bindings created with the BindingBase.Create method. This approach supports nested, one-way, and two-way bindings. For example, the following code creates a nested two-way binding to
ViewModel.NestedObject.Text:Improved Complex Bindings
Complex (aka Nested) Bindings are now easier than ever! There is now no need to add the
handlersparameter.Using the below
ViewModelclass, we can create a nested two-way binding directly toViewModel.NestedObject.Text:New Way
Old Way
What's Changed
New Contributors
Housekeeping
Add BindingBase Bind overload + tests for nested path propagation #417
Full Changelog: 7.0.1...v8.0.0
This discussion was created from the release v8.0.0: Compiled Bindings, Improved Complex (Nested) Bindings, .NET 11 Compatibility .
All reactions