From 4449b1f2c957fd45bdab9a275cce7032bb1beef2 Mon Sep 17 00:00:00 2001 From: Weihao Ding <158090588+weihao-statsig@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:58:59 -0700 Subject: [PATCH] [release] 1.26.1 - Create StatsigUser with UserID and CustomIDs (#361) ### Improvements - Exposed another constructor on `StatsigUser` object so that now, end user can create a `StatsigUser` with both userID and customIDs. >Included In This Release >- 8a1451a74338319f8c8e2d21f4913feccf3cc5fc Weihao Ding > - chore: expose user obj constructor with both userid and customID (#360) --- gradle.properties | 2 +- src/main/kotlin/com/statsig/sdk/StatsigMetadata.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index fc29c5e..21d7173 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ SONATYPE_AUTOMATIC_RELEASE=true GROUP=com.statsig.serversdk POM_ARTIFACT_ID=serversdk -VERSION_NAME=1.26.0 +VERSION_NAME=1.26.1 POM_NAME=Statsig Server SDK POM_DESCRIPTION=A feature gating and a/b testing library for statsig diff --git a/src/main/kotlin/com/statsig/sdk/StatsigMetadata.kt b/src/main/kotlin/com/statsig/sdk/StatsigMetadata.kt index bf22f6a..fb69074 100644 --- a/src/main/kotlin/com/statsig/sdk/StatsigMetadata.kt +++ b/src/main/kotlin/com/statsig/sdk/StatsigMetadata.kt @@ -4,7 +4,7 @@ import com.google.gson.annotations.SerializedName import java.util.Properties import java.util.UUID -private const val VERSION = "1.26.0" +private const val VERSION = "1.26.1" internal data class StatsigMetadata(@SerializedName("sdkType") var sdkType: String = "java-server", @SerializedName("sessionID") var sessionID: String = UUID.randomUUID().toString(), @SerializedName("languageVersion") var languageVersion: String = System.getProperty("java.version"), @SerializedName("exposureLoggingDisabled") var exposureLoggingDisabled: Boolean? = null) { @SerializedName("sdkVersion")