Skip to content

Releases: configcat/java-sdk

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

v9.0.1

13 Feb 14:34
d5b9881
Compare
Choose a tag to compare

Improvements/Fixes:

  • Add target rule percentage options to getKeyAndValue and getKeyAndValueAsync results.
  • Improve double user attribute convert to String
  • Json file override handle unicode characters
  • Added extra config v6 evaluation tests
  • Error message and java doc improvements

v9.0.0

17 Jan 14:36
2bdfa41
Compare
Choose a tag to compare

New features and improvements:

  • Add support for the new Config JSON v6 format: update the config model and implement new features in setting evaluation logic.
  • Overhaul setting evaluation-related logging and make it consistent across SDKs.
  • Performance improvements to setting evaluation when info level logging is turned off.

Breaking changes:

  • Change the type of the User custom attribute map from Map<String, String> to Map<String, Object> to allow other values than String.
  • The config JSON v5 format is no longer accepted by flag overrides. If you use this feature, you will need to convert your override JSON file(s) to the v6 format. You can do this using the config-json convert v5-to-v6 command of the ConfigCat CLI tool.
  • Rename the matchedEvaluationRule property to matchedTargetingRule and the matchedEvaluationPercentageRule property to matchedPercentageOption in EvaluationDetails.
  • Change config model (Config and related interfaces/enums).
  • Throw IllegalArgumentException when the SDK key passed to ConfigCatClient.get is in an invalid format (unless the client is set up to use local-only flag override behaviour).

v8.4.0

09 Nov 09:47
da932c0
Compare
Choose a tag to compare

Fixed

  • Determining the in-memory TTL from the external cache's expiration in Lazy load polling mode.