Skip to content

Bump CommunityToolkit.Maui.Markup and Microsoft.Maui.Controls#245

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/samples/GitStatus.Mobile/multi-b0db1740a7
Open

Bump CommunityToolkit.Maui.Markup and Microsoft.Maui.Controls#245
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/samples/GitStatus.Mobile/multi-b0db1740a7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 28, 2026

Updated CommunityToolkit.Maui.Markup from 4.2.0 to 7.0.1.

Release notes

Sourced from CommunityToolkit.Maui.Markup's releases.

7.0.1

CommunityToolkit.Maui.Markup v7.0.1

This Release increases the Microsoft.Maui.Controls Dependency to v10.0.41 due to a known regression in v10.0.40

What's Changed

Full Changelog: CommunityToolkit/Maui.Markup@7.0.0...7.0.1

7.0.0

Breaking Changes

  • .NET 10 Required

What's Changed

Full Changelog: CommunityToolkit/Maui.Markup@6.0.1...7.0.0

6.0.1

What's Changed

Full Changelog: CommunityToolkit/Maui.Markup@6.0.0...6.0.1

6.0.0

This release contains a small breaking change where the setter now returns a nullable result. This means that devs may get a compiler error if they are binding a non-nullable property to a nullable bindable property.

Here's an example using a non-nullable string in a View Model to bind to Label.Text which can be null:

public class LabelViewModel : ObservableObject
{
    [ObservableProperty] 
    public partial string Text { get; set; }
}
new Label()
   .Bind(Label.TextProperty,
         getter: static (LabelViewModel vm) => vm.Text,
         setter: static (vm, text) => vm.Text = text, // <--- This is where the breaking change happens
         mode: BindingMode.TwoWay)

becomes

new Label()
   .Bind(Label.TextProperty,
         getter: static (LabelViewModel vm) => vm.Text,
         setter: static (vm, text) => vm.Text = text ?? string.Empty, // <--- This is where the breaking change happens
         mode: BindingMode.TwoWay)

What's Changed

Dependencies and other housekeeping

5.1.0

What's Changed

We’ve re-added string-based bindings for Gesture extensions! Apologies for removing them in 5.0.0.

.BindTapGesture(nameof(TrendsViewModel.TappedCommand, source: new RelativeBindingSource(RelativeBindingSourceMode.FindAncestorBindingContext, typeof(TrendsViewModel)))

Note: These string-based gesture extensions have been moved to a new class, StringGesturesExtensions. Here's an example to call the methods directly in lieu of using it as an extension method (above):

StringGesturesExtensions.BindTapGesture(myLabel, nameof(TrendsViewModel.TappedCommand), commandSource: new RelativeBindingSource(RelativeBindingSourceMode.FindAncestorBindingContext, typeof(TrendsViewModel)));

Thanks @​egvijayanand! 🙌

String-based bindings are not trim safe, but they are currently the only way to use RelativeBindingSource.

Full Changelog: CommunityToolkit/Maui.Markup@5.0.0...5.1.0

5.0.0

Breaking Changes

  • String-based bindings are no-longer trim safe
    • eg .Bind(Label.TextProperty, nameof(MyViewModel.LabelText) is not trim safe
    • Use .Bind(Label.TextProperty, static (MyViewModel vm) => vm.LabelText) instead
  • .BindClickGesture Removed
    • Use .BindTapGesture instead
  • .ClickGesture Removed
    • Use .TapGesture instead
  • NuGet package will not support Microsoft.Maui.Controls .NET 10 until .NET 10 GA

Requirements

The following tools are now required for CommunityToolkit.Maui.Markup:

  • Xcode 16.0.0
    • Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
    • We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
  • Update to the latest stable version of Visual Studio (or Jet Brains Rider)
  • Download/install .NET SDK v9.0.100
  • After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
    • On macOS, open the Terminal and enter the following command: sudo dotnet workload install maui
    • On Windows, open the command prompt (or Powershell) and enter the following command: dotnet workload install maui
  • Add a global.json file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)
    • The .NET MAUI Community Toolkit does not support preview releases of .NET

global.json

{
  "sdk": {
    "version": "9.0.100", 
    "rollForward": "latestFeature",
    "allowPrerelease": false
  }
}

What's Changed

But wait, there's more!

Commits viewable in compare view.

Updated Microsoft.Maui.Controls from 9.0.0-rc.2.24503.2 to 10.0.41.

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 show <dependency name> 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.Markup from 4.2.0 to 7.0.1
Bumps Microsoft.Maui.Controls from 9.0.0-rc.2.24503.2 to 10.0.41

---
updated-dependencies:
- dependency-name: CommunityToolkit.Maui.Markup
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Maui.Controls
  dependency-version: 10.0.41
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants