- custom logger support (thanks iatsiuk)
- support sending timestamps with millisecond precision
- support automatic geolocation with
geolocate
option (thanks tmpvar) - send library version as property with events (thanks ArsalImam)
- use keepAlive by default for requests
- support $latitude and $longitude in profile operations (thanks wneild)
- support API Secret auth for imports and deprecate use of API Key
- https-proxy-agent upgrade to 5.0.0 to fix https.request patching and many subdependency upgrades (thanks veerabio)
- dropped support for node 8
- add support for Groups API
- upgrade https-proxy-agent for security fix (thanks omrilotan)
- type definitions for people.unset (thanks bradleyayers)
- support configurable API path (thanks CameronDiver)
- add type declarations file (thanks mklopets)
- upgrade https-proxy-agent for security fix
- default to tracking over HTTPS (thanks jhermsmeier)
- upgraded node-https-proxy-agent to v2.1.1 for security patch (see TooTallNate/proxy-agents#37)
- added
track_batch
for tracking multiple recent events per request (thanks cruzanmo) - support for routing requests through proxy server specified in env var
HTTPS_PROXY
orHTTP_PROXY
(thanks colestrode) - dropped support for node 0.10 and 0.12
- support for
time
field inmixpanel.track()
(thanks cruzanmo)
- optional https support (thanks chiangf)
- include
$ignore_alias
in permittedpeople
modifiers (thanks Left47)
- allow optional
modifiers
in allpeople
calls for$ignore_time
,$ip
, and$time
fields
- correct
$delete
field inpeople.delete_user
request (thanks godspeedelbow)
- added config option for API host (thanks gmichael225)
- added people.union support (thanks maeldur)
- added batch import support
- fixed callback behavior in track_charges when no properties supplied (thanks sorribas)
- updated URL metadata (thanks freeall)
- updated dev dependencies
- added builds for iojs, node 0.12, dropped support for node <0.10
- removed hardcoded port 80 for more flexibility (thanks zeevl)
- added people.append (thanks jylauril)
- added callback to alias (thanks to sandinmyjoints)
- added verbose config option (thanks to sandinmyjoints)
- added unset method (thanks to lukapril)
- added alias method (thanks to PierrickP)
- allow special key "ip" to be 0 in people.set (thanks to wwlinx)
- adds set once functionality to people (thanks to avoid3d)
- $ignore_time in people.set (thanks to Rick Cotter)
- revert Randal's http only patch since Mixpanel indeed supports https.
- handles the ip property in a property object properly for people calls
- force requests to go over http [reverted in 0.0.14]
- track_charge() no longer includes $time by default, rather it lets Mixpanel's servers set the time when they receive the transaction. This doesn't modify the ability for the user to pass in their own $time (for importing transactions).
- added track_charge() method which provides the ability to record user transactions for revenue analytics.
- added clear_charges() method which provides the ability to remove a users transactions from Mixpanel
- added tests for delete_user()
- added import() method which provides the ability to import events older than 5 days. Contributions from Thomas Watson Steen.
- removed time from properties sent to server. This is to ensure that UTC is always used. Mixpanel will set the correct time as soon as they receive the event.
- added mp_lib property, so people can segment by library
- added unit tests
- people.increment() only prints error message if debug is true
- added engage support
- people.set()
- people.increment()
- people.delete_user()
- deprecated old constructor: require("mixpanel").Client(token)
- added new constructor: require("mixpanel").init(token)