Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Releases: launchdarkly/java-sdk-common

2.1.1

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 13 Nov 22:41

[2.1.1] - 2023-11-13

Fixed:

  • Fixes NPE when interacting with Context created by use of copyFrom. (Thanks,
    pedroafonsodias
    )

2.1.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 03 Aug 17:07

[2.1.0] - 2023-08-03

Changed:

2.0.1

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 17 May 20:39

[2.0.1] - 2023-05-17

Changed:

  • Updating Gradle to 7.6

Fixed:

  • Fixed NPE when creating a multi-context that included one invalid context.

2.0.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 01 Dec 21:05

[2.0.0] - 2022-12-01

This major version release of java-sdk-common corresponds to the upcoming v6.0.0 release of the LaunchDarkly Java SDK (java-server-sdk) and the v4.0.0 release of the LaunchDarkly Android SDK (android-client-sdk), and cannot be used with earlier SDK versions.

Added:

  • The types LDContext and ContextKind define the new "context" model. "Contexts" are a replacement for the earlier concept of "users"; they can be populated with attributes in more or less the same way as before, but they also support new behaviors. More information about these features will be included in the release notes for the v6.0.0 Java SDK and v4.0.0 Android SDK releases.
  • The type AttributeRef defines the attribute reference syntax, for referencing subproperties of JSON objects in flag evaluations or private attribute configuration. Applications normally will not need to reference this type.

Changed:

  • It was previously allowable to set a user key to an empty string. In the new context model, the key is not allowed to be empty. Trying to use an empty key will cause evaluations to fail and return the default value.
  • There is no longer such a thing as a secondary meta-attribute that affects percentage rollouts. If you set an attribute with that name in an LDContext, it will simply be a custom attribute like any other.
  • The anonymous attribute in LDUser is now a simple boolean, with no distinction between a false state and a null state.

Removed:

  • Removed all types, fields, and methods that were deprecated as of the most recent release.
  • Removed the secondary meta-attribute in LDUser and LDUser.Builder.

1.3.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 29 Jan 00:32

[1.3.0] - 2022-01-28

Added:

  • In EvaluationReason, added optional status information related to the new Big Segments feature.

1.2.2

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 25 Jan 04:19

[1.2.2] - 2022-01-24

Fixed:

  • The com.launchdarkly.sdk.json serialization methods were dropping any object property whose value was null (due to the internal use of Gson, and Gson's default behavior of always omitting null properties). This has been changed to always respect whatever properties are written by the serializer for a given type, since in some cases (such as a map of feature flag keys to values) the presence of a key with a null value might have a subtly different meaning than the absence of the key.

1.2.1

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 30 Nov 19:04

[1.2.1] - 2021-11-30

Fixed:

  • Updated Gson to 2.8.9 for a security bugfix. This dependency change will also be made in the Java SDK; the version of Gson that is referenced in java-sdk-common is used only at compile time.

1.2.0

Choose a tag to compare

@LaunchDarklyCI LaunchDarklyCI released this 17 Jun 21:39

[1.2.0] - 2021-06-17

Added:

  • The SDK now supports the ability to control the proportion of traffic allocation to an experiment. This works in conjunction with a new platform feature now available to early access customers.

1.1.2

Choose a tag to compare

@LaunchDarklyCI LaunchDarklyCI released this 15 Jun 00:13

[1.1.2] - 2021-06-14

Changed:

  • Increased the compile-time dependency on jackson-databind to 2.10.5.1, due to CVE-2020-25649.
  • Stopped including Gson and Jackson in the published runtime dependency list in Gradle module metadata. These artifacts were already being excluded from pom.xml, but were still showing up as transitive dependencies in any tools that used the module metadata. For the rationale behind excluding these dependencies, see build-shared.gradle.

1.1.1

Choose a tag to compare

@LaunchDarklyCI LaunchDarklyCI released this 22 Apr 21:48

[1.1.1] - 2021-04-22

Fixed:

  • Fixed an issue in the Jackson integration that could cause .0 to be added unnecessarily to integer numeric values when serializing objects with Jackson.