Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2025

Bumps mixpanel from 0.18.1 to 0.19.1.

Release notes

Sourced from mixpanel's releases.

Support for Mixpanel Feature Flags

The SDK can now be used to load and evaluate Mixpanel Feature Flags (see https://docs.mixpanel.com/docs/featureflags). It supports two modes of operation, remote evaluation and local evaluation.

Remote Evaluation

const mixpanel = Mixpanel.init(`<YOUR_TOKEN>`, {
  remote_flags_config: {
    // optional configuration
    request_timeout_in_seconds: 5,
  },
});
// or to enable remote evaluation with no custom configuration:
const mixpanel = Mixpanel.init(&lt;YOUR_TOKEN&gt;, {
remote_flags_config: {},
});
// A network call is made to fetch the assigned variant for a user
const variantValue = await mixpanel.remote_flags.getVariantValue(&lt;YOUR_FLAG_KEY&gt;, &lt;FALLBACK_VARIANT&gt;, {
distinct_id : &lt;USER DISTINCT ID&gt;,
});

Local Evaluation

const mixpanel = Mixpanel.init(`YOUR_PROJECT_TOKEN`, {
  local_flags_config: {
    enable_polling: true,
    polling_interval_in_seconds: 60,
  },
});
// or to enable local evaluation with no custom configuration:
const mixpanel = Mixpanel.init(&lt;YOUR_TOKEN&gt;, {
local_flags_config: {},
});
// Polls the endpoint for flag definitions
mixpanel.local_flags.startPollingForDefinitions();
// User is quickly assigned to a variant based on polled flag definitions
const variantValue = mixpanel.local_flags.getVariantValue(&lt;YOUR_FLAG_KEY&gt;, &lt;FALLBACK_VARIANT&gt;, {
distinct_id : &lt;USER_DISTINCT_ID,
});

Further Node.js-specific Feature Flags documentation is available at https://docs.mixpanel.com/docs/tracking-methods/sdks/nodejs/nodejs-flags.

Changelog

Sourced from mixpanel's changelog.

0.19.1 / 2025-11-13

  • fix for .d.ts issue introduced in v0.19.0

0.19.0 / 2025-11-12

  • initial support for Feature Flags
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](https://github.com/mixpanel/mixpanel-node) from 0.18.1 to 0.19.1.
- [Release notes](https://github.com/mixpanel/mixpanel-node/releases)
- [Changelog](https://github.com/mixpanel/mixpanel-node/blob/master/history.md)
- [Commits](mixpanel/mixpanel-node@v0.18.1...v0.19.1)

---
updated-dependencies:
- dependency-name: mixpanel
  dependency-version: 0.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 9, 2025
@github-actions github-actions bot enabled auto-merge December 9, 2025 05:19
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.

1 participant