Skip to content

Release of Az.Accounts 2.1.0 violates Major Version Semantic Versioning rules for Az 4.*, Az 3.* #13370

@ChrisAtRelativity

Description

@ChrisAtRelativity

Description

Az 5.0.0 major version release includes the new major version release of Az.Accounts 2.1.0 with breaking changes.

Az 4.8.0 and 3.8.0 will absorb the major version breaking changes of Az.Accounts 2.1.0 as those modules do not pin to the 1.x major version of Az.Accounts. Package Details indicate >= for Az.Accounts.

The consequence is that

  • Installing 3.8.0 or 4.8.0 of Az is now breaking as the latest version of Az.Accounts (2.*) is now installed instead of 1.x.
  • Pinning to 3.8.0 or 4.8.0 of Az will still invite breakages in existing automation

This violates SemVer versioning rules for minor versions.

Steps to reproduce

Install-Module Az -RequiredVersion 4.8.0 -Force -Verbose -Repository PSGallery
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/Az.Accounts/2.1.0'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/Az.Accounts/2.1.0'.
VERBOSE: Completed downloading 'Az.Accounts'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-reportedfeature-requestThis issue requires a new behavior in the product in order be resolved.needs-team-attentionThis issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions