Skip to content

Commit 5d3cee2

Browse files
chore(release): Preparing for 3.1.0 release (#175)
1 parent ec028d9 commit 5d3cee2

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

CHANGELOG.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
3.1.0
2+
-----
3+
4+
May 3rd, 2019
5+
6+
New Features:
7+
~~~~~~~~~~~~~
8+
9+
- Introduced Decision notification listener to be able to record:
10+
11+
- Variation assignments for users activated in an experiment.
12+
- Feature access for users.
13+
- Feature variable value for users.
14+
15+
Bug Fixes:
16+
~~~~~~~~~~
17+
18+
- Feature variable APIs now return default variable value when featureEnabled property is false. (`#171`_)
19+
20+
.. _#171: https://github.com/optimizely/python-sdk/pull/171
21+
22+
Deprecated:
23+
~~~~~~~~~~~
24+
25+
- Activate notification listener is deprecated as of this release.
26+
Recommendation is to use the new Decision notification listener.
27+
Activate notification listener will be removed in the next major release.
28+
129
3.0.0
230
-----
331

optimizely/helpers/enums.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,14 @@ class NotificationTypes(object):
9797
""" NotificationTypes for the notification_center.NotificationCenter
9898
format is NOTIFICATION TYPE: list of parameters to callback.
9999
100-
ACTIVATE notification listener has the following parameters:
100+
ACTIVATE (DEPRECATED since 3.1.0) notification listener has the following parameters:
101101
Experiment experiment, str user_id, dict attributes (can be None), Variation variation, Event event
102-
TRACK notification listener has the following parameters:
103-
str event_key, str user_id, dict attributes (can be None), event_tags (can be None), Event event
102+
104103
DECISION notification listener has the following parameters:
105104
DecisionNotificationTypes type, str user_id, dict attributes, dict decision_info
105+
106+
TRACK notification listener has the following parameters:
107+
str event_key, str user_id, dict attributes (can be None), event_tags (can be None), Event event
106108
"""
107109
ACTIVATE = 'ACTIVATE:experiment, user_id, attributes, variation, event'
108110
DECISION = 'DECISION:type, user_id, attributes, decision_info'

optimizely/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313

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

0 commit comments

Comments
 (0)