Skip to content

Releases: configcat/java-sdk

v9.4.4

15 Jul 15:29
5aa3f26
Compare
Choose a tag to compare

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

19 May 13:15
ea3de93
Compare
Choose a tag to compare

Changed

  • Publish using the new Maven Central publishing API.

v9.4.2

17 Dec 10:41
3b883e7
Compare
Choose a tag to compare

Improvements

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

v9.4.1

05 Aug 14:02
7642e41
Compare
Choose a tag to compare
  • 2024 August security release

v9.4.0

24 Jul 10:11
162687c
Compare
Choose a tag to compare

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

04 Jul 11:29
803d045
Compare
Choose a tag to compare

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

07 Jun 10:52
b366878
Compare
Choose a tag to compare

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

07 May 10:07
77e029f
Compare
Choose a tag to compare

Fixed

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

v9.1.1

23 Apr 11:44
2c6fe1b
Compare
Choose a tag to compare

Fixed

  • getKeyAndValue possible NPE

v9.1.0

03 Apr 14:24
9b4e6f5
Compare
Choose a tag to compare

Breaking Changes

  • Rename SettingsValue to correct SettingValue

Improvements/fixes

  • Fix hashed starts/ends with comparator trimming
  • userAttributeToString method handles Float
  • Fix getKeyAndValue missing exception
  • Improve prerequisite flag evaluation type checks
  • Typo fixes and more test cases added