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

Bump mixpanel-browser from 2.47.0 to 2.48.1 in /apps/block_scout_web/assets #8867

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 20, 2023

Bumps mixpanel-browser from 2.47.0 to 2.48.1.

Release notes

Sourced from mixpanel-browser's releases.

Minification fix for UTM campaign properties

This update patches a discrepancy between the minified and unminified versions of the packaged SDK. Campaign parameters will now be stored as super properties persistently in all versions.

Configurable API endpoints, miscellaneous updates and fixes

API endpoint routes can now be configured individually, so you can rename /track, /engage, and /groups HTTP endpoints arbitrarily. Configure with the api_routes option:

mixpanel.init(`my token`, {
  api_host: `https://my-proxy.example.com`,
  api_routes: {
    track: `foo/`,
    engage: `bar/`,
    groups: `baz/`,
  },
));

In the above example, event-tracking requests will go to https://my-proxy.example.com/foo/, user profile updates to https://my-proxy.example.com/bar/, etc.

Other fixes:

  • 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
Changelog

Sourced from mixpanel-browser's changelog.

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)

  • Updates for new identity management system
  • More aggressive deduplication within batch sender

2.45.0 (17 Feb 2022)

  • Remove all code related to in-app messaging feature
  • Add error_reporter config option for user-configurable handling of errors
  • Fix missing var declarations in HTML script snippet
  • Fixes for some batch/retry edge cases where localStorage write failures resulted in duplicate sends

2.43.0 (5 Jan 2022)

  • Support plain JSON tracking payloads (no base64-encoding) and use as default when sending to *.mixpanel.com API hosts

2.42.1 (20 Dec 2021)

  • Add new crawler user agents to blocked list (ahrefsbot, petalbot)

2.42.0 (9 Nov 2021)

  • Make batch_requests default-on for all remaining projects
  • Replace unload event listener with modern alternatives (thanks @​JoaoGomesTW)
  • Don't retry requests blocked by client (adblockers)
  • Retry with backoff after 429

2.41.0 (28 Jan 2021)

  • Remove all code related to Autotrack feature

2.40.1 (19 Jan 2021)

  • Add new crawler user agents to blocked list (pinterest, fb, bingpreview, more google crawlers etc)
  • Add debug-mode logging when opt-out/DNT is preventing tracking
  • Add more explicit console warning when embed script has been added multiple times on a single page

2.40.0 (2 Dec 2020)

  • Add persistent option to register(), to support setting superproperties only for the current pageload

... (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.48.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.47.0...v2.48.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 Nov 20, 2023
@vbaranov vbaranov merged commit b51a56c into master Nov 29, 2023
43 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/apps/block_scout_web/assets/mixpanel-browser-2.48.1 branch November 29, 2023 09:02
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.

None yet

1 participant