This repository was archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
prepare 2.0.0 release #10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…sses add getters to EvaluationReason and hide its subclasses
…lasses completely remove EvaluationReason subclasses
# Conflicts: # src/main/java/com/launchdarkly/sdk/EvaluationReason.java # src/main/java/com/launchdarkly/sdk/LDValue.java
remove @SInCE tags, misc doc fixes, add note about changelogging
make EvaluationDetail non-nullable + use boolean singletons
add JSON helpers, better serialization logic, and Gson adapter
# Conflicts: # src/main/java/com/launchdarkly/sdk/EvaluationDetail.java # src/test/java/com/launchdarkly/sdk/EvaluationReasonTest.java # src/test/java/com/launchdarkly/sdk/LDUserTest.java
improve and rigorously test equals() for all immutable types
more predictable exception behavior for LDValue.parse()
…dation (U2C 4) fix context kind/key validation logic
use percent-encoding for specific characters in fully-qualified key, not URLEncoder
flatten nested multi-kind contexts when building a multi-kind context
…ation fix user JSON validation to require that "custom" is an object or null
disable Windows Java 11 build
…ay-index attribute ref components are always properties, not array indices
remove secondary meta-attribute
remove LDUser as a concrete type
* re-add LDUser type, add conversion to LDContext * misc fixes * re-add test
…-null-key allow anonymous user with null key to be converted to a context
doc comment improvements for user/context types
louis-launchdarkly
approved these changes
Dec 1, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[2.0.0] - 2022-12-01
This major version release of
java-sdk-commoncorresponds 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:
LDContextandContextKinddefine 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.AttributeRefdefines 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:
secondarymeta-attribute that affects percentage rollouts. If you set an attribute with that name in anLDContext, it will simply be a custom attribute like any other.anonymousattribute inLDUseris now a simple boolean, with no distinction between a false state and a null state.Removed:
secondarymeta-attribute inLDUserandLDUser.Builder.