Skip to content

Version 4.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Oct 12:58
· 13 commits to master since this 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)