Skip to content

Commit 99acda0

Browse files
committed
v3.2.0
1 parent 60c9129 commit 99acda0

9 files changed

+12
-10
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Unreleased
22

3+
### 3.2.0 (October 7, 2016)
4+
35
* Block event property and user property dictionaries that have more than 1000 items. This is to block properties that are set unintentionally (for example in a loop). A single call to `logEvent` should not have more than 1000 event properties. Similarly a single call to `setUserProperties` should not have more than 1000 user properties.
46

57
### 3.1.0 (September 14, 2016)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This Readme will guide you through using Amplitude's Javascript SDK to track use
1212
```html
1313
<script type="text/javascript">
1414
(function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script");r.type="text/javascript";
15-
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.1.0-min.gz.js";
15+
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.2.0-min.gz.js";
1616
r.onload=function(){e.amplitude.runQueuedFunctions()};var i=t.getElementsByTagName("script")[0];
1717
i.parentNode.insertBefore(r,i);function s(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));
1818
return this}}var o=function(){this._q=[];return this};var a=["add","append","clearAll","prepend","set","setOnce","unset"];
@@ -438,7 +438,7 @@ If you are using [RequireJS](http://requirejs.org/) to load your Javascript file
438438
```html
439439
<script src='scripts/require.js'></script> <!-- loading RequireJS -->
440440
<script>
441-
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.1.0-min.gz.js'], function(amplitude) {
441+
require(['https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.2.0-min.gz.js'], function(amplitude) {
442442
amplitude.init('YOUR_API_KEY_HERE'); // replace YOUR_API_KEY_HERE with your Amplitude api key.
443443
window.amplitude = amplitude; // You can bind the amplitude object to window if you want to use it directly.
444444
amplitude.getInstance().logEvent('Clicked Link A');
@@ -452,7 +452,7 @@ You can also define the path in your RequireJS configuration like so:
452452
<script>
453453
requirejs.config({
454454
paths: {
455-
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.1.0-min.gz'
455+
'amplitude': 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.2.0-min.gz'
456456
}
457457
});
458458

amplitude-snippet.min.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script");r.type="text/javascript";
2-
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.1.0-min.gz.js";
2+
r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.2.0-min.gz.js";
33
r.onload=function(){e.amplitude.runQueuedFunctions()};var i=t.getElementsByTagName("script")[0];
44
i.parentNode.insertBefore(r,i);function s(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));
55
return this}}var o=function(){this._q=[];return this};var a=["add","append","clearAll","prepend","set","setOnce","unset"];

amplitude.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4923,7 +4923,7 @@ module.exports = uuid;
49234923

49244924
}, {}],
49254925
10: [function(require, module, exports) {
4926-
module.exports = '3.1.0';
4926+
module.exports = '3.2.0';
49274927

49284928
}, {}],
49294929
11: [function(require, module, exports) {

amplitude.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "src/index.js",
44
"repo": "amplitude/amplitude-javascript",
55
"description": "Javascript library for Amplitude Analytics",
6-
"version": "3.1.0",
6+
"version": "3.2.0",
77
"keywords": [
88
"analytics",
99
"amplitude"

package.json

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

src/amplitude-snippet.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var as = document.createElement('script');
44
as.type = 'text/javascript';
55
as.async = true;
6-
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.1.0-min.gz.js';
6+
as.src = 'https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.2.0-min.gz.js';
77
as.onload = function() {window.amplitude.runQueuedFunctions();};
88
var s = document.getElementsByTagName('script')[0];
99
s.parentNode.insertBefore(as, s);

src/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = '3.1.0';
1+
module.exports = '3.2.0';

0 commit comments

Comments
 (0)