Releases: snowplow/snowplow-javascript-tracker
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)