Changelog
v6.0.0
Changelog
v5.2.0
export
method to return a streamChangelog
v5.1.7
axios
Changelog
v5.1.4
axios
to latest to fix the issue of missing ProgressEvent
when using TypescriptChangelog
v5.1.1
As of 2020-05-30, Amplitude reported issues with their SSL certificate, so they set up an endpoint and alternate endpoint at https://api2.amplitude.com
. Read about it on Amplitude's Status Page and affected devices here.
AMPLITUDE_TOKEN_ENDPOINT="https://api2.amplitude.com"
https://api2.amplitude.com
Changelog
v5.0.2
IMPORTANT: There aren't any breaking changes in the code, but the Amplitude V2 API has a few stricter validations server side. For example, in one project where I was using this, I was passing a timestamp generated from Swift, so it was a float. However, the time param only allows type of long
, i.e. integer
.
From Amplitude's docs:
- Validation on Content-type header (must be set to application/json)
- Validation on proper JSON request body
- Validation on event_type name (cannot be event names that are reserved for Amplitude use)
- Validation on device_id length (must be 5 or more characters unless overrided with min_id_length)
- Validation on user_id length (must be 5 or more characters unless overrided with min_id_length)
- Validation on time field in event payload (must be number of milliseconds since the start of epoch time)