diff --git a/CHANGELOG b/CHANGELOG index 4665d99d1..630c9e168 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,14 @@ +Version 2.12.0 (2019-10-31) +--------------------------- +Core: Add function to allow setting Useragent (#744) +Fix OptimizelyX context collecting (#730) +Fix osx+safari testing setup issues (#760) +Fix tracker continuing to insert events up to max Local Storage quota (#764) +Fix dynamic context callbacks sometimes returning null (#743) +Fix stateStorageStrategy localStorage not increasing session counters (#718) +Update packages and test harness (#756) +Add Snowplow Micro tests (#755) + Version 2.11.0 (2019-08-28) --------------------------- Core: Send focus_form 'type' field as 'elementType' (#731) diff --git a/core/CHANGELOG b/core/CHANGELOG deleted file mode 100644 index 465266856..000000000 --- a/core/CHANGELOG +++ /dev/null @@ -1,28 +0,0 @@ -Version 0.4.0 (2014-12-03) --------------------------- -Updated contexts schema to 1-0-1 (#292) -Added ability to send an empty contexts array (#296) - -Version 0.3.0 (2014-11-04) --------------------------- -Applied callback to the Payload for an event rather than the event dictionary (#259) -Added page scroll parameters to trackPagePing (#257) -Added social tracking (#258) -Added trackAddToCart and trackRemoveFromCart methods (#260) -Added trackFormChange and trackFormSubmission methods (#261) -Added trackSiteSearch method (#263) -Added content field to trackLinkClick (#262) - -Version 0.2.0 (2014-08-07) --------------------------- -Added UUID to payload (#244) -Added automatic timestamp generation (#243) -Added setter methods (#242) -Added timestamp parameter to tracker methods (#240) -Added dependendencies field to package.json (#239) -Added npm button to README (#238) -Updated README (#237) - -Version 0.1.0 (2014-08-01) --------------------------- -Initial release diff --git a/core/README.md b/core/README.md index cbb2e2d8b..944458d88 100644 --- a/core/README.md +++ b/core/README.md @@ -13,7 +13,7 @@ npm install snowplow-tracker-core ## Example ```js -var core = require('snowplow-tracker-core'); +var core = require('snowplow-tracker-core').trackerCore; // Create an instance with base 64 encoding set to false (it defaults to true) var coreInstance = core(false); @@ -38,7 +38,7 @@ coreInstance.setUseragent('Snowplow/0.0.1'); // Track a page view with URL and title var pageViewPayload = coreInstance.trackPageView('http://www.example.com', 'landing page'); -console.log(pageViewPayload); +console.log(pageViewPayload.build()); /* { 'e': 'pv', @@ -52,6 +52,7 @@ console.log(pageViewPayload); 'p': 'web', 'cd': 24, 'vp': '600x400', + 'ua': 'Snowplow/0.0.1', 'dtm': 1406879959702, // timestamp 'eid': '0718a85a-45dc-4f71-a949-27870442ed7d' // UUID } @@ -69,7 +70,7 @@ var unstructEventPayload = coreInstance.trackUnstructEvent({ } }); -console.log(unstructEventPayload); +console.log(unstructEventPayload.build()); /* { 'e': 'ue', diff --git a/core/package.json b/core/package.json index f3063c0ea..d705f96ef 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "snowplow-tracker-core", - "version": "0.7.1", + "version": "0.7.2", "devDependencies": { "@types/es6-shim": "0.31.34", "@types/node": "^9.6.7", diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 13b352d2a..bf02cbc46 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "snowplow-tracker", - "version": "2.11.0", + "version": "2.12.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -11451,9 +11451,9 @@ } }, "snowplow-tracker-core": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/snowplow-tracker-core/-/snowplow-tracker-core-0.7.1.tgz", - "integrity": "sha512-rEvGXIGytwkXI73BtX/U23MLR14JU8g5sT6kzBNN8j95Oy1y+tCP712lREk4lsr66kMty7ydi7QYGKvNHyarcg==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/snowplow-tracker-core/-/snowplow-tracker-core-0.7.2.tgz", + "integrity": "sha512-Px3XudDNJb0v3a2tuUvKPgd0j9ROTc2koi3kyMHOO0hHrjimVNE1l1MTHQaeaIwsgQLWY6ao4P06wNdtgF88Dg==", "requires": { "@types/uuid": "^2.0.29", "lodash": "^4.17.11", diff --git a/package.json b/package.json index b2c4e2c7b..8d0577cd5 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "snowplow-tracker", - "version": "2.11.0", + "version": "2.12.0", "dependencies": { "browser-cookie-lite": "^1.0.4", "jstimezonedetect": "1.0.5", "murmurhash": "0.0.2", "sha1": "git://github.com/pvorb/node-sha1.git#910081c83f3661507d9d89e66e3f38d8b59d5559", - "snowplow-tracker-core": "^0.7.1", + "snowplow-tracker-core": "^0.7.2", "uuid": "^3.3.3" }, "devDependencies": {