Releases: snowplow/snowplow-javascript-tracker
Releases · snowplow/snowplow-javascript-tracker
Version 3.24.6
Version 3.24.5
Version 4.0.0-beta.4
4.0.0-beta.4 (2024-10-22)
Enhancements
Version 4.0.0-beta.3
4.0.0-beta.3 (2024-10-18)
Enhancements
Version 4.0.0-beta.2
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
Version 4.0.0-beta.1
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
- Upgrade UUID to 8.3.2 (#1138)
- Update browser targets for compilation (#1131, #1132)
- Update Node.js to v14 (#1129, #1130)
Other improvements and fixes
Version 3.24.4
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
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
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_errorstack trace exceeds 8kb (close #1327)
Under the hood
Version 3.24.1
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