Skip to content

Commit 2c7f00e

Browse files
committed
Release 4.2.0
1 parent 355f996 commit 2c7f00e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

‎CHANGES.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v4.2.0
2+
* Add support for customizing JSON serialization.
3+
14
v4.1.0
25
* Add support for Python 3.
36
* Rename mixpanel.VERSION to mixpanel.__version__.

‎docs/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
project = u'mixpanel'
2121
copyright = u' 2015, Mixpanel, Inc'
2222
author = u'Mixpanel <dev@mixpanel.com>'
23-
version = release = '4.1.0'
23+
version = release = '4.2.0'
2424
exclude_patterns = ['_build']
2525
pygments_style = 'sphinx'
2626

‎mixpanel/__init__.py‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import six
2424
from six.moves import urllib
2525

26-
__version__ = '4.1.0'
26+
__version__ = '4.2.0'
2727
VERSION = __version__ # TODO: remove when bumping major version.
2828

2929

@@ -47,10 +47,13 @@ class Mixpanel(object):
4747
:param str token: your project's Mixpanel token
4848
:param consumer: can be used to alter the behavior of tracking (default
4949
:class:`~.Consumer`)
50-
:param serializer json.JSONEncoder: a JSONEncoder subclass used to handle
50+
:param json.JSONEncoder serializer: a JSONEncoder subclass used to handle
5151
JSON serialization (default :class:`~.DatetimeSerializer`)
5252
5353
See `Built-in consumers`_ for details about the consumer interface.
54+
55+
.. versionadded:: 4.2.0
56+
The *serializer* parameter.
5457
"""
5558

5659
def __init__(self, token, consumer=None, serializer=DatetimeSerializer):

0 commit comments

Comments
 (0)