Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @snowplow/browser-tracker from 3.24.4 to 4.0.1 #284

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps @snowplow/browser-tracker from 3.24.4 to 4.0.1.

Release notes

Sourced from @​snowplow/browser-tracker's releases.

Version 4.0.1

4.0.1 (2024-11-01)

This patch release fixes an issue in the HTML5 media tracking plugin in that it didn't correctly initialize and failed to track events.

Bug fixes

  • Fix initialization of the HTML5 media tracking plugin so that it initializes the parent media plugin (#1369)

Under the hood

  • Fix broken API docs generation by adding explicit type for EventStoreIteratorNextResult (#1367)

Version 4.0.0

4.0.0 (2024-10-28)

The release adopts the fetch API for making requests to the Snowplow collector which provides the keepalive option that enables requests to outlive the webpage they were made from.

Performance of the track calls has been improved by making cookie writes async. Our benchmarks show this improves the time it takes to track 100 events to a third of what it was in v3.

The tracker APIs have been significantly improved and simplified:

  • Form and link click tracking now support event delegation and don’t require the app to refresh the tracking after page changes.
  • It’s now easier to manage global context using named tags.
  • Plugins add a new filter function to enable skipping events.
  • The tracker API on Node.JS has been significantly revised and streamlined also thanks to the use of the fetch API.

Other changes include the YouTube and HTML5 media plugins adopting new media schemas, upgrades to the UUID package, revised defaults, and removal and deprecation of older plugins.

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
  • Migrate to v2 Media 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)

Removed deprecated functionality

... (truncated)

Commits
  • 967733d Applying documentation updates.
  • 9583b2f Bump versions [skip ci]
  • 692c58f Update changelogs [skip ci]
  • 36cf39e Prepare for release
  • 820ff44 Fix initialization of the HTML5 media tracking plugin so that it initializes ...
  • cdbaf50 Fix broken API docs generation by adding explicit type for EventStoreIterator...
  • 9213542 Applying documentation updates.
  • fffff64 Bump versions [skip ci]
  • e0edc9a Update changelogs [skip ci]
  • 90a927f Remove package-lock.json from YouTube plugin subproject
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@snowplow/browser-tracker](https://github.com/snowplow/snowplow-javascript-tracker) from 3.24.4 to 4.0.1.
- [Release notes](https://github.com/snowplow/snowplow-javascript-tracker/releases)
- [Commits](https://github.com/snowplow/snowplow-javascript-tracker/compare/@snowplow/browser-tracker_v3.24.4...@snowplow/browser-tracker_v4.0.1)

---
updated-dependencies:
- dependency-name: "@snowplow/browser-tracker"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 4, 2024
Copy link

cloudflare-workers-and-pages bot commented Nov 4, 2024

Deploying klaw-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7f9dc53
Status: ✅  Deploy successful!
Preview URL: https://bd57cfeb.klaw-docs.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-snow-faxw.klaw-docs.pages.dev

View logs

@programmiri programmiri merged commit 0f71353 into main Nov 11, 2024
3 checks passed
@programmiri programmiri deleted the dependabot/npm_and_yarn/snowplow/browser-tracker-4.0.1 branch November 11, 2024 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant