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

prepare 5.0.2 release #198

Merged
merged 869 commits into from
Jun 25, 2020
Merged

prepare 5.0.2 release #198

merged 869 commits into from
Jun 25, 2020

Conversation

LaunchDarklyCI
Copy link
Contributor

[5.0.2] - 2020-06-25

Changed:

  • It is no longer necessary to set StreamingDataSourceBuilder.pollingBaseURI if you are also setting baseURI. This is due to a change in how the LaunchDarkly streaming service works. The setter method still exists, but no longer has any effect and will be deprecated in a future release.

Fixed:

  • In polling mode, if a poll request failed due to a temporary network problem but then a subsequent request succeeded, DataSourceStatusProvider was continuing to report the status as INTERRUPTED when it should have been restored to VALID.
  • In polling mode, the SDK was unnecessarily re-storing the flag data in the data store even if it had not changed since the last poll request. This would cause unnecessary updates when using a database.
  • In polling mode, temporary files used for HTTP caching (in the system temporary directory) were not being cleaned up when the client was closed.
  • Fixed incorrect sample code in the documentation comment for FlagValueChangeListener.

(5.0 - #7) add stream logic for data store outages + improve test code
# Conflicts:
#	src/main/java/com/launchdarkly/client/Components.java
#	src/main/java/com/launchdarkly/client/LDConfig.java
#	src/main/java/com/launchdarkly/client/StreamProcessor.java
#	src/main/java/com/launchdarkly/sdk/server/DefaultEventProcessor.java
#	src/main/java/com/launchdarkly/sdk/server/DefaultFeatureRequestor.java
#	src/main/java/com/launchdarkly/sdk/server/DiagnosticEvent.java
#	src/main/java/com/launchdarkly/sdk/server/HttpConfiguration.java
#	src/main/java/com/launchdarkly/sdk/server/LDClient.java
#	src/main/java/com/launchdarkly/sdk/server/Util.java
#	src/test/java/com/launchdarkly/client/UtilTest.java
#	src/test/java/com/launchdarkly/sdk/server/DiagnosticEventTest.java
#	src/test/java/com/launchdarkly/sdk/server/LDConfigTest.java
#	src/test/java/com/launchdarkly/sdk/server/StreamProcessorTest.java
(4.x) add getters for all properties on EvaluationReason; deprecate subclasses
# Conflicts:
#	src/main/java/com/launchdarkly/client/EvaluationReason.java
#	src/test/java/com/launchdarkly/client/EvaluationReasonTest.java
(4.x) add scoped configuration for HTTP options
Java SDK should only log exception stacktraces at debug level
# Conflicts:
#	src/main/java/com/launchdarkly/client/EvaluationReason.java
#	src/main/java/com/launchdarkly/client/LDConfig.java
#	src/test/java/com/launchdarkly/client/EvaluationReasonTest.java
…or-comment

better documentation of client constructor, with singleton advice
5.0 (#1): remove deprecated HTTP config properties
…eleted-flag

5.0: fix NPE from allFlagsState when there's a deleted flag
…ntext

5.0 (#2): don't keep the entire LDConfig instance around after creating LDClient
eli-darkly and others added 24 commits May 29, 2020 17:28
(5.0 - #11) add HTTP default headers method + some component refactoring
# Conflicts:
#	src/main/java/com/launchdarkly/sdk/server/Components.java
#	src/main/java/com/launchdarkly/sdk/server/LDClient.java
(5.0) use simpler and more stable logger names
# Conflicts:
#	src/main/java/com/launchdarkly/sdk/server/ComponentsImpl.java
#	src/main/java/com/launchdarkly/sdk/server/LDClient.java
# Conflicts:
#	src/main/java/com/launchdarkly/sdk/server/integrations/FileDataSourceImpl.java
(5.0 - #12) final test coverage improvements, for now, with enforcement
support loading file data from a classpath resource
# Conflicts:
#	gradle.properties
#	src/main/java/com/launchdarkly/sdk/server/Version.java
use okhttp-eventsource 2.3.1 for thread fix
fix flaky tests due to change in EventSource error reporting
remove support for indirect put and indirect patch
LaunchDarklyCI pushed a commit that referenced this pull request Jun 25, 2020
…eads

(4.x) change in-memory store to use an immutable map and lockless reads
@LaunchDarklyCI LaunchDarklyCI merged commit 37af42c into master Jun 25, 2020
@LaunchDarklyCI LaunchDarklyCI deleted the release-5.0.2 branch June 25, 2020 23:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants