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

chore(deps): bump mixpanel-browser from 2.51.0 to 2.54.1 in /apps/block_scout_web/assets #36

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2024

Bumps mixpanel-browser from 2.51.0 to 2.54.1.

Release notes

Sourced from mixpanel-browser's releases.

Module bundling and session recording updates

The SDK is now provided in several new builds with different options around included modules and asynchronous loading:

  1. Core mixpanel build with bundled mixpanel-recorder session-recording module (default):
import mixpanel from 'mixpanel-browser';
  1. Core mixpanel build that optionally loads mixpanel-recorder asynchronously via script tag (previous default):
import mixpanel from 'mixpanel-browser/src/loaders/loader-module-with-async-recorder';
  1. Core mixpanel build only (no session recording available):
import mixpanel from 'mixpanel-browser/src/loaders/loader-module-core';

This release also includes updates and improvements to the session recording module:

  • Improved reliability via integration with the main SDK's network batching/retry system
  • Inactivity timeouts are now determined by user interaction events
  • New configuration options enable inlining of images and fonts into recording payloads:
mixpanel.init(`my token`, {
  record_sessions_percent: 5,
  record_collect_fonts: true,
  record_inline_images: true,
});

NOTE: with image-inlining turned on, image-intensive pages may increase payload size significantly and possibly surpass the API server's request size limit.

Session recording updates

  • Network payload format for session recording batches has changed, including client-side compression on browsers which support it
  • Google Tag Manager wrapper now includes session-recording start/stop methods

Revert to persisting UTM params by default

This release reverts the UTM param persistence change introduced in v2.51.0, to minimize disruption for older implementations. UTM parameters will be persisted by default in super property storage when the SDK finds them on pageload. To opt in to the recommended modern behavior, use initialization option {stop_utm_persistence: true}.

Changelog

Sourced from mixpanel-browser's changelog.

2.54.1 (30 Jul 2024)

  • Fixes and improvements for user-idleness detection in session recording

2.54.0 (23 Jul 2024)

  • Provides optional builds without session recording module and without asynchronous script loading.
  • Integrates request batcher with session recording module for increased reliability.
  • Improved user inactivity heuristic for session recording timeout.
  • Adds config options to inline images and collect fonts during session recording.

2.53.0 (21 Jun 2024)

  • Switch to new session-recording network payload format, utilizing client-side compression when available
  • Session-recording methods are now available through Google Tag Manager wrapper

2.52.0 (7 Jun 2024)

  • Reverted UTM param persistence change from 2.51.0: UTM parameters are again persisted by default

2.51.0 (30 May 2024)

  • UTM parameter properties are no longer persisted by default
  • Existing superproperties persisted in localStorage are now copied back to cookie storage if the library is initialized with cookie persistence (support migrations from localStorage->cookie)
  • Added session-recording options record_block_class, record_block_selector, and record_mask_text_class
  • Added method mixpanel.get_session_recording_properties() for interop with other client-side SDKs

2.50.0 (26 Apr 2024)

  • Initial support for session recording

2.49.0 (5 Feb 2024)

  • SPA support in pageview-tracking
  • Support for configurable UTM parameter persistence
  • Initial-referrer profile properties are now stored with set_once instead of set
  • Ignore AhrefsSiteAudit crawler

2.48.1 (14 Nov 2023)

  • UTM campaign properties will always be persisted super properties (fixes discrepancy between minified and unminified package)

2.48.0 (7 Nov 2023)

  • API endpoint routes can now be configured individually (i.e. rename /track, /engage, /groups)
  • Event properties object passed to mixpanel.track() will no longer be mutated
  • Super properties are now reloaded from persistence when making every tracking call (i.e., kept fresh when another tab/window in the same browser has updated them)
  • Extra failsafe behavior for trying to clear queued requests when localStorage doesn't work on startup, e.g., when localStorage is full so writes fail
  • Block Chrome-Lighthouse user agent
  • Fix for error in add_group() when adding a new group to an existing list

2.47.0 (27 Apr 2023)

  • Collect richer marketing attribution properties for multi-touch attribution
  • New implementation of previously-deprecated track_pageview() method and init option to send automatically
  • Use performance.now when available for time-based entropy component of UUID-generation (thanks @​adrianherd)
  • Looser API Host check for default JSON-payload sending to mipxanel.com hosts

2.46.0 (20 Mar 2023)

... (truncated)

Commits
  • 9f18241 2.54.1
  • e48b00c changelog for 2.54.1
  • e022473 rebuild 2.54.1
  • 0be2f51 don't send rrweb events after idle timeout reset until user activity starts
  • 49c1a34 extra safety around preventing scheduled flushes from a stopped batcher
  • c3c6445 fix SR isUserEvent for idleness checks
  • 319b2b1 Merge pull request #211 from mixpanel/2.54.0-rc
  • e1b1a7c 2.54.0
  • 7f558a0 changelog for 2.54.0
  • 31d8461 rebuild
  • 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 [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) from 2.51.0 to 2.54.1.
- [Release notes](https://github.com/mixpanel/mixpanel-js/releases)
- [Changelog](https://github.com/mixpanel/mixpanel-js/blob/master/CHANGELOG.md)
- [Commits](mixpanel/mixpanel-js@v2.51.0...v2.54.1)

---
updated-dependencies:
- dependency-name: mixpanel-browser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Aug 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2024

Superseded by #47.

@dependabot dependabot bot closed this Sep 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/apps/block_scout_web/assets/mixpanel-browser-2.54.1 branch September 1, 2024 23:22
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.

0 participants