Skip to content

Java SDK 4.24.0

Choose a tag to compare

@Kameleoon-SDK Kameleoon-SDK released this 27 Aug 09:47
· 3 commits to main since this release

Features

  • Added the new waitInit(timeoutMillis) overload, which limits how long the returned future may stay pending. The future settles with the result of the configuration fetch (successfully once the SDK is ready, or exceptionally with KameleoonException.Initialization as soon as the fetch has failed); if no fetch result is available within the timeout, it completes exceptionally with KameleoonException.Initialization caused by a TimeoutException.
  • Added the new KameleoonException.Initialization exception, which waitInit now fails with when the SDK could not be initialized. The former KameleoonException.SDKNotReady is deprecated; it remains catchable because Initialization extends it, and will be removed in the next major release.

Bug fixes

  • Targeting conditions of unknown (unsupported) types are now evaluated to false instead of true, so visitors are no longer targeted by segments containing web-specific conditions the SDK does not support.