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

Commit 1a68d62

Browse files
author
LaunchDarklyReleaseBot
committed
Releasing version 2.0.0
1 parent a82ac2d commit 1a68d62

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to the project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [2.0.0] - 2022-12-01
6+
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.
7+
8+
### Added:
9+
- 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.
10+
- 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.
11+
12+
### Changed:
13+
- 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.
14+
- 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.
15+
- The `anonymous` attribute in `LDUser` is now a simple boolean, with no distinction between a false state and a null state.
16+
17+
### Removed:
18+
- Removed all types, fields, and methods that were deprecated as of the most recent release.
19+
- Removed the `secondary` meta-attribute in `LDUser` and `LDUser.Builder`.
20+
521
## [1.3.0] - 2022-01-28
622
### Added:
723
- In `EvaluationReason`, added optional status information related to the new Big Segments feature.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=1.3.0
1+
version=2.0.0
22
# The following empty ossrh properties are used by LaunchDarkly's internal integration testing framework
33
# and should not be needed for typical development purposes (including by third-party developers).
44
ossrhUsername=

0 commit comments

Comments
 (0)