- Removed support for Node 4
- Removed callback interface
- Changed counter method interfaces from optional arguments to an options argument, where applicable:
incr
receives an option object with theeventObj
as a key.incrby
same asincr
on the last argument.count
receives all previous arguments as a single option object.countRange
still getstimeGranularity
as a first argument, but range dates are passed on a single second argument, and theeventObj
is passed within an optional third argument object.top
receives all previous arguments as a single option object.topRange
same ascountRange
for range dates, and all arguments go onto the last optional argument.trimEvents
same ascount
.zero
same asincr
.
- Changed linting tools and configs