Skip to content

Releases: amplitude/Amplitude-JavaScript

v5.5.0

09 Oct 20:11
Compare
Choose a tag to compare
  • Fix bug where optOut settings would be overridden by cookie loading
  • Fix initialization bugs introduced by removing legacy data migration code.
  • Use @react-native-community/async-storage instead of the deprecated AsyncStorage.
  • Pull react-native device identifier from device info when possible
  • Pull react-native unsent events from async storage

v5.2.2

01 Apr 16:54
Compare
Choose a tag to compare
  • Stop warning when undefined property values are instrumented

v5.2.1

01 Apr 16:52
Compare
Choose a tag to compare
  • Fix npm publish failure where built files were missing.

v5.2.0

01 Apr 16:52
Compare
Choose a tag to compare
  • Stop warning when null property values are instrumented
  • Allow for objects nested within arrays

v5.0.0

26 Mar 17:49
Compare
Choose a tag to compare
  • 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

v4.7.0

13 Mar 00:39
Compare
Choose a tag to compare
  • Cherry-picked from 5.0.0: Add onInit method that accepts a callback that will be invoked after init

v4.6.0

13 Mar 00:38
40ff69f
Compare
Choose a tag to compare
  • Add support for unsetting utm params when a new session is created
  • Update dependencies to pass yarn audit
  • Bugfix: Allow logLevel to be set to disabled.
  • Bugfix: Update ua-parser to work in quirks mode in older internet explorer versions
  • Fetch ua-parsers-js from npm instead of github
  • Add secureCookie option to add a secure flag to the cookie

v4.5.2

10 Nov 23:46
Compare
Choose a tag to compare
  • Bugfix: Default groupProperties to empty object in logEvent.

v4.5.1

08 Nov 04:06
Compare
Choose a tag to compare
  • Fix error that might occur if another party defines a global variable named Buffer that is not actually a Buffer.

  • Fix bug where the log level was not initialized correctly

v4.5.0

05 Nov 18:47
Compare
Choose a tag to compare
  • Add support for groupIdentify calls