diff --git a/CHANGELOG.md b/CHANGELOG.md index 957e643..5082bea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 8535ecd..b84c4ae 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ npm install @topsort/analytics.js --save url: "https://api.topsort.com", }; - + ``` ### Add markup to your products @@ -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 diff --git a/package.json b/package.json index d9ee341..b2b983a 100644 --- a/package.json +++ b/package.json @@ -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",