---
title: "mixpanel-browser 2.85.0 Breaking Changes on npm | Since.dev"
description: "What each mixpanel-browser release removed, renamed or changed: 6 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/mixpanel-browser
last_updated: 2026-12-04
---

# mixpanel-browser breaking changes

mixpanel-browser 2.85.0 (November 6, 2026) is its newest release with breaking changes, 5 of them. The first: Behavior changed opt_in_tracking. Every breaking API change we have recorded in mixpanel-browser on npm: 6 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.87.0`, released December 2, 2026. [Source repository](https://github.com/mixpanel/mixpanel-js)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.84.0](#v-2-84-0) to [2.85.0](#v-2-85-0): 5 breaking changes in 1 version.

## mixpanel-browser 2.85.0 breaking changes

mixpanel-browser 2.85.0, released November 6, 2026: 5 breaking changes.

- **Behavior changed** `opt_in_tracking`  

Under consent_mode 'require_consent' the persistence options passed to opt_in_tracking() are ignored. [github.com](https://github.com/mixpanel/mixpanel-js/releases/tag/v2.85.0)
- **Behavior changed** `opt_out_persistence_by_default`  

Under consent_mode 'require_consent' this option is ignored, so it no longer sets the default opt-out persistence. [github.com](https://github.com/mixpanel/mixpanel-js/releases/tag/v2.85.0)
- **Behavior changed** `opt_out_tracking`  

Under consent_mode 'require_consent' the persistence options passed to opt_out_tracking() are ignored. [github.com](https://github.com/mixpanel/mixpanel-js/releases/tag/v2.85.0)
- **Behavior changed** `opt_out_tracking_by_default`  

opt_out_tracking_by_default only applies when consent_mode is unset. Setting consent_mode to any value, including 'no_consent_required', turns it off, so code relying on it must be reviewed. [github.com](https://github.com/mixpanel/mixpanel-js/releases/tag/v2.85.0)
- **Behavior changed** `opt_out_tracking_persistence_type`  

Under consent_mode 'require_consent' this option is ignored, so it no longer controls where the opt-out decision is stored. [github.com](https://github.com/mixpanel/mixpanel-js/releases/tag/v2.85.0)

## mixpanel-browser 2.84.0 breaking changes

mixpanel-browser 2.84.0, released October 6, 2026: 1 breaking change.

- **Signature changed** `Config.hooks`  

Was hooks: {before_identify?: (new_distinct_id: string) => string | null; before_register?: (props: Dict, days_or_options?: number | Partial\<RegisterOptions>) => Dict | Array\<Dict | number | Partial\<RegisterOptions>> | null... [npmjs.com](https://www.npmjs.com/package/mixpanel-browser/v/2.84.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
