This repository has been archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Conversation
This file contains 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
# Conflicts: # src/main/java/com/launchdarkly/client/Components.java # src/main/java/com/launchdarkly/client/EventsConfiguration.java # src/main/java/com/launchdarkly/sdk/server/DefaultEventProcessor.java # src/main/java/com/launchdarkly/sdk/server/EventFactory.java # src/main/java/com/launchdarkly/sdk/server/integrations/EventProcessorBuilder.java # src/test/java/com/launchdarkly/client/TestUtil.java # src/test/java/com/launchdarkly/sdk/server/DefaultEventProcessorTest.java
# Conflicts: # src/test/java/com/launchdarkly/sdk/server/LDClientEndToEndTest.java
…add new ErrorKind for this; improve comments and tests
(#6) implement data source status monitoring
# Conflicts: # src/main/java/com/launchdarkly/sdk/server/DefaultEventProcessor.java
decouple event HTTP logic from event processing
# Conflicts: # src/main/java/com/launchdarkly/sdk/server/DefaultEventSender.java # src/test/java/com/launchdarkly/sdk/server/DefaultEventSenderTest.java
…e-url make events URI construction reliable regardless of whether base URI ends in a slash
# Conflicts: # CHANGELOG.md # gradle.properties
…stupdate [ch90672] socket factory make test less ambiguous
…275) * increment versions when loading file data, so FlagTracker will work * update doc comment about flag change events with file data
* add alias events and function * update tests for new functionality * update javadoc strings
add validation of javadoc build to CI
bwoskow-ld
approved these changes
Apr 22, 2021
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.
[5.4.0] - 2021-04-22
Added:
alias
method toLDClient
. This can be used to associate two user objects for analytics purposes with an alias event.com.launchdarkly.sdk.json.LDGson
, added convenience methodsvalueToJsonElement
andvalueMapToJsonElementMap
for applications that use Gson types.com.launchdarkly.sdk.LDValue
, added convenience methodarrayOf()
.Changed:
com.launchdarkly.sdk.json
, the implementations ofLDGson.typeAdapters
andLDJackson.module
have been changed for better efficiency in deserialization. Instead of creating an intermediate string representation and re-parsing that, they now have a more direct way for the internal deserialization logic to interact with the streaming parser in the application's Gson or Jackson instance.Fixed:
Gson.toJsonTree
now works with LaunchDarkly types, as long as you have configured it as described incom.launchdarkly.sdk.json.LDGson
. Previously, Gson was able to convert these types to and from JSON string data, buttoJsonTree
did not work due to a known issue with theJsonWriter.jsonValue
method; the SDK code no longer uses that method.LDValue.parse()
now returnsLDValue.ofNull()
instead of an actual null reference if the JSON string isnull
.EvaluationDetail<LDValue>
from JSON, if thevalue
property isnull
, it will now translate this intoLDValue.ofNull()
rather than an actual null reference.