Skip to content

Releases: configcat/java-sdk

v10.0.1

Choose a tag to compare

@novalisdenahi novalisdenahi released this 16 Jun 13:11
8f43d29

2026 June Security release

Changed

  • setDefaultUser and clearDefaultUser methods are not blocked after client closure

v10.0.0

Choose a tag to compare

@novalisdenahi novalisdenahi released this 11 May 22:07
72efc9f

This release focuses on networking-related improvements. Upgrading is highly recommended if you occasionally see HTTP errors or timeouts in the SDK's log.

Improvements:

  • Implement logic to retry failed HTTP requests one time (on receiving unexpected status code, timeout or request error).
  • Add debug logging to ConfigFetcher.
  • Log the CF-RAY header also when the headers are received, but downloading the response body times out or fails.

Breaking changes:

  • The option to set a custom OkHttpClient was removed. Instead, a new HttpOptions was added to control HTTP Client timeouts and HTTP proxy configuration.

v9.4.4

Choose a tag to compare

@z4kn4fein z4kn4fein released this 15 Jul 15:29
5aa3f26

Changed

  • Only consider the HTTP status code 200 as an indication of success. We won't try to process the HTTP response body otherwise.

Added

  • Check for empty/invalid HTTP response body to report meaningful errors instead of null pointer exceptions during deserialization.

v9.4.3

Choose a tag to compare

@z4kn4fein z4kn4fein released this 19 May 13:15
ea3de93

Changed

  • Publish using the new Maven Central publishing API.

v9.4.2

Choose a tag to compare

@novalisdenahi novalisdenahi released this 17 Dec 10:41
3b883e7

Improvements

  • Added HTTP response CF-RAY header value to ConfigFetcher logs
  • Updated Auto poll correction time

v9.4.1

Choose a tag to compare

@novalisdenahi novalisdenahi released this 05 Aug 14:02
7642e41
  • 2024 August security release

v9.4.0

Choose a tag to compare

@novalisdenahi novalisdenahi released this 24 Jul 10:11
162687c

Improvements

  • Optimize log message formatting.

Breaking Changes

  • Changed LogFilterFunction.apply() method message parameter type to Object. The formatted message String can be obtained by calling toString. (It is guaranteed that the message string is built only once even if toString called multiple times.)

v9.3.0

Choose a tag to compare

@novalisdenahi novalisdenahi released this 04 Jul 11:29
803d045

Improvements

  • Refine SDK locking mechanism
  • Add new logFilter(LogFilterFunction) to the client customization options. The LogFilterFunction interface allows a custom log filtering implementation.

v9.2.0

Choose a tag to compare

@novalisdenahi novalisdenahi released this 07 Jun 10:52
b366878

Improvements / Changes

  • Deprecated addOnClientReady(Runnable callback) hook and added a new version addOnClientReady(Consumer<ClientCacheState> callback)
  • ConfigCatHooks synchronization replaced with ReentrantReadWriteLock
  • Added waitForReadyAsync method to client
  • ConfigCat User object methods visibility fixed.

v9.1.2

Choose a tag to compare

@z4kn4fein z4kn4fein released this 07 May 10:07
77e029f

Fixed

  • Initial config JSON load when auto poll enabled with results from cache.