Devicenow exposes aTokenfield for transactional push custom-device payloads to match thetokenJSON field.
- Default clients now use a 30 second HTTP timeout, and Basic auth continues to use the previous URL-safe base64 encoding.
- Made the default transport safe when
http.DefaultTransportis replaced by instrumentation. - Hardened client options and region selection against nil options and mutable package-level region values.
- Add support for sending transactional in-app messages (#55)
v3.4.1 (2022-05-19)
- Resolved issue where some attachments were truncated due to not flushing all the data from the buffer.
v3.4.0 (2022-04-26)
- Added support for sending a blank value for anonymous activity, which will be treated as unassociated with a profile within Customer.io.
v3.3.0 (2021-12-22)
- Added support for context to all API calls.
v3.2.0 (2021-10-04)
- client: adds a default User-Agent header on requests and the option to set a custom User-Agent value. (2123497)
v3.1.0 (2021-09-27)
- Added new method to merge duplicate customers. More details in API Documentation
v3.0.0 (2021-07-08)
trackAnonymousnow requires ananonymous_idparameter and will no longer 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".
v2.2.0 (2021-06-17)
- Modules support
- Updated license date
- Upgraded version support
v2.1.0 (2021-03-29)
- Support for EU region
- Allow using custom
*http.Client
customerio.NewAPIClientandcustomerio.NewTrackClienthave a new variadic parameter for options in order to choose US/EU region and/or customer HTTP client.
v2.0.0 (2020-12-03)
- Support for transactional api
- Manual segmentation functions
AddCustomersToSegment&RemoveCustomersFromSegment
- ID fields in requests are url escaped
- Improved validations for required fields
- Updated
CustomerIOstruct to use a URL field instead of separate Host and SSL fields - Improved test suite
v1.2.0 (2020-09-08)
- Read response body regardless of content length
v1.1.0 (2019-10-24)
TrackAnonymousmethodAddDeviceandDeleteDevicemethodsAddCustomersToSegmentandRemoveCustomersFromSegmentmethods
- Increase default client connection pool size to 100
v1.0.0 (2017-09-12)
- Initial API client library
- Create Identify call
- Create Track call
- Create Customer Delete call
- Test suite for API calls
v0.0.0 (2015-01-12)
- Initial commit