github amplitude/Amplitude-JavaScript v5.0.0

latest releases: v8.21.9, v8.21.8, v8.21.7...
5 years ago
  • Add onInit method that accepts a callback that will be invoked after init
  • Allow for api endpoints that do not end with a trailing slash
  • Sync with upstream ua-parser for user agent parsing
  • Upgrade rollup/babel dependencies
  • Invoke runQueuedFunctions from the main library instead of the snippet. This will allow integrations to take advantage of the queueing feature on sites that do not use the snippet.

Breaking Changes

  • Drop JSON polyfill. This will break IE 7 and older. You can install your own JSON polyfill before loading amplitude.
  • Stop committing generated files to the master branch in the git repository. You should not install amplitude from the master git branch. You should never import amplitude.min.js into your build.
  • Drop custom user agent parsing for symbian and blackberry

Don't miss a new Amplitude-JavaScript release

NewReleases is sending notifications on new releases.