Release notes
*Sourced from [mixpanel-browser's releases](https://github.com/mixpanel/mixpanel-js/releases).*
> ## New default API server
> The default API server address has changed from https://api.mixpanel.com to https://api-js.mixpanel.com. Functionality is unchanged.
Changelog
*Sourced from [mixpanel-browser's changelog](https://github.com/mixpanel/mixpanel-js/blob/master/CHANGELOG.md).*
> **2.31.0** (19 Nov 2019)
> - Default API server to api-js.mixpanel.com
>
> **2.29.1** (22 Aug 2019)
> - Fix race condition with event-triggered in-apps
>
> **2.29.0** (6 Jun 2019)
> - `mixpanel.identify()` now sends special `$identify` event for advanced identity management
> - Fix extraneous logging for Group API calls
>
> **2.28.0** (9 Apr 2019)
> - Support event triggered inapps
>
> **2.27.0** (7 Mar 2019)
> - Support cross-subdomain tracking on TLDs longer than 6 chars (thanks [@danielbaker](https://github.com/danielbaker))
> - Support configurable network protocol for inapp resources (thanks [@mkdai](https://github.com/mkdai))
> - Allow inapp links to open in new window/tab via config option (thanks [@mkdai](https://github.com/mkdai))
>
> **2.26.0** (9 Jan 2019)
> - Fix minification issue with DoNotTrack browser setting
> - Pass flag to backend indicating when $distinct_id might have been set to a pre-existing $distinct_id value instead of a generated UUID (used when resolving aliases)
>
> **2.25.0** (19 Dec 2018)
> - Change the behavior of `opt_out_tracking_by_default` to no longer override any existing opt status when the user has an opt-in cookie. It also no longer clears persistence when set to true.
> - Create a new param called `opt_out_persistence_by_default` which will determine whether SDK persistence is turned off during initialization
>
> **2.23.0** (23 Oct 2018)
> - Track `time` prop automatically with all events recording UTC timestamp (in seconds)
> as the client (browser) sees it. The automatic value can be overridden by setting the
> `time` prop explicitly in tracking calls.
> - Set `$user_id` and `$device_id` superprops automatically. This allows finer-grained
> identity management around linking anonymous, logged-in, and logged-out behavior.
>
> **2.22.4** (1 Jun 2018)
> - Ensure GDPR cookies are always cleared when possible
>
> **2.22.3** (25 May 2018)
> - Bugfix for previous patch
>
> **2.22.2** (25 May 2018)
> - Allow GDPR utils to use localStorage instead of cookies
>
> **2.22.1** (22 May 2018)
> - Add `xhr_headers` config option for sending extra headers with each request (thanks [@austince](https://github.com/austince))
>
> **2.22.0** (3 May 2018)
> - Add `cookie_prefix` option to GDPR opt-out utils, allowing customization of cookie name
> - Automatically delete user profile and charge data on GDPR opt-out (if specified)
>
> **2.21.0** (20 Apr 2018)
> ... (truncated)
Commits
- [`76f25da`](https://github.com/mixpanel/mixpanel-js/commit/76f25da3fc936f5e92e32b06583af5ee92c5f561) build 2.31.0
- [`6875384`](https://github.com/mixpanel/mixpanel-js/commit/6875384985322864bdb00569e74a22290fb0e4e2) Changed api.mixpanel.com to api-js.mixpanel.com
- [`7f7cd1d`](https://github.com/mixpanel/mixpanel-js/commit/7f7cd1df60b9ad4c052ba0f0bda842910a91b621) Merge pull request [#231](https://github-redirect.dependabot.com/mixpanel/mixpanel-js/issues/231) from mixpanel/dependabot/npm_and_yarn/morgan-1.9.1
- [`4440a60`](https://github.com/mixpanel/mixpanel-js/commit/4440a60059c34284d850512342d6800886836340) Merge pull request [#232](https://github-redirect.dependabot.com/mixpanel/mixpanel-js/issues/232) from mixpanel/dependabot/npm_and_yarn/examples/common...
- [`b549dfc`](https://github.com/mixpanel/mixpanel-js/commit/b549dfc6b054ce6b4d6f4d0bd64a45aea70908bc) Bump concat-stream in /examples/commonjs-browserify
- [`b46d410`](https://github.com/mixpanel/mixpanel-js/commit/b46d410cb56a980c9ba88c87c990cc49d7da4a72) Merge pull request [#230](https://github-redirect.dependabot.com/mixpanel/mixpanel-js/issues/230) from mixpanel/dependabot/npm_and_yarn/examples/es2015...
- [`20f3f96`](https://github.com/mixpanel/mixpanel-js/commit/20f3f96406e2ba7fc3481a1fbcca5ed98feead3b) Bump morgan from 1.5.2 to 1.9.1
- [`7545398`](https://github.com/mixpanel/mixpanel-js/commit/754539877c1f5636a7e18c3f58bb79e9ef779488) Bump concat-stream from 1.4.10 to 1.4.11 in /examples/es2015-babelify
- See full diff in [compare view](https://github.com/mixpanel/mixpanel-js/compare/v2.30.1...v2.31.0)
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.
If all status checks pass Dependabot will automatically merge this pull request.
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps mixpanel-browser from 2.30.1 to 2.31.0.
Release notes
*Sourced from [mixpanel-browser's releases](https://github.com/mixpanel/mixpanel-js/releases).* > ## New default API server > The default API server address has changed from https://api.mixpanel.com to https://api-js.mixpanel.com. Functionality is unchanged.Changelog
*Sourced from [mixpanel-browser's changelog](https://github.com/mixpanel/mixpanel-js/blob/master/CHANGELOG.md).* > **2.31.0** (19 Nov 2019) > - Default API server to api-js.mixpanel.com > > **2.29.1** (22 Aug 2019) > - Fix race condition with event-triggered in-apps > > **2.29.0** (6 Jun 2019) > - `mixpanel.identify()` now sends special `$identify` event for advanced identity management > - Fix extraneous logging for Group API calls > > **2.28.0** (9 Apr 2019) > - Support event triggered inapps > > **2.27.0** (7 Mar 2019) > - Support cross-subdomain tracking on TLDs longer than 6 chars (thanks [@danielbaker](https://github.com/danielbaker)) > - Support configurable network protocol for inapp resources (thanks [@mkdai](https://github.com/mkdai)) > - Allow inapp links to open in new window/tab via config option (thanks [@mkdai](https://github.com/mkdai)) > > **2.26.0** (9 Jan 2019) > - Fix minification issue with DoNotTrack browser setting > - Pass flag to backend indicating when $distinct_id might have been set to a pre-existing $distinct_id value instead of a generated UUID (used when resolving aliases) > > **2.25.0** (19 Dec 2018) > - Change the behavior of `opt_out_tracking_by_default` to no longer override any existing opt status when the user has an opt-in cookie. It also no longer clears persistence when set to true. > - Create a new param called `opt_out_persistence_by_default` which will determine whether SDK persistence is turned off during initialization > > **2.23.0** (23 Oct 2018) > - Track `time` prop automatically with all events recording UTC timestamp (in seconds) > as the client (browser) sees it. The automatic value can be overridden by setting the > `time` prop explicitly in tracking calls. > - Set `$user_id` and `$device_id` superprops automatically. This allows finer-grained > identity management around linking anonymous, logged-in, and logged-out behavior. > > **2.22.4** (1 Jun 2018) > - Ensure GDPR cookies are always cleared when possible > > **2.22.3** (25 May 2018) > - Bugfix for previous patch > > **2.22.2** (25 May 2018) > - Allow GDPR utils to use localStorage instead of cookies > > **2.22.1** (22 May 2018) > - Add `xhr_headers` config option for sending extra headers with each request (thanks [@austince](https://github.com/austince)) > > **2.22.0** (3 May 2018) > - Add `cookie_prefix` option to GDPR opt-out utils, allowing customization of cookie name > - Automatically delete user profile and charge data on GDPR opt-out (if specified) > > **2.21.0** (20 Apr 2018) > ... (truncated)Commits
- [`76f25da`](https://github.com/mixpanel/mixpanel-js/commit/76f25da3fc936f5e92e32b06583af5ee92c5f561) build 2.31.0 - [`6875384`](https://github.com/mixpanel/mixpanel-js/commit/6875384985322864bdb00569e74a22290fb0e4e2) Changed api.mixpanel.com to api-js.mixpanel.com - [`7f7cd1d`](https://github.com/mixpanel/mixpanel-js/commit/7f7cd1df60b9ad4c052ba0f0bda842910a91b621) Merge pull request [#231](https://github-redirect.dependabot.com/mixpanel/mixpanel-js/issues/231) from mixpanel/dependabot/npm_and_yarn/morgan-1.9.1 - [`4440a60`](https://github.com/mixpanel/mixpanel-js/commit/4440a60059c34284d850512342d6800886836340) Merge pull request [#232](https://github-redirect.dependabot.com/mixpanel/mixpanel-js/issues/232) from mixpanel/dependabot/npm_and_yarn/examples/common... - [`b549dfc`](https://github.com/mixpanel/mixpanel-js/commit/b549dfc6b054ce6b4d6f4d0bd64a45aea70908bc) Bump concat-stream in /examples/commonjs-browserify - [`b46d410`](https://github.com/mixpanel/mixpanel-js/commit/b46d410cb56a980c9ba88c87c990cc49d7da4a72) Merge pull request [#230](https://github-redirect.dependabot.com/mixpanel/mixpanel-js/issues/230) from mixpanel/dependabot/npm_and_yarn/examples/es2015... - [`20f3f96`](https://github.com/mixpanel/mixpanel-js/commit/20f3f96406e2ba7fc3481a1fbcca5ed98feead3b) Bump morgan from 1.5.2 to 1.9.1 - [`7545398`](https://github.com/mixpanel/mixpanel-js/commit/754539877c1f5636a7e18c3f58bb79e9ef779488) Bump concat-stream from 1.4.10 to 1.4.11 in /examples/es2015-babelify - See full diff in [compare view](https://github.com/mixpanel/mixpanel-js/compare/v2.30.1...v2.31.0)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
.If all status checks pass Dependabot will automatically merge this pull request.
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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)