Skip to content

Releases: customerio/customerio-node

v3.0.0

07 Jul 08:59
Compare
Choose a tag to compare
  • (BREAKING) Remove the dependency on request (#62)

    • We don't expect this to break many consumers of customerio-node. Unless you were using request specific options, you don't need to make any changes.
  • (BREAKING) Return an Error instance for non-2XX status codes (#62)

    • We don't expect this to break many consumers of customerio-node. Unless you were using instanceof to check the type of error returned from track or api methods, you don't need to make any changed. message, statusCode, response, and body are still accessible as properties on the error.
  • (BREAKING) trackAnonymous now requires an anonymous_id and cannot trigger campaigns. If you previously used anonymous events to trigger campaigns, you can still do so directly through the API. We now refer to anonymous events that trigger campaigns as "invite events".

  • (BREAKING) Restructure the package to have a single entry point, rather than three. This is more of a standard package structure, and is more future-proof. (#63)

  • Return a readable message when the server returns an array of errors instead of Unknown error (#62)

v2.1.0

04 May 13:05
61526e8
Compare
Choose a tag to compare

Changed

  • Upgrade ini from 1.3.5 to 1.3.8 (#36)

Added

  • Convert customerio-node to Typescript (#49)

v2.0.0

16 Apr 00:15
f90a816
Compare
Choose a tag to compare

#46 Move triggerBroadcast method to API class