Skip to content

Release 1.6.1

Choose a tag to compare

@jaredmixpanel jaredmixpanel released this 12 Dec 00:25
· 27 commits to master since this release
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