Skip to content

Conversation

@isra-fel
Copy link
Member

@isra-fel isra-fel commented Nov 10, 2025

This PR aligns the version of Microsoft.Extensions.DependencyInjection.Abstractions library, which is a indirect dependency of Azure.Core, Az.Resources module and Az.IotHub, ensuring they can work together.

A more robust way might be adding it to the Assembly Load Context of Az.Accounts.

@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@isra-fel isra-fel marked this pull request as ready for review November 10, 2025 05:54
Copilot AI review requested due to automatic review settings November 10, 2025 05:54
Copy link
Contributor

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

This PR aligns dependency versions across Azure PowerShell modules by adding the Microsoft.Extensions.DependencyInjection.Abstractions package (version 8.0.2) to the Resources and IotHub modules.

  • Adds the same dependency package reference to both Resources and IotHub modules
  • Updates ChangeLog.md files to document the dependency alignment
  • Removes trailing whitespace in Resources ChangeLog

Reviewed Changes

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

File Description
src/Resources/Resources/Resources.csproj Adds Microsoft.Extensions.DependencyInjection.Abstractions v8.0.2 package reference
src/Resources/Resources/ChangeLog.md Documents dependency alignment and removes trailing whitespace
src/IotHub/IotHub/IotHub.csproj Adds Microsoft.Extensions.DependencyInjection.Abstractions v8.0.2 package reference
src/IotHub/IotHub/ChangeLog.md Documents dependency alignment

-->

## Upcoming Release
* Aligned dependency versions with other modules
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The ChangeLog entry is too generic and doesn't explain the user impact. Per the ChangeLog guidelines, entries should be written from the user's perspective and explain what changed and how it affects their usage. Consider providing more specific details, such as: "* Updated internal dependencies to align versions across modules" or explain if there's any user-visible impact. Additionally, if this change is related to a GitHub issue, please reference it using the format [#issue_number].

Copilot generated this review using guidance from repository custom instructions.
-->
## Upcoming Release
* Removed unused libraries
* Aligned dependency versions with other modules
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The ChangeLog entry is too generic and doesn't explain the user impact. Per the ChangeLog guidelines, entries should be written from the user's perspective and explain what changed and how it affects their usage. Consider providing more specific details, such as: "* Updated internal dependencies to align versions across modules" or explain if there's any user-visible impact. Additionally, if this change is related to a GitHub issue, please reference it using the format [#issue_number].

Copilot generated this review using guidance from repository custom instructions.
@dolauli dolauli self-assigned this Nov 10, 2025
@dolauli dolauli merged commit 954349e into main Nov 10, 2025
18 checks passed
@dolauli dolauli deleted the isra-fel/test2-pin-di-version branch November 10, 2025 07:23
@dolauli dolauli added this to the Az 15.0.0 (11/18/2025) milestone Nov 10, 2025
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.

3 participants