Skip to content

chore(release): Preparing for 3.1.0 release #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
3.1.0
-----

May 3rd, 2019

New Features:
~~~~~~~~~~~~~

- Introduced Decision notification listener to be able to record:

- Variation assignments for users activated in an experiment.
- Feature access for users.
- Feature variable value for users.

Bug Fixes:
~~~~~~~~~~

- Feature variable APIs now return default variable value when featureEnabled property is false. (`#171`_)

.. _#171: https://github.com/optimizely/python-sdk/pull/171

Deprecated:
~~~~~~~~~~~

- Activate notification listener is deprecated as of this release.
Recommendation is to use the new Decision notification listener.
Activate notification listener will be removed in the next major release.

3.0.0
-----

Expand Down
8 changes: 5 additions & 3 deletions optimizely/helpers/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ class NotificationTypes(object):
""" NotificationTypes for the notification_center.NotificationCenter
format is NOTIFICATION TYPE: list of parameters to callback.

ACTIVATE notification listener has the following parameters:
ACTIVATE (DEPRECATED since 3.1.0) notification listener has the following parameters:
Experiment experiment, str user_id, dict attributes (can be None), Variation variation, Event event
TRACK notification listener has the following parameters:
str event_key, str user_id, dict attributes (can be None), event_tags (can be None), Event event

DECISION notification listener has the following parameters:
DecisionNotificationTypes type, str user_id, dict attributes, dict decision_info

TRACK notification listener has the following parameters:
str event_key, str user_id, dict attributes (can be None), event_tags (can be None), Event event
"""
ACTIVATE = 'ACTIVATE:experiment, user_id, attributes, variation, event'
DECISION = 'DECISION:type, user_id, attributes, decision_info'
Expand Down
2 changes: 1 addition & 1 deletion optimizely/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

version_info = (3, 0, 0)
version_info = (3, 1, 0)
__version__ = '.'.join(str(v) for v in version_info)