Skip to content

Releases: snowplow/snowplow-javascript-tracker

Version 4.0.0-beta.1

03 Oct 12:58
Compare
Choose a tag to compare
Version 4.0.0-beta.1 Pre-release
Pre-release

4.0.0-beta.1 (2024-10-03)

Enhancements

  • Use fetch API instead of XMLHttpRequest both in browser and Node trackers and refactor emitter and event store interfaces (#1076)
  • Make cookie writes async by default to improve tracker performance (#1340)
  • Fix message when a resource triggers errors (#1341)
  • Add event delegation for form tracking (#1329)
  • Add support for named global context (#1331)
  • Add a filter function to plugins to filter out events so that they are not tracked (#1326)
  • Add event delegation for link click tracking (#1325)
  • Add browser-tracker-core default for os_timezone (#1338)
  • Revise Node.js initialization API

Removed deprecated functionality

  • Remove browser-features, optimizely, ecommerce and consent plugins, deprecate enhanced ecommerce and performance timing plugins and add web vitals by default (#1345)
  • Revise default plugins included on the JavaScript tracker (#1147)

Upgraded internals

Other improvements and fixes

  • Change default tracker initialization parameters for JS/Browser v4 (#1144)
  • Fix SelfDescribingJson type to allow optional keys in type parameter (#1330)
  • Fix newTracker optional typing (#1237)
  • Fix newTracker typing to accurately return null or undefined (#1167)

Version 3.24.4

26 Sep 06:16
Compare
Choose a tag to compare

3.24.4 (2024-09-26)

This patch release fixes an issue in the optimizely-x plugin to handle incorrectly populated state.

Bug fixes

  • Handle optimizely.get not yet existing (#1343)

Under the hood

  • Update version of upload-artifact action to v4
  • Skip YouTube integration tests since they are blocked on SauceLabs

Version 3.24.3

03 Sep 08:21
Compare
Choose a tag to compare

3.24.3 (2024-09-03)

This release updates the supported versions of Node.JS during the build of the project to 18 to 20 LTS.

Under the hood

  • Upgrade supported Node.JS versions in build to 18 - 20 and upgrade rush
  • Upgrade pnpm to 9.7.1
  • Remove node-fetch from dev dependencies

Version 3.24.2

24 Jul 09:04
Compare
Choose a tag to compare

3.24.2 (2024-07-24)

This release fixes a bug that caused the page title passed in trackPageView to be applied to the following page views (unless a new title was specified). It also prevents failed events with the application_error schema by truncating the stack trace not to exceed the limit in the schema.

Bug fixes

  • Fix tracking a page view with a custom title sets the title for future page views as well (close #1332)
  • Truncate stack when application_error stack trace exceeds 8kb (close #1327)

Under the hood

  • Fix integration tests (#1333)
  • Fix API docs CI action and update it's dependencies (#1324)

Version 3.24.1

02 Jul 07:13
Compare
Choose a tag to compare

3.24.1 (2024-07-02)

This release fixes a bug in ResizeObserver by checking for the existence of document and document.body objects.

Bug fixes

  • Fix ResizeObserver initialization if document.body does not exist yet (#1311) thanks to @AngusMorton

Version 3.24.0

25 Jun 08:36
Compare
Choose a tag to compare

3.24.0 (2024-06-25)

This release brings an improvement for single-page-apps that makes it possible to change when the page view ID is generated. It makes it possible to have the page view ID update whenever the URL changes, which enables all events tracked on that page URL to share the same page view ID regardless of the order they are tracked in.

Enhancements

  • Add an option to generate the page view ID according to changes in the page URL to account for events tracked before page views in SPAs (#1307)

Bug fixes

  • Handle Infinity and NaN durations in Html Media Tracking (#1319)
  • Fix custom document title override using setDocumentTitle (#1317) thanks to @marcin-j
  • Export MediaEventType from media plugin (#1315)
  • Fix inconsistent page view IDs when multiple trackers are used on the same page (#1125)

Under the hood

  • Fix running integration tests due to a problem with Micro (#1310)

Version 3.23.1

04 Jun 13:40
Compare
Choose a tag to compare

3.23.1 (2024-06-04)

Version 3.23.0

28 Mar 11:34
Compare
Choose a tag to compare

3.23.0 (2024-03-28)

Version 3.22.1

13 Mar 08:45
Compare
Choose a tag to compare

3.22.1 (2024-03-13)

Version 3.22.0

08 Mar 08:18
Compare
Choose a tag to compare

3.22.0 (2024-03-08)