diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e90b315..a110b995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 5.10.0 (March 10, 2020) +* `Library` field for event will include `amplitude-react-native` when using SDK in react native. +* `Device Type` field now will show the actual device model instead of OS name. + ### 5.9.0 (February 3, 2020) * Add default versionName to for react-native diff --git a/README.md b/README.md index 619635b3..e6b41a6d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Please see our [installation guide](https://amplitude.zendesk.com/hc/en-us/artic [![npm version](https://badge.fury.io/js/amplitude-js.svg)](https://badge.fury.io/js/amplitude-js) [![Bower version](https://badge.fury.io/bo/amplitude-js.svg)](https://badge.fury.io/bo/amplitude-js) -[5.9.0 - Released on February 3, 2020](https://github.com/amplitude/Amplitude-JavaScript/releases/latest) +[5.10.0 - Released on March 10, 2020](https://github.com/amplitude/Amplitude-JavaScript/releases/latest) # JavaScript SDK Reference # diff --git a/package.json b/package.json index 5dcd0ceb..b2120bd4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "amplitude-js", "author": "Amplitude ", - "version": "5.9.0", + "version": "5.10.0", "license": "MIT", "description": "Javascript library for Amplitude Analytics", "keywords": [ diff --git a/src/amplitude-snippet.js b/src/amplitude-snippet.js index a0e479cf..ae3ad05f 100644 --- a/src/amplitude-snippet.js +++ b/src/amplitude-snippet.js @@ -2,10 +2,10 @@ var amplitude = window.amplitude || {'_q':[],'_iq':{}}; var as = document.createElement('script'); as.type = 'text/javascript'; - as.integrity = 'sha384-1Uab0ISe8Eql+1G2WVmlyKxlDhpsXnPVpvGHmUJQkag+IATRq3Da7OF5ql8TfpZ4'; + as.integrity = 'sha384-3bSR/uIgD42pCWBeq1//B3mI/hPuWdk0L1EUnQIWfGyMOjs0VEoFLhHMqObtv2BA'; as.crossOrigin = 'anonymous'; as.async = true; - as.src = 'https://cdn.amplitude.com/libs/amplitude-5.9.0-min.gz.js'; + as.src = 'https://cdn.amplitude.com/libs/amplitude-5.10.0-min.gz.js'; as.onload = function() {if(!window.amplitude.runQueuedFunctions) {console.log('[Amplitude] Error: could not load SDK');}}; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(as, s);