Skip to content

chore: dependabot packages update#597

Open
Ayaz-Microsoft wants to merge 1 commit intodevfrom
dependabot-ayaz
Open

chore: dependabot packages update#597
Ayaz-Microsoft wants to merge 1 commit intodevfrom
dependabot-ayaz

Conversation

@Ayaz-Microsoft
Copy link
Copy Markdown
Contributor

@Ayaz-Microsoft Ayaz-Microsoft commented Apr 3, 2026

Purpose

  • ...Vulnerabilities count : Critical-1, High-15, Moderate-10, Low-2

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates backend API project dependencies to newer package versions as part of a Dependabot-driven vulnerability reduction effort.

Changes:

  • Bump AutoMapper from 14.0.0 to 15.1.1 in the DPS library and Host projects.
  • Bump Microsoft.Extensions.Configuration/Json/Options packages in the Host project from 9.0.6 to 10.0.5.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
App/backend-api/Microsoft.GS.DPS/Microsoft.GS.DPS.csproj Updates AutoMapper package version.
App/backend-api/Microsoft.GS.DPS.Host/Microsoft.GS.DPS.Host.csproj Updates AutoMapper and Microsoft.Extensions.* package versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


<ItemGroup>
<PackageReference Include="AutoMapper" Version="14.0.0" />
<PackageReference Include="AutoMapper" Version="15.1.1" />
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

AutoMapper appears to be unused in this backend-api codebase (search finds no usages beyond an unused using AutoMapper;). If it’s not needed, consider removing this PackageReference to reduce dependency surface area; otherwise, add/point to the code that requires AutoMapper so the dependency is justified.

Suggested change
<PackageReference Include="AutoMapper" Version="15.1.1" />

Copilot uses AI. Check for mistakes.

<ItemGroup>
<PackageReference Include="AutoMapper" Version="14.0.0" />
<PackageReference Include="AutoMapper" Version="15.1.1" />
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

AutoMapper appears to be unused in the backend-api projects (no IMapper, Profile, AddAutoMapper, etc. found; only an unused using AutoMapper;). If there’s no runtime usage, consider removing this PackageReference rather than updating it to a new major version.

Suggested change
<PackageReference Include="AutoMapper" Version="15.1.1" />

Copilot uses AI. Check for mistakes.
Comment on lines +18 to +21
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.5" />
<PackageReference Include="Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="8.2.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.6" />
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.6" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.5" />
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.5" />
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

These Microsoft.Extensions.* package references are being updated to 10.0.5 while the project targets net8.0. For ASP.NET Core apps (Microsoft.NET.Sdk.Web), overriding the shared-framework Microsoft.Extensions assemblies with a higher major version can introduce runtime/assembly compatibility issues. Consider aligning these to the net8/ASP.NET Core 8.x wave (or removing the explicit references if not required) to avoid version skew.

Copilot uses AI. Check for mistakes.
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.

2 participants