From 9c5fa253fd094b127d8850d7907b6fa0268e302c Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Fri, 29 Jul 2022 00:10:39 +0000 Subject: [PATCH] Releasing version 5.10.0 --- CHANGELOG.md | 10 ++++++++++ gradle.properties | 2 +- src/main/java/com/launchdarkly/sdk/server/Version.java | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da9ec6958..611d320c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to the LaunchDarkly Java SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [5.10.0] - 2022-07-28 +The main purpose of this release is to introduce a new logging facade, [`com.launchdarkly.logging`](https://github.com/launchdarkly/java-logging), to streamline how logging works in LaunchDarkly Java and Android code. Previously, the Java SDK always used SLF4J for logging; developers needed to provide an SLF4J configuration externally to specify the actual logging behavior. In this release, the default behavior is still to use SLF4J, but the logging facade can also be configured programmatically to do simple console logging without SLF4J, or to forward output to another framework such as `java.util.logging`, or to multiple destinations, or to capture output in memory. In a future major version release, the default behavior may be changed so that the SDK does not require SLF4J as a dependency. + +### Added: +- In [`LoggingConfigurationBuilder`](https://javadoc.io/doc/com.launchdarkly/launchdarkly-java-server-sdk/latest/com/launchdarkly/sdk/server/integrations/LoggingConfigurationBuilder.html), the new methods `adapter` and `level`, for the new logging capabilities mentioned above. +- `TestData.FlagBuilder.variationForAll` and `valueForAll`: new names for the deprecated methods listed below. + +### Deprecated: +- `TestData.FlagBuilder.variationForAllUsers` and `valueForAllUsers`: These methods are being renamed because in the future, there will be other possible kinds of evaluation inputs that are not users, and these test methods will apply equally to those. + ## [5.9.3] - 2022-07-28 ### Changed: - Updated `okhttp` dependency to version 4.9.3 to address a [reported vulnerability](https://security.snyk.io/vuln/SNYK-JAVA-COMSQUAREUPOKHTTP3-2958044) in earlier versions of that library, which could have allowed potentially sensitive information to be written to the log if you had put that information in a custom header value that contained an illegal character (see release notes for Java SDK [5.6.0](https://github.com/launchdarkly/java-server-sdk/releases/tag/5.6.0)). ([#271](https://github.com/launchdarkly/java-server-sdk/issues/271)) diff --git a/gradle.properties b/gradle.properties index 26991ccf5..2680f7fc9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=5.9.3 +version=5.10.0 # 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 1cd92c9c9..35af8fcd7 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.9.3"; + static final String SDK_VERSION = "5.10.0"; }