From 7ac827f4ea386ec5186f2b6e1b4c0f6e13379d2a Mon Sep 17 00:00:00 2001 From: LaunchDarklyCI Date: Thu, 8 Jul 2021 01:35:06 +0000 Subject: [PATCH] Releasing version 5.6.1 --- CHANGELOG.md | 7 +++++++ gradle.properties | 2 +- src/main/java/com/launchdarkly/sdk/server/Version.java | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d17369bcc..43400368a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to the LaunchDarkly Java SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [5.6.1] - 2021-07-07 +This release fixes two packaging errors that could produce unwanted Java dependency behavior, as described below. There are no changes to the SDK's functionality in this release, and you do not need to modify your code or your build. + +### Fixed: +- Two Jackson packages (`com.fasterxml.jackson.core:jackson-core`, `com.fasterxml.jackson.core:jackson-databind`) were mistakenly listed as dependencies in the SDK's metadata, causing those packages to be downloaded and included in the classpath even if you were not using them. The SDK does not require Jackson, even though it can optionally be made to use it. This was meant to be fixed in the 5.5.0 release as previously described in the changelog, but was not. +- The SDK jar manifest contained a `Class-Path` attribute that referenced SLF4J and Jackson jars at a specific relative file path. This could cause a warning to be printed if those jars did not exist at that file path, even if they were elsewhere in your classpath. The `Class-Path` attribute is mainly useful for independently-deployable application jars and is not useful here; it has been removed. ([#240](https://github.com/launchdarkly/java-server-sdk/issues/240)) + ## [5.6.0] - 2021-07-02 ### Added: - The `builder()` method in `FeatureFlagsState`, for creating instances of that class (most likely useful in test code). ([#234](https://github.com/launchdarkly/java-server-sdk/issues/234)) diff --git a/gradle.properties b/gradle.properties index 2f2d84d1e..3c7ad9715 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=5.6.0 +version=5.6.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 5cece03d5..6c5553f89 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.6.0"; + static final String SDK_VERSION = "5.6.1"; }