Skip to content

[Automated] Update dependencies #9252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 19, 2025
Merged

[Automated] Update dependencies #9252

merged 4 commits into from
Jun 19, 2025

Conversation

github-actions[bot]
Copy link
Contributor

Auto-generated update to the package dependencies. In order for this PR to be green, it will require all of the new dependencies to be mirrored to our AzDO NuGet feeds. Any updates made outside of the first itemgroup in Directory.Packages.props should be reverted as those are packages that get updated through arcade's dependency flow.

@joperezr joperezr force-pushed the update-dependencies branch from 2aba0c7 to 7cd38fc Compare June 18, 2025 21:05
@@ -0,0 +1,236 @@
#!/bin/bash
Copy link
Member

Choose a reason for hiding this comment

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

FYI: @danmoseley @eerhardt @sebastienros @radical This was added with the help of copilot and it was useful locally to find the full set of packages and versions that need to be mirrored to dotnet-public, as I know that all of us have had to at some point calculate the full set in the past. Let me know if it is useful to check in or if we should just keep it in a gist or something instead. We could also consider having the update-dependencies workflow leverage this script so it prints exactly which packages need to be mirrored as part of the PR.

Copy link
Member

Choose a reason for hiding this comment

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

This should be in c#

Copy link
Member

Choose a reason for hiding this comment

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

yeah, now you can run a single file

Copy link
Member

Choose a reason for hiding this comment

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

That is with 10.0 preview sdks though, and this repo is still in 9.0.x. I don't mind moving this to a C# file if still required (meaning also creating a project, etc.) but if so I think it'd be best to do it outside of this update in a separate PR.

joperezr added 2 commits June 18, 2025 22:41
…ualStudioCodeCredential from DefaultTokenCredentialProvider
@@ -25,7 +25,6 @@ public DefaultTokenCredentialProvider(ILogger<DefaultTokenCredentialProvider> lo
"AzureCli" => new AzureCliCredential(),
"AzurePowerShell" => new AzurePowerShellCredential(),
"VisualStudio" => new VisualStudioCredential(),
"VisualStudioCode" => new VisualStudioCodeCredential(),
Copy link
Member

Choose a reason for hiding this comment

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

cc: @eerhardt @davidfowl wonder what your thoughts are around the breaking change here. I did it in this PR as the update of the Azure dependency marked this type (VisualStudioCodeCredential) as deprecated which broke our build. I've hence removed this as an option for now but of course that could be breaking in the scenario someone was using this, so let me know if you prefer me just suppress the warning until 10.

Copy link
Member

Choose a reason for hiding this comment

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

The full error we were getting is:

/home/runner/work/aspire/aspire/src/Aspire.Hosting.Azure/Provisioning/Internal/DefaultTokenCredentialProvider.cs(28,39): error CS0618: 'VisualStudioCodeCredential' is obsolete: 'This credential is deprecated because the VS Code Azure Account extension on which this credential relies has been deprecated. Consider using other dev-time credentials, such as VisualStudioCredential, AzureCliCredential, AzureDeveloperCliCredential, AzurePowerShellCredential. See the Azure Account extension deprecation notice here: microsoft/vscode-azure-account#964.' [/home/runner/work/aspire/aspire/src/Aspire.Hosting.Azure/Aspire.Hosting.Azure.csproj]

Copy link
Member

Choose a reason for hiding this comment

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

This looks good to me.

Copy link
Member

Choose a reason for hiding this comment

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

Yea this is fine. We should mark it a breaking change.

Copy link
Member

Choose a reason for hiding this comment

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

FYI: @IEvangelist as this is a breaking change.

Copy link
Member

@eerhardt eerhardt Jun 19, 2025

Choose a reason for hiding this comment

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

@joperezr joperezr added the breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. label Jun 19, 2025
@joperezr joperezr merged commit 6c1dac3 into main Jun 19, 2025
252 checks passed
@joperezr joperezr deleted the update-dependencies branch June 19, 2025 22:14
captainsafia pushed a commit that referenced this pull request Jun 20, 2025
* Update package dependencies and add script that lists packages that need to be mirrored

* Enhance package mapping logic in find-missing-packages.sh to prevent duplicates and improve error handling

* Update ModelContextProtocol version to 0.2.0-preview.1 and remove VisualStudioCodeCredential from DefaultTokenCredentialProvider

---------

Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
Comment on lines -89 to +90
<PackageVersion Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.11.9" />
<PackageVersion Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.11.9" />
<PackageVersion Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.12.0" />
<PackageVersion Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.12.0" />
Copy link
Member

Choose a reason for hiding this comment

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

Remove FluentUI from whatever automated tool is doing this.

Revert of these changes: #9987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. Re-opened Github-Action PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants