Python-SDK - 3.2.0-beta.1
2 min
[3.2.0b1] - July 26th, 2019
New Features:
- Added support for automatic datafile management via PollingConfigManager:
- The PollingConfigManager is an implementation of the BaseConfigManager.
- Users may provide one of datafile or SDK key (sdk_key) or both to optimizely.Optimizely. Based on that the SDK will use the StaticConfigManager or the PollingConfigManager. Refer to the README for more instructions.
- An initial datafile can be provided to the PollingConfigManager to 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 by adding the Optimizely config notification.
- Introduced Optimizely.get_feature_variable API. (#191)
Deprecated:
- NotificationCenter.clear_notifications is deprecated as of this release. Please use NotificationCenter.clear_notification_listeners. (#182)
- NotificationCenter.clear_all_notifications is deprecated as of this release. Please use NotificationCenter.clear_all_notification_listeners. (#182)