Skip to content

Commit

Permalink
feat: analytics.js 2.1.0
Browse files Browse the repository at this point in the history
PR: #199
  • Loading branch information
jbergstroem authored Aug 30, 2023
1 parent 15041be commit 4dfe266
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
24 changes: 22 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,40 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
We follow the format used by [Open Telemetry](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md).

## Unreleased
## Version 2.1.0 (2023-08-30)

### Added

- Use vite/esbuild to compile libraries
- Enabled coverage for tests
- Increase test coverage for reporter.ts
- Export ESM version of the library
- Export types

### Changed

- Use React 18 features in end to end tests

### Refactor

- Replaced `npm` with `pnpm`
- Replaced `jest` ecosystem with `vitest`
- Replace `nock`/`isomorphic-fetch` with `msw`

## Version 2.0.0 (2023-07-13)

### Changed

- Remove usages of `data-ts-auction` as that only works when using API v1
- When specifying purchases, the price must now be specified as a float in the marketplace currency (i.e. USD) instead of cents.


### Refactor

- Use [Events API v2](https://docs.topsort.com/reference/reportevents-2)

## Version 1.0.6 (2023-07-13)

### Fixed

- Fix parsing of user cookie
([#182](https://github.com/Topsort/analytics.js/pull/182))
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@topsort/analytics.js",
"version": "2.0.0",
"version": "2.1.0",
"description": "JS library to automatically report events to Topsort's Analytics",
"main": "dist/ts.js",
"type": "module",
Expand Down

0 comments on commit 4dfe266

Please sign in to comment.