Skip to content

Commit ce59511

Browse files
committed
feat: update version to 1.0.18, refine client header formatting for API requests
1 parent 6305f87 commit ce59511

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<!-- Metadata -->
33
<PropertyGroup>
4-
<Version>1.0.17</Version>
4+
<Version>1.0.18</Version>
55
<Copyright>Copyright (c) 2025 Qase</Copyright>
66
<Authors>Qase Team</Authors>
77
<Company>qase.io</Company>

Qase.Csharp.Commons/Utils/ClientHeadersBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static string BuildXClientHeader(
3838

3939
if (!string.IsNullOrWhiteSpace(reporterVersion))
4040
{
41-
parts.Add($"reporter_version=v{FormatVersion(reporterVersion!)}");
41+
parts.Add($"reporter_version={FormatVersion(reporterVersion!)}");
4242
}
4343

4444
// Add framework information
@@ -55,18 +55,18 @@ public static string BuildXClientHeader(
5555
// Add client versions
5656
if (!string.IsNullOrWhiteSpace(apiClientV1Version))
5757
{
58-
parts.Add($"client_version_v1=v{FormatVersion(apiClientV1Version!)}");
58+
parts.Add($"client_version_v1={FormatVersion(apiClientV1Version!)}");
5959
}
6060

6161
if (!string.IsNullOrWhiteSpace(apiClientV2Version))
6262
{
63-
parts.Add($"client_version_v2=v{FormatVersion(apiClientV2Version!)}");
63+
parts.Add($"client_version_v2={FormatVersion(apiClientV2Version!)}");
6464
}
6565

6666
// Add commons version
6767
if (!string.IsNullOrWhiteSpace(commonsVersion))
6868
{
69-
parts.Add($"core_version=v{FormatVersion(commonsVersion!)}");
69+
parts.Add($"core_version={FormatVersion(commonsVersion!)}");
7070
}
7171

7272
return string.Join(";", parts);

0 commit comments

Comments
 (0)