chore: 🤖 update dependency mixpanel-browser to v2.78.0#1577
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore: 🤖 update dependency mixpanel-browser to v2.78.0#1577renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
d442678 to
294ac28
Compare
294ac28 to
3e8d76e
Compare
3e8d76e to
edacb65
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.65.0→2.78.02.60.0→2.66.0Release Notes
mixpanel/mixpanel-js (mixpanel-browser)
v2.78.0: Feature Flags Utility UpdatesCompare Source
loadFlagsmethod tomixpanel.flagsto manually refresh feature flagswhenReadymethod tomixpanel.flags, which returns a Promise that resolves when feature flags are done fetchingv2.77.0: Cross-origin iframe recordingCompare Source
Session Replay can now capture content from cross-origin iframes embedded within your page, providing a unified replay experience across parent pages and embedded third-party content. This feature requires explicit domain allowlisting via
record_allowed_iframe_originsfor security purposes. For example:On your parent site
www.yoursite.com, specify the origins from which recording data is accepted:On the child iframe page
https://embedded-widget.example.com, add the parent page's origin torecord_allowed_iframe_origins:Miscellaneous Fixes:
@types/json-logic-jsfor the RulesLogic type introduced in 2.76.0loader-module-with-async-recorderimport optionv2.76.0: Network recording, event-triggered recording, and various improvementsCompare Source
New Features
Network recording plugin for Session Replay
Adds a new network plugin that captures network telemetry during session recordings. This feature is currently in beta and will not show data in the Mixpanel UI until enabled (documentation forthcoming).
Event-triggered session recording
Adds a
recording_event_triggersconfiguration option that allows starting a session recording when the targeted events that meet the specified property filters occur. These property filters are optional and are specified usingjson-logicsyntax, but this option is mainly intended to be used by remote settings (closed beta). Allows session replays to start on a trigger if a session replay is not already in progress. Does not affect any active recording sessions.mixpanel.enable() method
Adds a new public method
mixpanel.enable(), complementing the existing disable method. This re-enables tracking for some or all events afterdisable()has been called.Improvements
Immutable async bundles
Async bundles (e.g., mixpanel-recorder, mixpanel-targeting) that are loaded via CDN or
loader-module-with-async-modulesentry points will now use a hash-based file name to ensure consistent versioning with the main SDK.e.g.
mixpanel-recorder.min.js=>mixpanel-recorder-bIS4LMGd.min.js. For customers who already proxy these files individually from the CDN, we recommend proxying everything undercdn.mxpnl.com/libs/*for reliability.Case-sensitive event targeting properties
Event property matching in targeting now respects case sensitivity, consistent with how Mixpanel handles property names.
Bug Fixes
rrweb-utilsdependency: adds a dependency declaration for the@mixpanel/rrweb-utilswhich is a peer dependency for@mixpanel/rrweb-plugin-console-record. This was causing errors for users with strict peer dependencies enabled.AbortController compatibility check: fixes an error thrown when disabling recording from remote settings and
AbortControlleris not supported in the browser.v2.75.0: Feature Flags runtime events supportCompare Source
This release adds support for Runtime Event Targeting in the Feature Flags subsystem: see https://docs.mixpanel.com/docs/featureflags/runtime-events. This feature does not require any SDK configuration changes.
Additional fixes included:
hooksconfigurationv2.74.0: New masking API, remote settings, and moreCompare Source
New Recorder Masking API
Session recording now supports unmasking inputs, as well as an allow-list based masking API for both inputs and text. New configuration options:
record_mask_all_textbooleantruetrue, all text is masked by default. Userecord_unmask_text_selectorto selectively reveal specific elements.record_mask_text_selectorstring | string[]undefinedrecord_mask_all_textisfalse.record_unmask_text_selectorstring | string[]undefinedrecord_mask_all_textistrue.record_mask_all_inputsbooleantruetrue, all inputs are masked by default. Userecord_unmask_input_selectorto selectively reveal specific inputs.record_mask_input_selectorstring | string[]""record_mask_all_inputsisfalse.record_unmask_input_selectorstring | string[]""record_mask_all_inputsistrue.Old
record_mask_text_selectorconfiguration options are migrated to the equivalent new config options for compatibility - e.g.record_mask_text_selector: ''will be applied asrecord_mask_all_text: falseInitial Remote Settings Support
Preparation to support remote settings functionality which will allow customizing session recording configurations (and eventually more) within the Mixpanel UI. The config option
remote_settings_modeallows 3 states:strict- do not act (for instance, start session recording) unless the remote settings are loaded in a timely mannerfallback- use fallback configuration values (options set during initialization) if remote settings fail to load in a timely mannerdisabled(default) - do not use or attempt to load remote settingsRemote settings are currently in a CLOSED alpha as of 1/27/2026, and the SDK API could be updated with breaking changes.
Other fixes
api_routes(thanks @rnbrady!)v2.73.0: New hooks, extension support, type fixesCompare Source
This release adds several new hooks for running code and intercepting SDK actions:
before_identify,before_register,before_register_once,before_track,before_unregister. It also adds integration code for the Data Inspector browser extension and improves some of the library's type definitions.v2.72.0: Miscellaneous updates and bugfixesCompare Source
Additions:
interactive_elements_only, to ignore clicks on non-interactive page elements such as text. Configure with:mixpanel.init('<TOKEN>', {autocapture: {rage_click: {interactive_elements_only: true}}})mixpanel.flags)record_consoleinitialization option.Fixes:
record_min_ms)v2.71.1: Fix $mp_page_leave over-trackingCompare Source
Fixes an issue where the
$mp_page_leaveis automatically captured whenrecord_heatmap_datais on and there is no session recording taking place.$mp_page_leaveevents will be excluded from Mixpanel billing for the month of October.v2.71.0: Autocapture UpdatesCompare Source
New autocapture events are now available:
$mp_dead_click): when a click occurs but there is no DOM mutation afterwards$mp_page_leave): when a page is "left" either by navigation or leaving the tabDead Click event tracking is ON in the default autotrack configuration, but Page Leave tracking must be turned on explicitly (with the config option
{autocapture: {page_leave: true}}.This release also includes several other updates:
exportsfeature to be less restrictive of what can be importedv2.70.0Compare Source
v2.69.1Compare Source
v2.69.0: rrweb upgrade and stricter disable_persistenceCompare Source
disable_persistenceso that sessionStorage and IndexedDB are not modifiedv2.68.0: Rage-Click detection and other updatesCompare Source
This release adds support for Rage-Click tracking as part of the Autocapture subsystem. It is enabled in the default autocapture config, and can also be controlled explicitly with the
rage_clickautocapture init option.Other updates include:
<audio>tags by defaultflags.update_context()facilitates updating context variables and refetching variantsv2.67.0: Fixes and minor updatesCompare Source
get_api_host()is now used consistently across the SDK to ensure that per-endpoint API host configs are respected everywheremixpanel.reset()while a session recording is activedevice_idalongsidedistinct_id$experiment_startedevents now include several API-latency-tracking propertiesv2.66.0: Fine-grained API host configuration and session recording fixesCompare Source
A new
api_hostsconfiguration option enables different endpoints (events, profiles, groups, session recordings) to be sent to different hosts, for selective proxying, e.g.:This release also fixes a race condition when calling
mixpanel.reset()while a session recording is active, and adds an initial TypeScripttypes.d.tsfile.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.