From 7e658ad902c3ce2e76427ff1afbbb198e3a1f1bc Mon Sep 17 00:00:00 2001 From: aliabbasrizvi Date: Mon, 26 Aug 2019 20:06:09 -0700 Subject: [PATCH] Preparing for 3.2.0 release --- CHANGELOG.md | 17 +++++++++++++++++ optimizely/version.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edfa7028..23f86a1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Optimizely Python SDK Changelog +## 3.2.0 +August 27th, 2019 + +### New Features: +* Added support for automatic datafile management via [PollingConfigManager](https://github.com/optimizely/python-sdk/blob/3.2.x/optimizely/config_manager.py#L151): + * The [PollingConfigManager](https://github.com/optimizely/python-sdk/blob/3.2.x/optimizely/config_manager.py#L151) is an implementation of the [BaseConfigManager](https://github.com/optimizely/python-sdk/blob/3.2.x/optimizely/config_manager.py#L32). + * 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](https://github.com/optimizely/python-sdk/blob/3.2.x/optimizely/config_manager.py#L73) or the [PollingConfigManager](https://github.com/optimizely/python-sdk/blob/3.2.x/optimizely/config_manager.py#L151). Refer to the [README](README.md) 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_UPDATE notification listener. +* Introduced `Optimizely.get_feature_variable` API. ([#191](https://github.com/optimizely/python-sdk/pull/191)) + +### Deprecated: + +* `NotificationCenter.clear_notifications` is deprecated as of this release. Please use `NotificationCenter.clear_notification_listeners`. ([#182](https://github.com/optimizely/python-sdk/pull/182)) +* `NotificationCenter.clear_all_notifications` is deprecated as of this release. Please use `NotificationCenter.clear_all_notification_listeners`. ([#182](https://github.com/optimizely/python-sdk/pull/182)) + ## 3.2.0b1 July 26th, 2019 diff --git a/optimizely/version.py b/optimizely/version.py index 27041c60..fcda3b66 100644 --- a/optimizely/version.py +++ b/optimizely/version.py @@ -11,5 +11,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -version_info = (3, 2, '0-beta1') +version_info = (3, 2, 0) __version__ = '.'.join(str(v) for v in version_info)