Releases: amplitude/Amplitude-JavaScript
Releases · amplitude/Amplitude-JavaScript
v5.5.0
- 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 deprecatedAsyncStorage
. - Pull react-native device identifier from device info when possible
- Pull react-native unsent events from async storage
v5.2.2
v5.2.1
v5.2.0
v5.0.0
- 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
v4.6.0
- 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