Skip to content

Commit

Permalink
Prepare release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aymeric-cr committed Oct 28, 2022
1 parent 6f19305 commit 2d43c68
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 15 deletions.
10 changes: 1 addition & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand All @@ -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"
></script>
```

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const config = {
COLLECTOR_VERSION: '2.2.0',
COLLECTOR_VERSION: '3.0.0',
ERRORS_TERMINATE_TRACKING: [403, 409, 422],
}

0 comments on commit 2d43c68

Please sign in to comment.