Skip to content

Commit 19c1313

Browse files
Update change log for 0.5.7 (#12769)
* Update change log for 0.5.7 * Bug fix in telemetry service
1 parent d42862b commit 19c1313

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

tools/azsdk-cli/Azure.Sdk.Tools.Cli/CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Release History
22

3-
## 0.5.7 (Unreleased)
3+
## 0.5.7 (2025-11-05)
44

55
### Features Added
66

7-
### Breaking Changes
7+
- Updated responses for release plan, TypeSpec, generate and build SDK tools to include language, TypeSpec path and package name.
8+
- Added verify setup tool
89

910
### Bugs Fixed
1011

11-
### Other Changes
12+
- Validation workflow fixes
13+
- Fix issue in telemetry service when setting string properties
1214

1315
## 0.5.6 (2025-11-03)
1416

tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Core/InstrumentedTool.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,25 @@ public override async ValueTask<CallToolResult> InvokeAsync(RequestContext<CallT
5959
{
6060
foreach (var kvp in responseDict)
6161
{
62-
if (kvp.Value != null)
62+
if (kvp.Value is JsonElement value)
63+
{
64+
switch (value.ValueKind)
65+
{
66+
// Add custom properties based on the value kind. Otherwise string type is url escaped in telemetry
67+
// like \"python\" instead of python
68+
case JsonValueKind.String:
69+
activity?.SetCustomProperty(kvp.Key, value.GetString() ?? string.Empty);
70+
break;
71+
default:
72+
activity?.SetCustomProperty(kvp.Key, JsonSerializer.Serialize(kvp.Value));
73+
break;
74+
}
75+
}
76+
else
6377
{
6478
activity?.SetCustomProperty(kvp.Key, JsonSerializer.Serialize(kvp.Value));
6579
}
80+
6681
}
6782
}
6883
}

0 commit comments

Comments
 (0)