- 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)