Skip to content

Releases: snowplow/snowplow-javascript-tracker

Version 3.24.6

28 Oct 10:29

Choose a tag to compare

3.24.6 (2024-10-28)

This release addresses a problem with validation errors for the browser context entity in case browsers reported 0 width and height.

Bug fixes

  • Allow 0x0 viewport in browser context to avoid schema validation errors (#1365)

Version 3.24.5

25 Oct 08:58

Choose a tag to compare

3.24.5 (2024-10-25)

This patch release fixes a problem with removing global context generator functions in case multiple were used.

Bug fixes

  • Fix removal of context generator functions (#1361)

Version 4.0.0-beta.4

22 Oct 05:25

Choose a tag to compare

Version 4.0.0-beta.4 Pre-release
Pre-release

4.0.0-beta.4 (2024-10-22)

Enhancements

  • Read the request response to avoid overlapping requests to collector (#1358)
  • Update uuid package dependency to version 10.0.0 (#1305)

Version 4.0.0-beta.3

18 Oct 09:45

Choose a tag to compare

Version 4.0.0-beta.3 Pre-release
Pre-release

4.0.0-beta.3 (2024-10-18)

Enhancements

  • Enable batching multiple events into a single POST request over buffer size if maxPostBytes setting is followed (#1356)
  • Make base64 encoding an optional parameter in Node newTracker call (#1354)

Version 4.0.0-beta.2

15 Oct 06:28

Choose a tag to compare

Version 4.0.0-beta.2 Pre-release
Pre-release

4.0.0-beta.2 (2024-10-15)

Enhancements

  • Migrate to v2 Medai for HTML5 Plugin (#1344)
  • Migrate to v2 Media for YouTube plugin (#1342)
  • Support events on buttons/links/forms in ShadowDOMs (#1351)
  • Use capture-phase listeners for button click tracking (#1348)
  • Switch to GA4 as default for gaCookies plugin (#1349)
  • Disable b64 for SDJ data on POST requests from browsers by default (#1352)
  • Update discoverRootDomain default behaviour (#1350)

Bug fixes

  • Fix SelfDescribingJson type regression from #1330 (#1347)
  • Fix GA cookies unit tests broken by #1349 (#1353)

Version 4.0.0-beta.1

03 Oct 12:58

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

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

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

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

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