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.55.1 in /apps/block_scout_web/assets #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mixpanel-browser from 2.51.0 to 2.55.1.

Release notes

Sourced from mixpanel-browser's releases.

Misc fixes and updates

  • Adds a minimum recording length option for session recording. For example, {record_min_ms: 4000} won't send any recordings that are less than 4 seconds long. The maximum value allowed is 8000.
  • Added a fix for session recordings being sent with an empty start time.
  • Fixes and improvements for request batcher to support offline queueing and retry.
  • Fix for query param parsing/escaping (mixpanel/mixpanel-js#443).
  • Support for more UTM tags / click IDs (mixpanel/mixpanel-js#442).

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.55.1 (27 Aug 2024)

  • Adds a minimum recording length option for session recording
  • Fixes and improvements for session recording batcher to support offline queueing and retry
  • Fix for query param parsing/escaping
  • Support for more UTM tags / click IDs (thanks @​aliyalcinkaya)

2.55.0 (2 Aug 2024)

  • Added new build to support native JavaScript modules

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

... (truncated)

Commits
  • 28961c7 2.55.1
  • f4ceda4 Merge pull request #217 from mixpanel/2.55.1-rc
  • cb938d7 Build 2.55.1
  • 5bf4d47 Build release branch
  • de08b33 Merge pull request #220 from mixpanel/jg-fix-race-test
  • 5673155 fix race condition test for bundled version
  • 6813a47 Merge pull request #219 from mixpanel/carlos-recording-min-duration-test
  • 304e596 Fixed test for minimum recording duration
  • 343c7ab Merge pull request #213 from mixpanel/carlos-recording-min-duration
  • a7d429a Merge branch '2.55.1-rc' into carlos-recording-min-duration
  • 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.55.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.55.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 1, 2024
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