Skip to content

v5.1.0

Choose a tag to compare

@mike-engel mike-engel released this 07 Jul 12:30
· 16 commits to main since this release
5db40f6

Added

  • Track API completeness. Added the remaining Track API methods to TrackClient: entity (the single-request counterpart to batch), addCustomersToSegment, removeCustomersFromSegment, submitForm, reportMetric, getAccountRegion, and unsubscribe. (#224)
  • verifyRequestSignature helper for validating inbound Customer.io reporting webhooks. It recomputes the HMAC-SHA256 signature from your signing secret and compares it in constant time. (#227)
  • App API customer & object methods on APIClient: getCustomerActivities, getCustomerMessages, getCustomerRelationships, getCustomerSegments, getCustomerSubscriptionPreferences, searchCustomers, getCustomersAttributes, getObjectAttributes, getObjectRelationships, findObjects, listObjectTypes, and listActivities. (#228)
  • App API segment & subscription methods on APIClient: listSegments, createSegment, getSegment, deleteSegment, getSegmentCustomerCount, getSegmentMembership, getSegmentUsedBy, listSubscriptionTopics, listSubscriptionChannels, and getSubscriptionCenterToken. (#229)

Fixed

  • addDevice no longer drops a last_used timestamp of 0. A truthy guard previously discarded the Unix epoch; any valid timestamp is now sent. (#224)

Changed

  • API method documentation moved out of the README into per-client guides under docs/ (Track, App, Pipelines, and Webhooks); the README now links to them. (#225)

Internal

  • Publish the generated Typedoc API reference to GitHub Pages via a CI workflow. (#225)
  • Bump tar dev dependency from 7.5.15 to 7.5.16. (#223)