From 288b18f1390f1e1cf33118159f363709e1bab14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Federspiel?= Date: Mon, 7 Nov 2022 14:32:21 +0100 Subject: [PATCH] Prepare release 3.1.0 --- CHANGELOG.md | 13 +++---------- README.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/config.ts | 2 +- 5 files changed, 9 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8379fd9..311bbd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,19 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/Smartesting/gravity-data-collector/compare/v3.0.0...main) - -### Info +## [3.1.0](https://github.com/Smartesting/gravity-data-collector/compare/v3.0.0...v3.1.0) ### Added -### Changed - -### Deprecated - -### Removed - -### Fixed +- New storage for session identifiers: session cookies. This ensures that the same session is maintained when browsing different subdomains of a superdomain +- A session now expires after 30 minutes without user action ## [3.0.0](https://github.com/Smartesting/gravity-data-collector/compare/v2.2.0...v3.0.0) diff --git a/README.md b/README.md index 97c336f..9ee74e6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ In your `package.json`, add the following: ```json { "dependencies": { - "@smartesting/gravity-data-collector": "^3.0.0" + "@smartesting/gravity-data-collector": "^3.1.0" } } ``` @@ -42,7 +42,7 @@ Put this tag in each page that must use Gravity Data Collector. async id="logger" type="text/javascript" - src="https://unpkg.com/@smartesting/gravity-data-collector@3.0.0/dist/gravity-logger-min.js" + src="https://unpkg.com/@smartesting/gravity-data-collector@3.1.0/dist/gravity-logger-min.js" > ``` diff --git a/package-lock.json b/package-lock.json index 959b223..fc767d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@smartesting/gravity-data-collector", - "version": "3.0.0", + "version": "3.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@smartesting/gravity-data-collector", - "version": "3.0.0", + "version": "3.1.0", "license": "MIT", "dependencies": { "@cypress/unique-selector": "^0.4.4", diff --git a/package.json b/package.json index bc8cc32..e2f5532 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@smartesting/gravity-data-collector", - "version": "3.0.0", + "version": "3.1.0", "description": "Browser lib to collect your users behaviors and push the data in your Gravity project", "main": "dist/index.js", "types": "dist/types.d.ts", diff --git a/src/config.ts b/src/config.ts index 61a0276..067527a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,4 +1,4 @@ export const config = { - COLLECTOR_VERSION: '3.0.0', + COLLECTOR_VERSION: '3.1.0', ERRORS_TERMINATE_TRACKING: [403, 409, 422], }