Release 3.2.0
3.2.0
June 26th, 2019
New Features:
- Added support for automatic datafile management via
HttpProjectConfigManager:- The
HttpProjectConfigManager
is part of thecore-httpclient-implpackage and is an implementation of the abstract
PollingProjectConfigManagerclass. - Users must first build the
HttpProjectConfigManagerwith an SDK key and then and provide that instance to the Optimizely.Builder. - An initial datafile can be provided to the
HttpProjectConfigManagerto bootstrap before making http requests for the hosted datafile. - Requests for the datafile are made in a separate thread and are scheduled with fixed delay.
- Configuration updates can be subscribed to via the
Optimizely#addUpdateConfigNotificationHandleror by subscribing to
the NotificationCenter built with theHttpProjectConfigManager.
- The
- Added
AsyncEventHandler.Builderto be consistent with other Optimizely resources. - The
OptimizelyFactory
was included in thecore-httpclient-implpackage and provides basic methods for instantiating the Optimizely SDK with a minimal number of parameters. - Default configuration options for
HttpProjectConfigManagerandAsyncEventHandlercan be overwritten using Java system properties, environment variables or via anoptimizely.propertiesfile
to avoid hard coding the configuration options.
Deprecated
Optimizely.builder(String, EventHandler)was deprecated in favor of pure builder methodswithConfigManagerandwithEventHandler.