Skip to content

Commit

Permalink
chore: release 2.4.0 (#284)
Browse files Browse the repository at this point in the history
Co-authored-by: Márcio Barbosa <[email protected]>
  • Loading branch information
sk- and barbmarcio authored Sep 5, 2024
1 parent c42d79b commit db98cda
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
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

0 comments on commit db98cda

Please sign in to comment.