diff --git a/tools/azure-sdk-tools/packaging_tools/change_log.py b/tools/azure-sdk-tools/packaging_tools/change_log.py index fd5a43834646..1f6eed9faae7 100644 --- a/tools/azure-sdk-tools/packaging_tools/change_log.py +++ b/tools/azure-sdk-tools/packaging_tools/change_log.py @@ -67,7 +67,7 @@ def operation(self, diff_entry): return # Is this a new operation, inside a known operation group? - function_name, *remaining_path = remaining_path + function_name, parameter_name, *remaining_path = remaining_path if not remaining_path: if is_deletion: self.breaking_changes.append(_REMOVE_OPERATION.format(operation_name, function_name)) @@ -80,7 +80,7 @@ def operation(self, diff_entry): return # So method signaure changed. Be vague for now - self.breaking_changes.append(_SIGNATURE_CHANGE.format(operation_name, function_name)) + self.breaking_changes.append(_SIGNATURE_CHANGE.format(operation_name, function_name, parameter_name)) def models(self, diff_entry): path, is_deletion = self._unpack_diff_entry(diff_entry) @@ -144,7 +144,7 @@ def models(self, diff_entry): ## Breaking Changes _REMOVE_OPERATION_GROUP = "Removed operation group {}" _REMOVE_OPERATION = "Removed operation {}.{}" -_SIGNATURE_CHANGE = "Operation {}.{} has a new signature" +_SIGNATURE_CHANGE = "Operation {}.{} has a new signature {}" _MODEL_SIGNATURE_CHANGE = "Model {} has a new signature" _MODEL_PARAM_DELETE = "Model {} no longer has parameter {}" _MODEL_PARAM_ADD_REQUIRED = "Model {} has a new required parameter {}"