Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Snowplow Node.js Tracker v0.4.0

Compare
Choose a tag to compare
@paulboocock paulboocock released this 04 Sep 10:09
· 13 commits to master since this release

New API Documentation
You can find API documentation for this release available here: https://snowplow.github.io/snowplow-nodejs-tracker/

New Features
Add setNetworkUserId method (#23)
Add setDomainUserId method (#24)
Add support for dvce_sent_tstamp (#27)
Switch from 'request' to 'got' (#61)
Bump snowplow-tracker-core to 0.9.1 (#58)
Add Typescript support (#13)

Bug Fixes
Update flush to not send a request if the buffer is empty (#53)

Under the hood
Update project dependencies (#49)
Switch to RollupJS for building ES Module and CJS versions (#57)
Bump NodeJS to support active LTS releases (#55)
Switch out Mocha for Ava (#59)
Switch to GitHub Actions (#54)
Add Snyk support (#60)
Remove Vagrant image (#56)

Breaking Changes
This release contains two breaking changes.

  1. emitter is no longer available. You should switch from emitter to gotEmitter which continues to offer the same functionality but also includes a number of new features. Take a look at the gotEmitter documentation here: https://snowplow.github.io/snowplow-nodejs-tracker/modules/_got_emitter_.html

  2. If you are using trackEcommerceTransaction and passing in an array of items, you should now switch to using trackEcommerceTransactionWithItems. You can find the documentation on this function here: https://snowplow.github.io/snowplow-nodejs-tracker/interfaces/_tracker_.tracker.html#trackecommercetransactionwithitems