Skip to content

v8.0.0

Compare
Choose a tag to compare
@kp-cat kp-cat released this 28 Feb 14:31
· 67 commits to master since this release

Fixed

  • During an ongoing fetch, all additional fetch requests will be waiting for the ongoing fetch's result.
  • JSON deserialization happens only when the actual JSON differs from the cached one in memory.
  • The evaluation logs are staying on the info level but they are now combined into a single log entry.
  • Remove the default inMemoryConfigCache to keep only a single Config instance in memory at once.

Added

  • A getAllValues() function was added that evaluates all flags & settings in a [String: Any].
  • New flagOverrides parameter to support the reading of flags & settings from a [String: Any].

Breaking Changes

  • maxWaitTimeForSyncCallsInSeconds was replaced with maxInitWaitTimeInSeconds in case of the 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.