[BC]Kusto breacking changes announcement#29495
Merged
Merged
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
6 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Kusto module to surface an upcoming breaking-change announcement (Az v16.0.0 / May 2026) via AutoRest preview-announcement directives and cmdlet-level PreviewMessage attributes, along with some regenerated module metadata/solution updates.
Changes:
- Added AutoRest
preview-announcementdirectives for multiple Az.Kusto cmdlet groups to display a breaking-change preview banner. - Added
[...Runtime.PreviewMessage(...)]attributes to several custom Kusto cmdlets to emit the breaking-change preview message. - Regenerated/updated Kusto module artifacts (module manifest metadata, solution structure, generation IDs) and added a
resources/README.md.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Kusto/Kusto/help/New-AzKustoScript.md | Updates help example text (currently introduces a script-name typo). |
| src/Kusto/Kusto/Az.Kusto.psd1 | Regenerated manifest metadata; updates Az.Accounts minimum version and some manifest fields. |
| src/Kusto/Kusto.sln | Solution structure/configuration updates (currently introduces a leading blank line). |
| src/Kusto/Kusto.Autorest/resources/README.md | Adds standard resources folder documentation. |
| src/Kusto/Kusto.Autorest/README.md | Adds breaking-change preview announcement directives for cmdlets. |
| src/Kusto/Kusto.Autorest/Properties/AssemblyInfo.cs | Adds AssemblyInfo for the AutoRest project (minor comment typo present). |
| src/Kusto/Kusto.Autorest/generate-info.json | Updates generation ID. |
| src/Kusto/Kusto.Autorest/docs/Az.Kusto.md | Updates module docs metadata (regenerated). |
| src/Kusto/Kusto.Autorest/custom/Update-AzKustoDataConnection.ps1 | Adds PreviewMessage attribute for breaking-change announcement. |
| src/Kusto/Kusto.Autorest/custom/Update-AzKustoDatabase.ps1 | Adds PreviewMessage attribute for breaking-change announcement. |
| src/Kusto/Kusto.Autorest/custom/New-AzKustoDataConnection.ps1 | Adds PreviewMessage attribute for breaking-change announcement. |
| src/Kusto/Kusto.Autorest/custom/New-AzKustoDatabase.ps1 | Adds PreviewMessage attribute for breaking-change announcement. |
| src/Kusto/Kusto.Autorest/custom/Invoke-AzKustoDataConnectionValidation.ps1 | Adds PreviewMessage attribute for breaking-change announcement. |
| ``` | ||
|
|
||
| The above command creates a Kusto database script named "newkustoscript" in the resource group "testrg". | ||
| The above command creates a Kusto database script named "newkustocript" in the resource group "testrg". |
| @@ -1,4 +1,4 @@ | |||
| | |||
|
|
|||
|
|
||
| # Modules that must be imported into the global environment prior to importing this module | ||
| RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) | ||
| RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.4.0'; }) |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code |
Comment on lines
+154
to
+172
| # Breaking change preview messages for Az v16.0.0 migration to autorest v4 | ||
| - where: | ||
| verb: Add | ||
| subject: ^ClusterCalloutPolicy$|^ClusterLanguageExtension$|^DatabasePrincipal$ | ||
| set: | ||
| preview-announcement: | ||
| preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************" | ||
| - where: | ||
| verb: Get | ||
| subject: ^AttachedDatabaseConfiguration$|^Cluster$|^ClusterCalloutPolicy$|^ClusterFollowerDatabase$|^ClusterFollowerDatabaseGet$|^ClusterLanguageExtension$|^ClusterOutboundNetworkDependencyEndpoint$|^ClusterPrincipalAssignment$|^ClusterSku$|^Database$|^DatabasePrincipal$|^DatabasePrincipalAssignment$|^DataConnection$|^ManagedPrivateEndpoint$|^OperationsResult$|^PrivateEndpointConnection$|^PrivateLinkResource$|^SandboxCustomImage$|^Script$|^Sku$ | ||
| set: | ||
| preview-announcement: | ||
| preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************" | ||
| - where: | ||
| verb: Invoke | ||
| subject: ^DetachClusterFollowerDatabase$|^InviteDatabaseFollower$ | ||
| set: | ||
| preview-announcement: | ||
| preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released on May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************" |
Pan-Qi
approved these changes
May 5, 2026
VeryEarly
pushed a commit
that referenced
this pull request
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.