Skip to content

Release 3.3.0

Compare
Choose a tag to compare
@optibot optibot released this 11 Mar 22:00
· 163 commits to master since this release
06181c4

3.3.0

March 11, 2020

This release includes an enhancement of SDK initialization API to enable SDK updated on cached datafile change. It also fixes known bugs.

New Features

  • Add an option for synchronous initialization to enable SDK immediately updated when a new datafile is cached. Unless this feature is enabled, by default, the cached datafile will be used only when the SDK re-starts in the next session. Note that this option is for synchronous initialization only. (#297)

     // enable SDK update when a new datafile is cached
     optimizelyClient.start(datafile: data, doUpdateConfigOnNewDatafile: true)
     
     // by default, this feature is disabled
     optimizelyClient.start(datafile: data)
    

Bug Fixes

  • When a synchronously-initialized SDK enables background datafile polling and its datafile was changed in the server, the new datafile is cached but SDK is not dynamically updated. (#297)
  • When background datafile polling is enabled and app goes to background and comes back to foreground after some delays, datafile fetching is called multiple times back-to-back. (#301)
  • NotificationCenter can cause crashes when multiple threads add/call listeners simultaneously. (#304)