Skip to content

Releases: mixpanel/mixpanel-java

v1.11.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 16:44
d749bfb

Features

  • Implement semver and date custom ops for flags runtime props (#104)
  • add service account authentication support (#88)
  • add Source discriminated union with Fallback.Reason (SDK-79) (#89)

Fixes

  • guard polling start so concurrent callers don't leak executors (SDK-81) (#91)
  • keep polling alive when fetch throws a Throwable (SDK-86) (#93)
  • surface dropped exposure when distinct_id missing from context (SDK-84) (#90)

Full Changelog

openfeature/v0.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 16:44
4023607
release: prepare openfeature 0.2.0 (#103)

* release: prepare openfeature 0.2.0

* Bump base mixpanel-java dep to 1.10.0 for FallbackReason

MixpanelProvider now dispatches on Source.Fallback.Reason (added in
1.10.0 / SDK-79). Installing 0.2.0 alongside any pre-1.10.0
mixpanel-java would crash at runtime because that class doesn't exist.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Update null-key fallback tests to use Source.fallback explicitly

The two null-variant-key tests were written against the pre-SDK-79
detection where `isFallback()` returned `variantKey == null`. Under
1.10.0 (SDK-79 + SDK-130 wrapper dispatch), `isFallback()` is now
`source instanceof Source.Fallback`, and the 5-arg SelectedVariant
constructor defaults source to Source.local() — so a null-key variant
with no explicit source is a "real" local variant, not a fallback.

Construct the test variants with an explicit
Source.fallback(Source.Fallback.Reason.FLAG_NOT_FOUND) instead. This
exercises the same fallback-dispatch path the tests originally
targeted, using the new detection mechanism.

Renamed to `testFallbackSourceTreatedAsFallback...` since the null
key is no longer the signal — the fallback source is.

Local: mvn test in openfeature-provider → 35/35 pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tyler Roach <tyler.roach@mixpanel.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 16:44
1af2db3

Features

  • add Source discriminated union with Fallback.Reason (SDK-79) (#89)

Fixes

  • guard polling start so concurrent callers don't leak executors (SDK-81) (#91)
  • keep polling alive when fetch throws a Throwable (SDK-86) (#93)
  • surface dropped exposure when distinct_id missing from context (SDK-84) (#90)

Full Changelog

v1.9.0

Choose a tag to compare

@github-actions github-actions released this 29 May 19:05
963c170

Fixes

  • allow capability to offload reportExposure to async thread (#85)

Full Changelog

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 30 Apr 20:41
cedcdb3

Features

  • Add getAllVariantsByFlag (#70)

Full Changelog

OpenFeature Provider 0.1.1

Choose a tag to compare

@msiebert msiebert released this 22 Apr 17:44
de96dcc

What's Changed

  • fix(openfeature): handle JSONObject/JSONArray in objectToValue by @msiebert in #65

Maven

<dependency>
    <groupId>com.mixpanel</groupId>
    <artifactId>mixpanel-java-openfeature</artifactId>
    <version>0.1.1</version>
</dependency>

Links

Release 1.8.0

Choose a tag to compare

@msiebert msiebert released this 09 Apr 22:00
26a488c

What's Changed

  • Added shutdown() method to BaseFlagsProvider for proper resource cleanup by @msiebert in #59

Full Changelog: v1.7.0...v1.8.0

OpenFeature Provider 0.1.0

Choose a tag to compare

@msiebert msiebert released this 09 Apr 22:31
f08cf1d

What's Changed

  • Initial release of the Mixpanel OpenFeature Provider for Java, enabling use of Mixpanel feature flags through the OpenFeature Java SDK by @msiebert in #59

Maven

<dependency>
    <groupId>com.mixpanel</groupId>
    <artifactId>mixpanel-java-openfeature</artifactId>
    <version>0.1.0</version>
</dependency>

Links

Release 1.7.0

Choose a tag to compare

@github-actions github-actions released this 07 Jan 00:12

What's Changed

Full Changelog: v1.6.1...v1.7.0

Mixpanel Java SDK v1.7.0

Maven - Main SDK

<dependency>
    <groupId>com.mixpanel</groupId>
    <artifactId>mixpanel-java</artifactId>
    <version>1.7.0</version>
</dependency>

Maven - Jackson Extension (Optional)

<dependency>
    <groupId>com.mixpanel</groupId>
    <artifactId>mixpanel-java-extension-jackson</artifactId>
    <version>1.7.0</version>
</dependency>

Links

Release 1.6.1

Choose a tag to compare

@jaredmixpanel jaredmixpanel released this 12 Dec 00:25
e947df4

Mixpanel Java SDK v1.6.1

Maven - Main SDK

<dependency>
    <groupId>com.mixpanel</groupId>
    <artifactId>mixpanel-java</artifactId>
    <version>1.6.1</version>
</dependency>

Maven - Jackson Extension (Optional)

<dependency>
    <groupId>com.mixpanel</groupId>
    <artifactId>mixpanel-java-extension-jackson</artifactId>
    <version>1.6.1</version>
</dependency>

Example:

MixpanelApi mixpanel = new MixpanelApi.Builder()
    // Jackson serialization for ~5x performance on large batches
    .withJsonSerializer(new JacksonSerializer())
    
    // Configurable timeouts (in milliseconds)
    .withConnectTimeout(5000)  // 5 seconds
    .withReadTimeout(15000)    // 15 seconds
    
    // Import configuration
    .withImportStrictMode(false)    // Allow flexible historical data import
    .withMaxImportBatchSize(500)    // Increase from default 100
    
    .build();

What's Changed

  • add support for feature flags by @msiebert in #46
  • feat: Optional Jackson serialization for 5x performance improvement on large batches by @jaredmixpanel in #48
  • Add .github/copilot-instructions.md for coding agent onboarding by @Copilot in #52
  • Add copilot-setup-steps.yml for GitHub Copilot coding agent by @Copilot in #53
  • feat: Introduce MixpanelApi Builder pattern and expose JsonSerializer option by @tylerjroach in #51
  • feat: Configurable Connect/Read Timeouts by @tylerjroach in #55
  • feat: Configurable import strict mode and max import message count by @tylerjroach in #56

New Contributors

Full Changelog: v1.5.4...v1.6.1

Links