Skip to content

[breaking change detector] optimization for changelog about renaming breakings #37249

Open
@msyyc

Description

@msyyc

If SDK API changes from common API to Lro API, there will be begin_ prefix added like:
image
It is very common kind of breakings, then old breaking tool will detect it in specific

new_function = f'begin_{old_function}'
if f'{op}.{new_function}' in self.added_operations:
self.added_operations.remove(f'{op}.{new_function}')
self.breaking_changes.append(_RENAME_OPERATION.format(op, old_function, op, new_function))
so that the changelog is more user-friendly like:

Renamed operation MonitorsOperations.update to MonitorsOperations.begin_update

I hope new tool could also have similar optimization for SDK users.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions