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.47.0 to 2.56.0 #4696

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 3, 2024

Bumps mixpanel-browser from 2.47.0 to 2.56.0.

Release notes

Sourced from mixpanel-browser's releases.

Session recording updates

This releases bundles several updates and fixes for the session recording feature:

  • New debugging method mixpanel.get_session_replay_url() returns a mixpanel.com link to view the current replay if there is an active recording taking place.
  • The record_inline_images configuration option has been removed for now due to buggy behavior in the rrweb library.
  • Recording payloads now include additional metadata: the current URL, library type, and library version.
  • Sourcemaps are now generated for the recorder module.
  • Added some additional error handling for when mixpanel.stop_session_recording() fails or rrweb silently fails to start recording.

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

... (truncated)

Changelog

Sourced from mixpanel-browser's changelog.

2.56.0 (4 Nov 2024)

  • Recording payloads now include additional metadata: the current URL, library type, and library version.
  • Sourcemaps are now generated for the recorder module.
  • Added debugging method mixpanel.get_session_replay_url() which will return a Mixpanel UI link to the session replay if there is an active recording taking place.
  • Refactored session recording module to encapsulate each active recording and its metadata. Added a unit test suite for the new session-recording.js.
  • Added some additional error handling for when stopRecording fails or rrweb silently fails to start recording.
  • Removed record_inline_images option due to buggy behavior in rrweb.

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

... (truncated)

Commits

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.47.0 to 2.56.0.
- [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.47.0...v2.56.0)

---
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 the dependencies Pull requests that update a dependency file label Dec 3, 2024
@pepopowitz pepopowitz added the deploy Stand up a temporary docs site with this PR label Dec 3, 2024
@github-actions github-actions bot temporarily deployed to camunda-docs December 3, 2024 15:17 Destroyed
Copy link
Collaborator

@pepopowitz pepopowitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one can only really be tested in production, so I'll do that after this releases.

@pepopowitz pepopowitz merged commit f1971d6 into main Dec 3, 2024
9 of 10 checks passed
@pepopowitz pepopowitz deleted the dependabot/npm_and_yarn/mixpanel-browser-2.56.0 branch December 3, 2024 16:56
Copy link
Contributor

github-actions bot commented Dec 3, 2024

🧹 Preview environment for this PR has been torn down.

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 deploy Stand up a temporary docs site with this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant