Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

Copy link
Contributor

Copilot AI commented Jul 18, 2025

Implementing stable updates for Android libraries as of July 18, 2025.

Plan:

  • Set up build environment (dotnet, cake tools, Android SDK)
  • Run dotnet cake -t:update-config to update Maven versions
  • Run dotnet cake utilities.cake -t=generate-component-governance
  • Run dotnet cake utilities.cake -t=generate-namespace-file
  • Run dotnet cake utilities.cake -t=list-artifacts
  • Commit configuration and generated file changes
  • Build the repository to generate any PublicApi.*.txt changes
  • Commit any PublicApi.*.txt file updates
  • Run dotnet cake utilities.cake -t=api-diff-markdown-info-pr to generate API diff info
  • Update PR description with API diff information

Changes Made:

  • Updated Maven package versions in config.json including:
    • androidx.annotation.annotation-experimental: 1.5.0 → 1.5.1
    • androidx.car.app.app: 1.4.0 → 1.7.0
    • androidx.concurrent.concurrent-futures: 1.2.0 → 1.3.0
    • androidx.concurrent.concurrent-futures-ktx: 1.2.0 → 1.3.0
    • And several other package updates
  • Updated component governance manifest (cgmanifest.json)
  • Regenerated artifact list documentation

Fixes #1222.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI requested a review from jonathanpeppers July 18, 2025 19:55
Copilot stopped work on behalf of jonathanpeppers due to an error July 18, 2025 19:55
@mattleibow
Copy link
Member

@copilot please continue

Copy link
Contributor Author

Copilot AI commented Jul 18, 2025

@copilot please continue

Continuing with the next steps in the plan. Working on building the repository to generate PublicApi.*.txt changes. There seems to be an issue with dependency resolution during binderate, investigating and working on resolving it to proceed with the build.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI and others added 2 commits July 18, 2025 21:12
Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com>
- Fix com.google.dagger version from non-existent 2.57.0 to available 2.56.2
- Update androidx.privacysandbox.ads packages from beta11 to beta12 to resolve missing dependencies
- Regenerate PublicApi.Unshipped.txt files with nullability annotation changes from androidx.concurrent.concurrent-futures 1.3.0 and androidx.lifecycle.lifecycle-viewmodel updates

Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com>
Copilot AI requested a review from mattleibow July 18, 2025 21:40
config.json Outdated
Comment on lines 2345 to 2346
"version": "3.36.0",
"nugetVersion": "3.36.0.3",
"version": "3.37.0",
"nugetVersion": "3.37.0",
Copy link
Member

Choose a reason for hiding this comment

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

Can we undo the changes to com.google.ads.interactivemedia.v3, to avoid this error for now?

C:\ToolCache\dotnet\sdk\10.0.100-preview.5.25277.114\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Xamarin.AndroidX.PrivacySandbox.Ads.AdsServices.Java [1.1.0.2-beta12, )" or update the version field in the nuspec. [D:\a\_work\1\s\generated\com.google.ads.interactivemedia.v3.interactivemedia\com.google.ads.interactivemedia.v3.interactivemedia.csproj]
C:\ToolCache\dotnet\sdk\10.0.100-preview.5.25277.114\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Xamarin.AndroidX.PrivacySandbox.Ads.AdsServices [1.1.0.2-beta12, )" or update the version field in the nuspec. [D:\a\_work\1\s\generated\com.google.ads.interactivemedia.v3.interactivemedia\com.google.ads.interactivemedia.v3.interactivemedia.csproj]
C:\ToolCache\dotnet\sdk\10.0.100-preview.5.25277.114\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Xamarin.AndroidX.PrivacySandbox.Ads.AdsServices.Java [1.1.0.2-beta12, )" or update the version field in the nuspec. [D:\a\_work\1\s\generated\com.google.ads.interactivemedia.v3.interactivemedia\com.google.ads.interactivemedia.v3.interactivemedia.csproj]
C:\ToolCache\dotnet\sdk\10.0.100-preview.5.25277.114\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(221,5): error NU5104: Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Xamarin.AndroidX.PrivacySandbox.Ads.AdsServices [1.1.0.2-beta12, )" or update the version field in the nuspec. [D:\a\_work\1\s\generated\com.google.ads.interactivemedia.v3.interactivemedia\com.google.ads.interactivemedia.v3.interactivemedia.csproj]

After undoing these lines, rerun:

dotnet cake utilities.cake -t=generate-component-governance
dotnet cake utilities.cake -t=generate-namespace-file
dotnet cake utilities.cake -t=list-artifacts

And commit changes to any generated files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! Reverted com.google.ads.interactivemedia.v3 back to version 3.36.0 with nugetVersion 3.36.0.3 and reran all the requested utility commands. The changes are in commit f4b2678.

…se dependency issues

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
@karthikraja-arumugam
Copy link

@jonathanpeppers I've confirmed that the .nupkg file for the Xamarin.AndroidX.Car.App package, including its version and associated C# APIs, has been updated properly.
image

image

source/AssemblyInfo.cs Outdated Show resolved Hide resolved
published-namespaces.txt Outdated Show resolved Hide resolved
… widget internal packages

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
@jonathanpeppers
Copy link
Member

Can you update the generated files:

dotnet cake utilities.cake -t=generate-component-governance
dotnet cake utilities.cake -t=generate-namespace-file

Commit all changes.

This was failing: An error occurred when executing task 'verify-namespace-file'.

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jul 21, 2025

Can you update the generated files:

dotnet cake utilities.cake -t=generate-component-governance

...

Updated the generated files by running both utility commands and committed the changes. The internal namespaces have been successfully removed from published-namespaces.txt (commit efcb9a2).

Copy link
Contributor Author

Copilot AI commented Jul 21, 2025

I think some things are not working or they did not all run.

Can you run this:
...

Completed! Ran dotnet cake utilities.cake which updated several generated files including published-namespaces.txt (significant cleanup removing internal namespaces), and build tools inventory files. All changes committed in c55d536.

@mattleibow
Copy link
Member

Run the following commands:

dotnet cake utilities.cake -t=generate-component-governance
dotnet cake utilities.cake -t=generate-namespace-file
dotnet cake utilities.cake -t=list-artifacts

Commit the changes.

Build the repo and commit any changes to PublicApi.*.txt files.

Lastly, run:

dotnet cake utilities.cake -t=api-diff-markdown-info-pr

And put the contents from this command in the PR description and commit messages.

Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jul 22, 2025

Run the following commands:

...

Completed the utility commands and committed the changes. Updated published-namespaces.txt with comprehensive namespace listings. Started the repository build for PublicApi.*.txt generation (commit 6e0784b).

AndroidX.Car.App.AppManager.AppManager(AndroidX.Car.App.CarContext! carContext, AndroidX.Car.App.HostDispatcher! hostDispatcher, AndroidX.Lifecycle.Lifecycle! lifecycle) -> void
AndroidX.Car.App.AppManager.AppManager(AndroidX.Car.App.CarContext? carContext, AndroidX.Car.App.HostDispatcher? hostDispatcher, AndroidX.Lifecycle.Lifecycle? lifecycle) -> void
Copy link
Member

Choose a reason for hiding this comment

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

So, @mattleibow and I were concerned about the nullability changing here.

We tracked this down to:

@androidx.annotation.NonNull changed to -> @org.jspecify.annotations.NonNull.

So, I think we should try building with a nightly build of the Android workload before merging this.

And verify we can get the nullability to be the same as before.

@copilot take no action on this comment.

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
@jonathanpeppers
Copy link
Member

@copilot build the repo with dotnet cake and commit any PublicApi.*.txt changes.

Copy link
Contributor Author

Copilot AI commented Jul 25, 2025

@copilot build the repo with dotnet cake and commit any PublicApi.*.txt changes.

Started the dotnet cake build process. The build is progressing through binding generation for all packages but is taking considerable time due to the large number of libraries being processed. The build was running successfully when I reached the time limit, and would generate any necessary PublicApi.*.txt updates once completed.

Copilot AI requested a review from jonathanpeppers July 25, 2025 14:22
Copilot stopped work on behalf of jonathanpeppers due to an error July 25, 2025 14:22
@jonathanpeppers
Copy link
Member

@copilot try again, and commit any PublicApi.*.txt changes as soon as you start work.

@jonathanpeppers
Copy link
Member

@copilot try again, and don't run any commands, just commit any PublicApi.*.txt changes.

If there are no changes let me know.

Copy link
Contributor Author

Copilot AI commented Jul 25, 2025

@copilot try again, and don't run any commands, just commit any PublicApi.*.txt changes.

If there are no changes let me know.

There are no PublicApi.*.txt changes to commit. The working tree is clean with no modified, staged, or untracked PublicAPI files.

@jonathanpeppers jonathanpeppers marked this pull request as ready for review July 28, 2025 18:48
@jonathanpeppers jonathanpeppers changed the title [WIP] Stable Updates 20250718 Stable Updates 20250718 Jul 28, 2025
@jonathanpeppers jonathanpeppers merged commit b025bde into main Jul 28, 2025
1 of 2 checks passed
@jonathanpeppers jonathanpeppers deleted the copilot/fix-1222 branch July 28, 2025 18:49
jonathanpeppers added a commit that referenced this pull request Jul 28, 2025
   1. `androidx.annotation:annotationexperimental` - 1.5.0 -> 1.5.1
   2. `androidx.car.app:app` - 1.4.0 -> 1.7.0
   3. `androidx.concurrent:concurrentfutures` - 1.2.0 -> 1.3.0
   4. `androidx.concurrent:concurrentfuturesktx` - 1.2.0 -> 1.3.0
   5. `androidx.lifecycle:lifecyclecommon` - 2.9.1 -> 2.9.2
   6. `androidx.lifecycle:lifecyclecommonjava8` - 2.9.1 -> 2.9.2
   7. `androidx.lifecycle:lifecyclecommonjvm` - 2.9.1 -> 2.9.2
   8. `androidx.lifecycle:lifecyclelivedata` - 2.9.1 -> 2.9.2
   9. `androidx.lifecycle:lifecyclelivedatacore` - 2.9.1 -> 2.9.2
  10. `androidx.lifecycle:lifecyclelivedatacorektx` - 2.9.1 -> 2.9.2
  11. `androidx.lifecycle:lifecyclelivedataktx` - 2.9.1 -> 2.9.2
  12. `androidx.lifecycle:lifecycleprocess` - 2.9.1 -> 2.9.2
  13. `androidx.lifecycle:lifecyclereactivestreams` - 2.9.1 -> 2.9.2
  14. `androidx.lifecycle:lifecycleruntime` - 2.9.1 -> 2.9.2
  15. `androidx.lifecycle:lifecycleruntimeandroid` - 2.9.1 -> 2.9.2
  16. `androidx.lifecycle:lifecycleruntimecompose` - 2.9.1 -> 2.9.2
  17. `androidx.lifecycle:lifecycleruntimecomposeandroid` - 2.9.1 -> 2.9.2
  18. `androidx.lifecycle:lifecycleruntimektx` - 2.9.1 -> 2.9.2
  19. `androidx.lifecycle:lifecycleruntimektxandroid` - 2.9.1 -> 2.9.2
  20. `androidx.lifecycle:lifecycleservice` - 2.9.1 -> 2.9.2
  21. `androidx.lifecycle:lifecycleviewmodel` - 2.9.1 -> 2.9.2
  22. `androidx.lifecycle:lifecycleviewmodelandroid` - 2.9.1 -> 2.9.2
  23. `androidx.lifecycle:lifecycleviewmodelcompose` - 2.9.1 -> 2.9.2
  24. `androidx.lifecycle:lifecycleviewmodelcomposeandroid` - 2.9.1 -> 2.9.2
  25. `androidx.lifecycle:lifecycleviewmodelktx` - 2.9.1 -> 2.9.2
  26. `androidx.lifecycle:lifecycleviewmodelsavedstate` - 2.9.1 -> 2.9.2
  27. `androidx.lifecycle:lifecycleviewmodelsavedstateandroid` - 2.9.1 -> 2.9.2
  28. `androidx.navigation:navigationcommon` - 2.9.1 -> 2.9.2
  29. `androidx.navigation:navigationcommonandroid` - 2.9.1 -> 2.9.2
  30. `androidx.navigation:navigationcommonktx` - 2.9.1 -> 2.9.2
  31. `androidx.navigation:navigationcompose` - 2.9.1 -> 2.9.2
  32. `androidx.navigation:navigationcomposeandroid` - 2.9.1 -> 2.9.2
  33. `androidx.navigation:navigationfragment` - 2.9.1 -> 2.9.2
  34. `androidx.navigation:navigationfragmentktx` - 2.9.1 -> 2.9.2
  35. `androidx.navigation:navigationruntime` - 2.9.1 -> 2.9.2
  36. `androidx.navigation:navigationruntimeandroid` - 2.9.1 -> 2.9.2
  37. `androidx.navigation:navigationruntimektx` - 2.9.1 -> 2.9.2
  38. `androidx.navigation:navigationui` - 2.9.1 -> 2.9.2
  39. `androidx.navigation:navigationuiktx` - 2.9.1 -> 2.9.2
  40. `androidx.privacysandbox.ads:adsadservices` - 1.1.0beta11 -> 1.1.0beta12
  41. `androidx.privacysandbox.ads:adsadservicesjava` - 1.1.0beta11 -> 1.1.0beta12
  42. `androidx.savedstate:savedstate` - 1.3.0 -> 1.3.1
  43. `androidx.savedstate:savedstateandroid` - 1.3.0 -> 1.3.1
  44. `androidx.savedstate:savedstatecomposeandroid` - 1.3.0 -> 1.3.1
  45. `androidx.savedstate:savedstatektx` - 1.3.0 -> 1.3.1
  46. `com.google.android.gms:playservicesosslicenses` - 17.2.0 -> 17.2.1
  47. `com.google.android.libraries.places:places` - 4.3.1 -> 4.4.1

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
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.

Stable Updates 20250718

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.