Skip to content

Conversation

@jamescrosswell
Copy link
Collaborator

Resolves #4802:

Basically done here:

<!-- Dependencies for AndroidMavenLibrary references
Matching what was shipped in the 10.0.100 workloads to avoid NU1608 warnings
-->
<ItemGroup Condition="$(TargetFramework.StartsWith('net10'))">
<PackageReference Include="Xamarin.AndroidX.Lifecycle.Process" Version="2.9.2.1" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.Common.Java8" Version="2.9.2.1" />
<!-- MAUI 10 references this version indirectly via Xamarin.AndroidX.SwipeRefreshLayout -->
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.17.0" />
<!-- We have a dependency on 1.9.24 from here:
https://github.com/getsentry/sentry-java/blob/604a2616bebd80ea051cdcec916aa052b509c5a8/buildSrc/src/main/java/Config.kt#L6-L7
... but there's no NuGet package for that version. This version has been selected to
match the version that was available when net10.0 was released -->
<PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="2.2.21" />
</ItemGroup>

Note

I tried bumping Xamarin.AndroidX.Lifecycle.Common.Java8 and Xamarin.AndroidX.Lifecycle.Process to 2.10.0 but that gives us dependency conflicts in our Sentry.Maui package. It might be possible with a bit of sleuthing to work out where those come from (would have to be from the <UseMaui>true</UseMaui> include... so somewhere in the MS target files) but I think the fact that it breaks our builds is evidence enough that it's not the right version to reference so I left it at 2.9.2.1.


<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2"/>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0"/>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bumps to the latest version of CommunityToolkit.Mvvm... typically we target the oldest version possible but CommunityToolkit.Mvvm has shared Java dependencies with Maui and also with some of the transitive dependencies we take through the Sentry SDK for Java. So for this particular integration, our approach has been to keep it as up to date as possible (as long as that isn't incompatible with either the versions of net-android we target or the dependencies we get via the Sentry SDK for Java).

@codecov
Copy link

codecov bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.87%. Comparing base (09a72cb) to head (1888fa0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4876      +/-   ##
==========================================
+ Coverage   73.84%   73.87%   +0.02%     
==========================================
  Files         483      483              
  Lines       17578    17578              
  Branches     3464     3464              
==========================================
+ Hits        12980    12985       +5     
+ Misses       3742     3740       -2     
+ Partials      856      853       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • Update error 413 handling by bitsandfoxes in #4863
  • Added Main to SentryThread by bitsandfoxes in #4807

Bug Fixes 🐛

  • Apply Enricher to User Feedback by bitsandfoxes in #4883
  • Allow Sentry failures when SENTRY_ALLOW_FAILURE is set in the Sentry CLI by DanielMcAssey in #4852

Internal Changes 🔧

Deps

  • Bump getsentry/craft from 2.19.0 to 2.20.1 by dependabot in #4886
  • Bump actions/cache from 5.0.2 to 5.0.3 by dependabot in #4889
  • Bump docker/login-action from 3.6.0 to 3.7.0 by dependabot in #4888
  • Bump github/codeql-action from 4.31.11 to 4.32.0 by dependabot in #4887
  • Bump gradle/actions from 5.0.0 to 5.0.1 by dependabot in #4885
  • Update Native SDK to v0.12.4 by github-actions in #4875
  • Bump getsentry/github-workflows from 3.1.0 to 3.2.0 by dependabot in #4872
  • Bump github/codeql-action from 4.31.10 to 4.31.11 by dependabot in #4871
  • Bump actions/checkout from 6.0.1 to 6.0.2 by dependabot in #4870
  • Bump actions/setup-java from 5.1.0 to 5.2.0 by dependabot in #4869
  • Bump getsentry/github-workflows/sentry-cli/integration-test from 2.14.1 to 3.2.0 by Flash0ver in #4858
  • Bump github/codeql-action from 4.31.9 to 4.31.10 by dependabot in #4847
  • Bump styfle/cancel-workflow-action from 0.12.1 to 0.13.0 by dependabot in #4846
  • Bump actions/cache from 5.0.1 to 5.0.2 by dependabot in #4848
  • Update Native SDK to v0.12.3 by github-actions in #4832
  • Update Java SDK to v8.29.0 by github-actions in #4817
  • Bump actions/download-artifact from 6.0.0 to 7.0.0 by dependabot in #4828
  • Bump docker/setup-buildx-action from 3.11.1 to 3.12.0 by dependabot in #4827
  • Bump github/codeql-action from 4.31.8 to 4.31.9 by dependabot in #4826
  • Bump getsentry/action-prepare-release from 1.6.4 to 1.6.6 by dependabot in #4825
  • Bump github/codeql-action from 4.31.5 to 4.31.8 by dependabot in #4813
  • Bump actions/cache from 4.3.0 to 5.0.1 by dependabot in #4812
  • Bump codecov/codecov-action from 5.5.1 to 5.5.2 by dependabot in #4811
  • Bump actions/upload-artifact from 5.0.0 to 6.0.0 by dependabot in #4810
  • Bump actions/create-github-app-token from 2.2.0 to 2.2.1 by dependabot in #4795

Test

  • Update PublicApiGenerator from 11.1.0 to 11.5.4 by Flash0ver in #4866
  • Update FluentAssertions from 6.12.0 to 7.2.0 by Flash0ver in #4864

Other

  • (release) Switch from action-prepare-release to Craft by BYK in #4835
  • (repo) Add Claude Code settings with basic permissions by philipphofmann in #4850
  • Ensure appropriate Maven references for net10-android targets by jamescrosswell in #4876
  • Update Roslynator.Analyzers from 4.9.0 to 4.15.0 by Flash0ver in #4878
  • Upgrade to C# 14.0 by Flash0ver in #4857
  • Bump testing dependencies by Flash0ver in #4865
  • Remove trailing slash from workflow references by copilot-swe-agent in #4837
  • Fix Build of Compiler-Extension by Flash0ver in #4804

Other

  • fixed: Thread safety in AssemblyStoreReader when sending events on Android by jamescrosswell in #4814
  • test(integration): prevent auto-relaunch on Android by jpnurmi in #4833

🤖 This preview updates automatically when you update the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify we have the most appropriate transient dependencies for .net SDK 10.0.100

2 participants