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

chore: release 2.4.0 #284

Merged
merged 2 commits into from
Sep 5, 2024
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
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,23 @@ 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.4.0 (2024-09-05)

### Added

- Adds the use of @topsort/sdk for reporting events by @barbmarcio in ([#275](https://github.com/Topsort/analytics.js/pull/275))

### Fixed

- Fix truncation of `seenEvents`
([#282](https://github.com/Topsort/analytics.js/pull/282))
- Fix id of purchase events
([#283](https://github.com/Topsort/analytics.js/pull/283))

### Dependencies

chore(deps): Bump @topsort/sdk from 0.2.0 to 0.3.1 by @barbmarcio in ([#285](https://github.com/Topsort/analytics.js/pull/285))

## Version 2.3.1 (2024-04-11)

Patch release to fix tags
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ npm install @topsort/analytics.js --save
url: "https://api.topsort.com",
};
</script>
<script src="https://unpkg.com/@topsort/analytics.js@2.3.1/dist/ts.js"></script>
<script src="https://unpkg.com/@topsort/analytics.js@2.4.0/dist/ts.js"></script>
```

### Add markup to your products
Expand Down Expand Up @@ -92,7 +92,7 @@ Finally, in case you are using banners and want to have further control on the a

You are most likely running into issues with how the library is loaded. This is a common issue with RequireJS and other AMD loaders. The library is not AMD compatible, so you need to load it as a global script.

Another approach is to use the ESM version of the library, which you can either import directly should you import the library as part of your distribution; or use the published version called `ts.mjs`: `https://unpkg.com/@topsort/analytics.js@2.3.1/dist/ts.mjs`.
Another approach is to use the ESM version of the library, which you can either import directly should you import the library as part of your distribution; or use the published version called `ts.mjs`: `https://unpkg.com/@topsort/analytics.js@2.4.0/dist/ts.mjs`.

# E2E tests

Expand Down
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.3.1",
"version": "2.4.0",
"description": "JS library to automatically report events to Topsort's Analytics",
"main": "dist/ts.js",
"type": "module",
Expand Down