From c702d430baf9d57b8377ecc368d56277ecbe15d8 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Wed, 4 May 2022 21:55:16 +0000 Subject: [PATCH] Releasing version 5.8.1 --- CHANGELOG.md | 5 +++++ gradle.properties | 2 +- src/main/java/com/launchdarkly/sdk/server/Version.java | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9a5b9335..a60bd86c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to the LaunchDarkly Java SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [5.8.1] - 2022-05-04 +### Fixed: +- Calling `stringVariationDetail` with a flag whose variations are _not_ strings, and passing `null` as the default value parameter, would result in an `EvaluationDetail` that had a null value but had a regular evaluation reason and variation index (whatever those would be for a successful evaluation of that flag). It now correctly returns a `WRONG_TYPE` error reason, and `NO_VARIATION` for the variation index. +- If a field in `Config.ApplicationInfo` is set to a string longer than 64 characters, the SDK will now log a warning and discard it, since the LaunchDarkly services cannot process such strings for these fields. + ## [5.8.0] - 2022-04-18 ### Added: - `LDConfig.Builder.applicationInfo()`, for configuration of application metadata that may be used in LaunchDarkly analytics or other product features. This does not affect feature flag evaluations. diff --git a/gradle.properties b/gradle.properties index e1b8bb14f..402f558f4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=5.8.0 +version=5.8.1 # The following empty ossrh properties are used by LaunchDarkly's internal integration testing framework # and should not be needed for typical development purposes (including by third-party developers). ossrhUsername= diff --git a/src/main/java/com/launchdarkly/sdk/server/Version.java b/src/main/java/com/launchdarkly/sdk/server/Version.java index 3ae49bd67..20ed24ecd 100644 --- a/src/main/java/com/launchdarkly/sdk/server/Version.java +++ b/src/main/java/com/launchdarkly/sdk/server/Version.java @@ -4,5 +4,5 @@ abstract class Version { private Version() {} // This constant is updated automatically by our Gradle script during a release, if the project version has changed - static final String SDK_VERSION = "5.8.0"; + static final String SDK_VERSION = "5.8.1"; }