From f5cc89fd2916bf1b9c31b696665a501a57c5b9ee Mon Sep 17 00:00:00 2001 From: Matjaz Pirnovar Date: Thu, 11 Feb 2021 15:02:23 -0800 Subject: [PATCH 1/3] feat(release) bump version, update changelog, update py version --- CHANGELOG.md | 15 +++++++++++++++ optimizely/version.py | 2 +- setup.py | 4 +++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38e07107..76cd9508 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Optimizely Python SDK Changelog +## 3.8.0 +February 11th, 2021 + +### New Features +* New Features +Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users ([#309](https://github.com/optimizely/python-sdk/pull/309), [#311](https://github.com/optimizely/python-sdk/pull/311), [#312](https://github.com/optimizely/python-sdk/pull/312), [#314](https://github.com/optimizely/python-sdk/pull/314)). The new OptimizelyUserContext class is instantiated with createUserContext and exposes the following APIs to get OptimizelyDecision: + + - setAttribute + - decide + - decideAll + - decideForKeys + - trackEvent + +For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/python-sdk. + ## 3.7.1 November 19th, 2020 diff --git a/optimizely/version.py b/optimizely/version.py index 53c79544..f9a270d4 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, 7, 1) +version_info = (3, 8, 0) __version__ = '.'.join(str(v) for v in version_info) diff --git a/setup.py b/setup.py index d1123a35..1c99c91e 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ 'Optimizely X Full Stack is A/B testing and feature management for product development teams. ' 'Experiment in any application. Make every feature on your roadmap an opportunity to learn. ' 'Learn more at https://www.optimizely.com/products/full-stack/ or see our documentation at ' - 'https://developers.optimizely.com/x/solutions/sdks/reference/index.html?language=python.' + 'https://docs.developers.optimizely.com/full-stack/docs.' ) setup( @@ -50,6 +50,8 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', ], packages=find_packages(exclude=['docs', 'tests']), extras_require={'test': TEST_REQUIREMENTS}, From 454858f8f1710483f32a644260730693d03cd516 Mon Sep 17 00:00:00 2001 From: Matjaz Pirnovar Date: Thu, 11 Feb 2021 17:21:57 -0800 Subject: [PATCH 2/3] updtae changelog note --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76cd9508..cfb27b69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ February 11th, 2021 ### New Features * New Features -Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users ([#309](https://github.com/optimizely/python-sdk/pull/309), [#311](https://github.com/optimizely/python-sdk/pull/311), [#312](https://github.com/optimizely/python-sdk/pull/312), [#314](https://github.com/optimizely/python-sdk/pull/314)). The new OptimizelyUserContext class is instantiated with createUserContext and exposes the following APIs to get OptimizelyDecision: +Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users ([#309](https://github.com/optimizely/python-sdk/pull/309)). The new OptimizelyUserContext class is instantiated with createUserContext and exposes the following APIs to get OptimizelyDecision: - setAttribute - decide From 5c52b2b1f0f90580bd5659539c2c0f6658256be3 Mon Sep 17 00:00:00 2001 From: Matjaz Pirnovar Date: Thu, 11 Feb 2021 18:00:57 -0800 Subject: [PATCH 3/3] again updtae changelog note --- CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfb27b69..5cc6f603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,17 @@ # Optimizely Python SDK Changelog ## 3.8.0 -February 11th, 2021 +February 12th, 2021 ### New Features * New Features -Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users ([#309](https://github.com/optimizely/python-sdk/pull/309)). The new OptimizelyUserContext class is instantiated with createUserContext and exposes the following APIs to get OptimizelyDecision: +Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users ([#309](https://github.com/optimizely/python-sdk/pull/309)). The new `OptimizelyUserContext` class is instantiated with `create_user_context` and exposes the following APIs to get `OptimizelyDecision`: - - setAttribute + - set_attribute - decide - - decideAll - - decideForKeys - - trackEvent + - decide_all + - decide_for_keys + - track_event For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/python-sdk.