Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: analytics.js 2.1.0 #199

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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