%3CLINGO-SUB%20id%3D%22lingo-sub-1609863%22%20slang%3D%22en-US%22%3EAzure%20PowerShell%20releases%20demystified%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1609863%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20you%20ever%20wondered%20why%20Az.Compute%20has%20a%20different%20version%20than%20the%20Az%20module%20or%20why%20a%20module%20had%20documentation%20but%20is%20not%20available%20in%20Cloud%20Shell%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20describes%20our%20versioning%20principles%2C%20upgrade%20policies%2C%20and%20preview%20process%20for%20the%20PowerShell%20modules%20for%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1273044633%22%20id%3D%22toc-hId--1272389353%22%3EVersioning%3C%2FH2%3E%0A%3CP%3E%3CBR%20%2F%3EWe%20follow%20the%20semantic%20versioning%20principles%20(%3CA%20href%3D%22https%3A%2F%2Fsemver.org%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsemver.org%2F%3C%2FA%3E)%20for%20all%20the%20Azure%20modules.%20Essentially%20this%20means%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMajor%20version%20change%20for%20releases%20with%20breaking%20changes.%3C%2FLI%3E%0A%3CLI%3EMinor%20version%20change%20for%20functionality%20with%20backward%20compatibility.%3C%2FLI%3E%0A%3CLI%3EPatch%20version%20change%20for%20bug%20fixes%20or%20improvements%20with%20backward%20compatibility.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWe%20apply%20this%20policy%20for%20each%20module%20that%20we%20own.%20For%20example%2C%20%3CSTRONG%3EAz.Storage%3C%2FSTRONG%3E%20had%20one%20version%20upgrade%20that%20had%20a%20breaking%20change%20since%20the%20initial%20version%20and%20is%20currently%20in%20version%20%3CSTRONG%3E2.4.0%3C%2FSTRONG%3E.%20%3CSTRONG%3EAz.Network%3C%2FSTRONG%3E%20had%20two%20major%20upgrades%20and%20is%20now%20in%20version%20%3CSTRONG%3E3.3.0%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3EThe%20Az%20wrapper%20module%E2%80%99s%20goal%20is%20to%20facilitate%20the%20acquisition%20of%20the%20different%20Azure%20modules.%20It%20comprises%20several%20modules%20with%20different%20versions%20like%20Az.Storage%20and%20Az.Network%20from%20the%20previous%20example.%3C%2FP%3E%0A%3CP%3EFrom%20the%20semver%20rule%20definition%2C%20if%20a%20major%20version%20upgrade%20happens%20for%20an%20underlying%20module%2C%20Az%20will%20undergo%20a%20major%20version%20upgrade%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1214468200%22%20id%3D%22toc-hId-1215123480%22%3EBreaking%20changes%3C%2FH2%3E%0A%3CP%3E%3CBR%20%2F%3EA%20breaking%20change%20is%20a%20change%20in%20a%20PowerShell%20module%20that%20can%20break%20a%20script%20written%20with%20a%20previous%20version.%3C%2FP%3E%0A%3CP%3EThe%20breaking%20changes%20fall%20into%20two%20main%20categories%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EChanges%20in%20the%20modules%3A%20cmdlet%20or%20parameter%20deprecated%2C%20parameter%20name%20change%2C%20change%20from%20optional%20to%20required%2C%20returned%20type%20change.%3C%2FLI%3E%0A%3CLI%3EChanges%20in%20the%20default%20behaviors.%20For%20example%2C%20soft%20delete%20turned%20on%20by%20default%20for%20Azure%20KeyVault.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EUpgrading%20to%20a%20new%20major%20version%20of%20Az%20will%20require%20script%20validation%20with%20this%20version%20and%20implement%20the%20necessary%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20allow%20customers%20to%20plan%20for%20this%2C%20we%20have%20two%20policies%20in%20place%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EA%20warning%20message%20indicates%20the%20upcoming%20breaking%20changes.%20You%20can%20disable%20this%20warning%20message%20using%20the%20following%20procedure%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fazure%2Ffaq%23how-do-i-disable-breaking-change-warning-messages-in-azure-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fazure%2Ffaq%23how-do-i-disable-breaking-change-warning-messages-in-azure-powershell%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EWe%20have%20a%20%3CSTRONG%3Emaximum%20of%20two%20breaking%20change%20releases%20a%20year%3C%2FSTRONG%3E%2C%20usually%20happening%20in%20Spring%20and%20Fall%20timeframe.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EBreaking%20change%20releases%20are%20identified%20with%20%E2%80%9C%3CSTRONG%3EMajor%20Release%3C%2FSTRONG%3E%E2%80%9D%20in%20the%20title%20and%20have%20an%20exclamation%20mark%20in%20the%20description%20on%20GitHub%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fmilestones%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fmilestones.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--592986263%22%20id%3D%22toc-hId--592330983%22%3EPreview%3C%2FH2%3E%0A%3CP%3E%3CBR%20%2F%3EWe%20have%20two%20types%20of%20preview%20modules%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EModules%20with%20a%200.X.X%20version%3C%2FSTRONG%3E%3A%20new%20modules%20potentially%20calling%20Azure%20APIs%20that%20are%20not%20stable.%20Hence%20breaking%20changes%20may%20happen%20at%20any%20time%2C%20and%20issues%20can%20occur.%20Modules%20will%20remain%20at%20least%20six%20weeks%20in%20preview%20to%20allow%20customer%20feedback%20before%20considering%20moving%20the%20modules%20to%20GA.%20%3CBR%20%2F%3EPreview%20modules%20can%20be%20found%20in%20the%20reference%20documentation%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fmodule%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fmodule%2F%3C%2FA%3E)%20but%20are%20not%20included%20in%20the%20Az%20wrapper%20module%20nor%20are%20available%20in%20Cloud%20Shell%20by%20default%20until%20they%20can%20move%20to%20a%20stable%20version.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EModules%20with%20X.Y.Z-preview%20version%3C%2FSTRONG%3E%3A%20expose%20new%20features%20of%20the%20associated%20service%20that%20may%20not%20be%20stable%20yet%20or%20introduce%20breaking%20changes%20waiting%20for%20the%20next%20major%20release.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWe%20publish%20the%20reference%20documentation%20for%20all%20modules%20including%20those%20with%20a%20version%200.x.x.%20However%2C%20only%20the%20stable%20modules%20are%20present%20in%20Cloud%20Shell.%20If%20you%20want%20to%20use%20a%20preview%20module%2C%20you%20must%20install%20the%20specific%20module%20individually.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOver%20the%20last%20few%20months%2C%20you%20told%20us%20that%20it%20was%20difficult%20to%20find%20and%20install%20modules%20in%20preview%20and%20I%E2%80%99m%20pleased%20to%20announce%20that%20we%20are%20working%20on%20a%20solution%20that%20will%20improve%20the%20discovery%20and%20management%20of%20preview%20modules%20along%20with%20those%20that%20are%20stable.%20We%20will%20be%20announcing%20more%20about%20this%20very%20soon.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EShould%20you%20be%20interested%20in%20having%20a%20preview%20module%20move%20to%20GA%2C%20please%20help%20us%20prioritize%20by%20commenting%20on%20existing%20issues%20listed%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F12755%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F12755%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20always%2C%20any%20feedbacks%20and%20issues%20are%20always%20welcome%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2Fnew%2Fchoose%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2Fnew%2Fchoose%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Azure%20PowerShell%20team%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1609863%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20you%20ever%20wondered%20why%20Az.Compute%20has%20a%20different%20version%20than%20the%20Az%20module%20or%20why%20a%20module%20had%20documentation%20but%20is%20not%20available%20in%20Cloud%20Shell%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20describes%20our%20versioning%20principles%2C%20upgrade%20policies%2C%20and%20preview%20process%20for%20the%20PowerShell%20modules%20for%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1609863%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

