From 434aa0170f9ad04751af632342a902e377e86c40 Mon Sep 17 00:00:00 2001 From: sroyal-statsig <76536058+sroyal-statsig@users.noreply.github.com> Date: Mon, 30 Sep 2024 11:01:12 -0700 Subject: [PATCH] [release] 1.28.0 - Add User Persistent Storage (#160) ### New Features - Adds support for user persistent storage to ensure users get consistent experiment assignment ### Improvements - Includes group name in the getClientInitializeResponse so that it can be used by client sdks --- dotnet-statsig-tests/Common/StatsigTest.cs | 4 ++-- dotnet-statsig/dotnet-statsig.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dotnet-statsig-tests/Common/StatsigTest.cs b/dotnet-statsig-tests/Common/StatsigTest.cs index aa2642a..63d316b 100644 --- a/dotnet-statsig-tests/Common/StatsigTest.cs +++ b/dotnet-statsig-tests/Common/StatsigTest.cs @@ -21,7 +21,7 @@ public class StatsigTest : IAsyncLifetime { WireMockServer _server; - private const String ExpectedSdkVersion = "1.27.3.0"; + private const String ExpectedSdkVersion = "1.28.0.0"; Task IAsyncLifetime.InitializeAsync() { @@ -316,7 +316,7 @@ await StatsigServer.Initialize Assert.True(requestHeaders["STATSIG-API-KEY"].ToString().Equals("secret-fake-key")); Assert.True(requestHeaders["STATSIG-SDK-VERSION"].ToString().Equals(ExpectedSdkVersion)); Assert.True(requestHeaders["STATSIG-SDK-TYPE"].ToString().Equals("dotnet-server")); - + Assert.True(metadata["sdkType"].Equals("dotnet-server")); Assert.True(metadata["sdkVersion"].Equals(ExpectedSdkVersion)); diff --git a/dotnet-statsig/dotnet-statsig.csproj b/dotnet-statsig/dotnet-statsig.csproj index d3ae41e..ed6126b 100644 --- a/dotnet-statsig/dotnet-statsig.csproj +++ b/dotnet-statsig/dotnet-statsig.csproj @@ -7,7 +7,7 @@ statsig_dotnet true Statsig - 1.27.3 + 1.28.0 Statsig Inc. true https://github.com/statsig-io/dotnet-sdk.git