Skip to content

Upgrade AutoMapper dependency to 15.1.1 and align third-party notice#669

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/upgrade-automapper-to-15-1-1
Draft

Upgrade AutoMapper dependency to 15.1.1 and align third-party notice#669
Copilot wants to merge 2 commits into
mainfrom
copilot/upgrade-automapper-to-15-1-1

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

This PR updates winget-create to use AutoMapper 15.1.1 (from 13.0.1) and keeps dependency metadata in sync. Scope is intentionally limited to the package bump and required notice update.

  • Dependency update

    • Bumped AutoMapper in src/WingetCreateCLI/WingetCreateCLI.csproj to a supported version (15.1.1).
  • Third-party notice alignment

    • Updated NOTICE.txt to reflect the shipped AutoMapper version (15.1.1).
  • Compatibility impact

    • No source-level AutoMapper API adjustments were required for this bump in current usage.
<!-- src/WingetCreateCLI/WingetCreateCLI.csproj -->
<PackageReference Include="AutoMapper" Version="15.1.1" />
Original prompt

Upgrade the AutoMapper NuGet package in the repository and open a pull request.

Repository: microsoft/winget-create

Requested change:

  • Upgrade the AutoMapper package to version 15.1.1 or later.

Relevant files already identified:

  • src/WingetCreateCLI/WingetCreateCLI.csproj currently references AutoMapper version 13.0.1.
  • NOTICE.txt currently lists AutoMapper 13.0.1 in the third-party notices and should be updated to match the package version if needed.

Expected work:

  1. Update the AutoMapper PackageReference to 15.1.1 or a later compatible version.
  2. Update any repository metadata or notice/license files required by that dependency version bump.
  3. Run whatever repo-local reasoning is needed to handle any API or compatibility issues introduced by the AutoMapper upgrade.
  4. Create a pull request with a concise title and summary of the change.

Notes:

  • Keep the change focused on the AutoMapper upgrade.
  • If the newer AutoMapper version requires code changes for compatibility, include them in the PR.
  • Use the repository's default branch unless the repo indicates otherwise.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: Upgrade AutoMapper package to 15.1.1 or later

Assistant: Update the AutoMapper package reference in src/WingetCreateCLI/WingetCreateCLI.csproj from 13.0.1 to 15.1.1 or later, and update NOTICE.txt to reflect the new AutoMapper version.

I found the current package reference here:

<ItemGroup>
  <PackageReference Include="AutoMapper" Version="13.0.1" />
  <PackageReference Include="CommandLineParser" Version="2.9.1" />
  <PackageReference Include="DesktopBridge.Helpers" Version="1.2.2" />
  <PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.183">
    <PrivateAssets>all</PrivateAssets>
    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  </PackageReference>
  <PackageReference Include="NSwag.MSBuild" Version="14.0.3">
    <PrivateAssets>all</PrivateAssets>
    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  </PackageReference>
  <PackageReference Include="Sharprompt" Version="2.4.5" />
  <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
    <PrivateAssets>all</PrivateAssets>
    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  </PackageReference>
  <PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
</ItemGroup>

And the third-party notice currently lists:

---------------------------------------------------------

AutoMapper 13.0.1 - MIT

Copyright (c) 2014-2018 Axel Heer
Copyright (c) 2009 Jimmy Bogard (https://jimmybogard.com) and other contributors

Suggested edit:

  • src/WingetCreateCLI/WingetCreateCLI.csproj: change Version="13.0.1" to Version="15.1.1"
  • NOTICE.txt: change AutoMapper 13.0.1 - MIT to AutoMapper 15.1.1 - MIT

If you want, I can make this change in microsoft/winget-create by creating a branch and committing the updates.

User: Create a PR

Assistant: I’ve started the PR creation flow for microsoft/winget-create; once it finishes, I’ll share the PR details.

This pull request was created from Copilot chat.

Agent-Logs-Url: https://github.com/microsoft/winget-create/sessions/7fa3fa0a-25fc-4dda-ad50-db6ab5554aaf

Co-authored-by: AmelBawa-msft <104940545+AmelBawa-msft@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade AutoMapper to version 15.1.1 or later Upgrade AutoMapper dependency to 15.1.1 and align third-party notice May 19, 2026
Copilot AI requested a review from AmelBawa-msft May 19, 2026 17:22
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