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

[Snyk] Upgrade mixpanel-browser from 2.50.0 to 2.55.1 #8328

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

extrafu
Copy link
Member

@extrafu extrafu commented Sep 27, 2024

snyk-top-banner

Snyk has created this PR to upgrade mixpanel-browser from 2.50.0 to 2.55.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 7 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: mixpanel-browser
  • 2.55.1 - 2024-08-27
    • 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 (#443).
    • Support for more UTM tags / click IDs (#442).
  • 2.55.0 - 2024-08-02

    rebuild 2.55.0

  • 2.54.1 - 2024-07-30

    2.54.1

  • 2.54.0 - 2024-07-23

    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.

  • 2.53.0 - 2024-06-21
    • 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
  • 2.52.0 - 2024-06-07

    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}.

  • 2.51.0 - 2024-05-30
    • UTM parameters are no longer persisted as superproperties by default. Mixpanel analyses now have attribution support that does not require client-side persistence of these properties. To opt in to the previous behavior, use initialization option {stop_utm_persistence: false}.
    • localStorage->cookie migration support: when switching an implementation from localStorage persistence to cookie persistence (to support cross-subdomain tracking), the SDK will now automatically copy any existing superproperties from localStorage into the new superprop cookie. This migration behavior already existed in the opposite direction (going from cookie to localStorage).
    • The initialization options record_block_class, record_block_selector, and record_mask_text_class offer finer-grained control over elements to block in session recording, and provide stricter defaults.
    • New method mixpanel.get_session_recording_properties() exposes Replay ID property for tagging events controlled by other client-side SDKs such as Segment or mParticle.
  • 2.50.0 - 2024-04-29
    No content.
from mixpanel-browser GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade mixpanel-browser from 2.50.0 to 2.55.1.

See this package in npm:
mixpanel-browser

See this project in Snyk:
https://app.snyk.io/org/akamai-esg-pilot-org/project/08730ed5-aba9-49b2-868f-15e5e652ebcc?utm_source=github&utm_medium=referral&page=upgrade-pr
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@satkunas satkunas merged commit 955f7b2 into devel Nov 27, 2024
13 checks passed
@satkunas satkunas deleted the snyk-upgrade-f886216936d474c9862a714508f1b4a5 branch November 27, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants