Skip to content

Commit

Permalink
6.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
piano-analytics committed Sep 14, 2023
1 parent 412fd92 commit abecfc4
Show file tree
Hide file tree
Showing 14 changed files with 582 additions and 155 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
.npm*
babel.*
Gruntfile.js
karma.conf.js
package*
yarn*
rollup.*
src/
test/
karma.conf*
polyfills/
.cc-metadata.yml
CODE_OF_CONDUCT.md
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 6.11.0
### New

- [browser] New property `cookie_creation_date` (date of the visitor cookie creation)
- [browser] New configuration `globalVarName` to change default global instance variable name (`pa` by default)

### Fixes
- [browser] Improved potential conflict for queuing variable (`_paq` by default)

## 6.10.0
### Changes
- Event URL is now sent in property `event_url_full` instead of `page_url`
### Fixes
- Privacy rules were not applied properly to content properties in version 6.9.0

## 6.9.1
### Changes
- Event URL is now sent in property `event_url_full` instead of `page_url`
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "piano-analytics-js",
"description": "JavaScript library for Piano Analytics",
"version": "6.10.0",
"version": "6.11.0",
"main": "dist/browserless/piano-analytics.cjs.js",
"module": "dist/browserless/piano-analytics.esm.js",
"browser": "dist/browser/piano-analytics.umd.js",
Expand Down Expand Up @@ -37,21 +37,21 @@
"test:node": "npm run rollup:node && node test/node.run.js"
},
"devDependencies": {
"@babel/core": "7.20.12",
"@babel/preset-env": "7.20.2",
"@babel/core": "7.22.15",
"@babel/preset-env": "7.22.15",
"@rollup/plugin-babel": "6.0.3",
"chai": "4.3.7",
"eslint": "8.33.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.27.5",
"chai": "4.3.8",
"eslint": "8.48.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"grunt": "1.6.0",
"grunt": "1.6.1",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-copy": "^1.0.0",
"karma": "6.4.1",
"karma": "6.4.2",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.1",
"karma-chrome-launcher": "3.2.0",
"karma-mocha": "2.0.1",
"load-grunt-tasks": "5.1.0",
"mocha": "10.2.0",
Expand Down
1 change: 0 additions & 1 deletion polyfills/core-js-bundle-3.6.5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/business/avinsights.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const AVInsights = function (pa) {
const _initTimers = function () {
_timers = new Timers();
if (BUILD_BROWSER) {
addEvtListener(window, 'unload', function () {
addEvtListener(window, 'pagehide', function () {
_timers.stopHeartbeatTimer(false);
_timers.stopHeartbeatTimer(true);
});
Expand Down
Loading

0 comments on commit abecfc4

Please sign in to comment.