Releases: snowplow/snowplow-javascript-tracker
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_error
stack 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
Version 3.24.0
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)