Have you ever wondered why Az.Compute has a different version than the Az module or why a module had documentation but is not available in Cloud Shell?

 

The following describes our versioning principles, upgrade policies, and preview process for the PowerShell modules for Azure.

 

Versioning


We follow the semantic versioning principles (https://semver.org/) for all the Azure modules. Essentially this means:

  • Major version change for releases with breaking changes.
  • Minor version change for functionality with backward compatibility.
  • Patch version change for bug fixes or improvements with backward compatibility.

We apply this policy for each module that we own. For example, Az.Storage had one version upgrade that had a breaking change since the initial version and is currently in version 2.4.0. Az.Network had two major upgrades and is now in version 3.3.0.

The Az wrapper module’s goal is to facilitate the acquisition of the different Azure modules. It comprises several modules with different versions like Az.Storage and Az.Network from the previous example.

From the semver rule definition, if a major version upgrade happens for an underlying module, Az will undergo a major version upgrade as well.

 

Breaking changes


A breaking change is a change in a PowerShell module that can break a script written with a previous version.

The breaking changes fall into two main categories:

  • Changes in the modules: cmdlet or parameter deprecated, parameter name change, change from optional to required, returned type change.
  • Changes in the default behaviors. For example, soft delete turned on by default for Azure KeyVault.

Upgrading to a new major version of Az will require script validation with this version and implement the necessary changes.

 

To allow customers to plan for this, we have two policies in place:

Breaking change releases are identified with “Major Release” in the title and have an exclamation mark in the description on GitHub: https://github.com/Azure/azure-powershell/milestones.

 

Preview


We have two types of preview modules:

  • Modules with a 0.X.X version: new modules potentially calling Azure APIs that are not stable. Hence breaking changes may happen at any time, and issues can occur. Modules will remain at least six weeks in preview to allow customer feedback before considering moving the modules to GA.
    Preview modules can be found in the reference documentation (https://docs.microsoft.com/powershell/module/) but are not included in the Az wrapper module nor are available in Cloud Shell by default until they can move to a stable version.
  • Modules with X.Y.Z-preview version: expose new features of the associated service that may not be stable yet or introduce breaking changes waiting for the next major release.

We publish the reference documentation for all modules including those with a version 0.x.x. However, only the stable modules are present in Cloud Shell. If you want to use a preview module, you must install the specific module individually.

 

Over the last few months, you told us that it was difficult to find and install modules in preview and I’m pleased to announce that we are working on a solution that will improve the discovery and management of preview modules along with those that are stable. We will be announcing more about this very soon.

 

Should you be interested in having a preview module move to GA, please help us prioritize by commenting on existing issues listed here: https://github.com/Azure/azure-powershell/issues/12755

 

As always, any feedbacks and issues are always welcome https://github.com/Azure/azure-powershell/issues/new/choose

 

The Azure PowerShell team