Skip to content

Commit 619d3fe

Browse files
committed
v7.1.0
1 parent 0fdd30d commit 619d3fe

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
### 7.0.0 (May 3, 2020)
1+
### 7.1.0 (Jun 28, 2020)
22
* Sync with upstream ua-parser to detect more browsers and devices
3+
* Fix race condition where the SDK might write to the wrong cookie domain
4+
* Fix race condition where the SDK might think cookies are disabled
5+
* Revert `Device Type` field change from version 5.10.0 to show OS name again.
6+
* Default SameSite cookie setting to Lax
37

48
#### Breaking Changes
9+
* The SDK cookie now defaults to SameSite=Lax
510
* Windows Phone, IE Mobile, and Opera Mobile devices will be reported to amplitude slightly different. They will appear as "Windows Phone OS", "IEMobile", and "Opera Mobile" respectively.
11+
* The device type field has gone back to showing OS name.
612

713
### 6.2.0 (May 1, 2020)
814
* Invoke the logEvent callbacks when a request is actually sent or when we give up on sending a request.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "amplitude-js",
33
"author": "Amplitude <[email protected]>",
4-
"version": "7.0.0",
4+
"version": "7.1.0",
55
"license": "MIT",
66
"description": "Javascript library for Amplitude Analytics",
77
"keywords": [

src/amplitude-snippet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
var amplitude = window.amplitude || {'_q':[],'_iq':{}};
33
var as = document.createElement('script');
44
as.type = 'text/javascript';
5-
as.integrity = 'sha384-RsEu4WZflrqYcEacpfoGSib3qaSvdYwT4D+DrWqeBuDarSzjwUQR1jO8gDiXZd0E';
5+
as.integrity = 'sha384-cukXwabQy+j/QA1+RqiXSzxhgQg5Rrn3zVszlwH3pWj/bXJxlA8Ge7NhcD6vP2Ik';
66
as.crossOrigin = 'anonymous';
77
as.async = true;
8-
as.src = 'https://cdn.amplitude.com/libs/amplitude-6.2.0-min.gz.js';
8+
as.src = 'https://cdn.amplitude.com/libs/amplitude-7.1.0-min.gz.js';
99
as.onload = function() {if(!window.amplitude.runQueuedFunctions) {console.log('[Amplitude] Error: could not load SDK');}};
1010
var s = document.getElementsByTagName('script')[0];
1111
s.parentNode.insertBefore(as, s);

0 commit comments

Comments
 (0)