Skip to content

Releases: configcat/java-sdk

v7.0.2

10 Jan 15:14
Compare
Choose a tag to compare

Fixed

  • Added okhttp to consumer classpath. It was not accessible for consumers to override the internal HTTP client.

v7.0.1

06 Jan 13:39
Compare
Choose a tag to compare

Bumped okhttp version to 3.12.13 due to security report.

v7.0.0

06 Jan 12:33
Compare
Choose a tag to compare

Fixed

  • During an ongoing fetch, all additional fetch requests will subscribe to the ongoing fetch's CompletableFuture.
  • JSON deserialization happens only when the actual JSON differs from the cached one in memory.
  • The evaluation logs are staying on info level but they are now combined into a single log entry.

Added

  • A new logLevel() configuration option was added, to let the user change the SDK's verbosity.
  • A getAllValues() function was added that evaluates all flags & settings in a Map<String, Object>.
  • New flagOverrides() builder option to support the reading of flags & settings from a local file or a Map<String, Object>.

Breaking Changes

  • Fixed the names of the Polling modes: e.g: PollingModes.AutoPoll() -> PollingModes.autoPoll().
  • maxWaitTimeForSyncCallsInSeconds was replaced with maxInitWaitTimeInSeconds in case of auto poll to give a maximum amount of wait time for the first config JSON fetch. When it's reached without a result, the latest cached value will be returned.

v6.0.1

11 Jan 15:34
Compare
Choose a tag to compare
  • Fix for #6, now the HTTP response body is properly closed after each request.

v6.0.0

12 Oct 09:42
ebf39f4
Compare
Choose a tag to compare

Addressing global data handling and processing trends via Data Governance feature. Customers can control the geographic location where their config JSONs get published to. See the docs.
We are introducing a new DataGovernance initialization parameter. Set this parameter to be in sync with the Data Governance preference on the Dashboard.
Breaking change:

  • Custom cache implementations should implement the new cache interface using key parameter in the get/set methods.

v5.1.0

14 Aug 12:47
7bd09b4
Compare
Choose a tag to compare

Added variation id related functions to support integration with analytical tools:

  • getVariationId[Async]()
  • getAllVariationIds[Async]()
  • getKeyAndValue[Async]()

v5.0.1

14 May 21:15
Compare
Choose a tag to compare

Increase commons-codec version due to security vulnerability

v5.0.0

09 Apr 15:46
Compare
Choose a tag to compare

Breaking change: Renamed API Key to SDK Key.

v4.0.1

26 Feb 16:07
Compare
Choose a tag to compare

Moving from config_v3.json to config_v4.json.

v4.0.0

24 Feb 11:47
Compare
Choose a tag to compare

Supporting sensitive comparators in targeting rules.