-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking Changes PR check not flagging removed property as breaking #3982
Comments
@mikekistler this is because all the api-versions of the RP are preview and no stable version, so the breaking change are allowed per breaking change policy , then we flag it as warning |
Thanks @jianyexi, that's good to know. Could you please update the breaking changes doc in your PR to explain this subtle point? Thx. |
Fair enough. |
It seems that the situation is not quite as simple as this. The breaking changes check does flag some breaking changes as errors even when there is no prior GA version. PR #8244 is an example: What is the explanation for why these breaking changes are reported as errors even though there is no prior GA version? |
if we can know the last preview is over 1 year (consider the api-version as date ), we will consider it as stable version, it's already described in the documentation |
One exception is that some data-plane Api-version follow the pattern like 'preview/v1', so we always treat them as preview version. let me know if you want to have different strategy |
The Breaking Changes PR check in the azure-rest-api-specs repo is failing to flag a removed property as breaking and requiring a Breaking Change review.
REST API PR: Azure/azure-rest-api-specs#20009
The Breaking Changes-Cross Version PR check issued a warning for the removed property:
Here is the actual change:
Any property being removed should be flagged as a breaking change even in a new API version.
cc: @JeffreyRichter @srmantha
The text was updated successfully, but these errors were encountered: