From 2d43c68956dc5f5f38ecffee622ff50f5208d1f3 Mon Sep 17 00:00:00 2001 From: Aymeric Date: Fri, 28 Oct 2022 11:17:17 +0200 Subject: [PATCH] Prepare release 3.0.0 --- CHANGELOG.md | 10 +--------- README.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/config.ts | 2 +- 5 files changed, 7 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9754fb2..b78d3df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,7 @@ 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/v2.2.0...main) - -### Info - -### Added +## [3.0.0](https://github.com/Smartesting/gravity-data-collector/compare/v2.2.0...v3.0.0) ### Changed @@ -18,10 +14,6 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Method `sendSessionTraits` now returns a response typed `IdentifySessionResponse` with well-typed error - Method `sendSessionUserActions` now returns a response typed `AddSessionUserActionsResponse` with well-typed error -### Deprecated - -### Removed - ### Fixed - Stop tracking when receiving errors specified in [config.ts](./src/config.ts) diff --git a/README.md b/README.md index 16a7107..97c336f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ In your `package.json`, add the following: ```json { "dependencies": { - "@smartesting/gravity-data-collector": "^2.2.0" + "@smartesting/gravity-data-collector": "^3.0.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@2.2.0/dist/gravity-logger-min.js" + src="https://unpkg.com/@smartesting/gravity-data-collector@3.0.0/dist/gravity-logger-min.js" > ``` diff --git a/package-lock.json b/package-lock.json index c562ddb..cb5ba20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@smartesting/gravity-data-collector", - "version": "2.2.0", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@smartesting/gravity-data-collector", - "version": "2.2.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "@cypress/unique-selector": "^0.4.4", diff --git a/package.json b/package.json index 70564ae..d16f0c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@smartesting/gravity-data-collector", - "version": "2.2.0", + "version": "3.0.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 6ad71e9..61a0276 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,4 +1,4 @@ export const config = { - COLLECTOR_VERSION: '2.2.0', + COLLECTOR_VERSION: '3.0.0', ERRORS_TERMINATE_TRACKING: [403, 409, 422], }