Skip to content

Releases: mixpanel/mixpanel-flutter

Release v2.3.3

25 Sep 23:51
Compare
Choose a tag to compare

v2.3.3 (2024-09-25)

Fixes

  • revert minsdk #166
  • revert android #165

Release v2.3.2

10 Sep 23:45
Compare
Choose a tag to compare

v2.3.2 (2024-09-10)

Enhancements

  • upgrade iOS SDK to 4.3.0 #162
  • Upgrade minSDK to 23 #161
  • Fix: Resolve compilation issues in SDK and main.dart #160
  • Lower js constraint to allow 0.6.x #142

Release v2.3.1

09 Apr 22:09
Compare
Choose a tag to compare

v2.3.1 (2024-04-09)

Enhancements

  • bump iOS to 4.2.5 and Android to 7.5.0 #141

Release v2.3.0

25 Mar 21:59
Compare
Choose a tag to compare

v2.3.0 (2024-03-25)

Enhancements

  • Update AGP to 8 and update all dependencies #139
  • upgrade js to 0.7.1 #138
  • Add Future return in some methods #136

Release 2.2.0

17 Nov 22:37
Compare
Choose a tag to compare

v2.2.0 (2023-11-17)

Enhancements

  • add api: setFlushBatchSize #102
  /// Set the number of events sent in a single network request to the Mixpanel server.
  /// By configuring this value, you can optimize network usage and manage the frequency of communication between the client
  /// and the server. The maximum size is 50; any value over 50 will default to 50.
  /// * [flushBatchSize] an int representing the number of events sent in a single network request.
  void setFlushBatchSize(int flushBatchSize) {
    _channel.invokeMethod<void>('setFlushBatchSize',
        <String, dynamic>{'flushBatchSize': flushBatchSize});
  }
  • bump iOS to 4.2.0

Release v2.1.1

23 Mar 04:05
Compare
Choose a tag to compare

v2.1.1 (2023-03-23)

Enhancements

  • bump iOS version to 4.1.0 #102

Release v2.1.0

06 Mar 07:31
Compare
Choose a tag to compare

v2.1.0 (2023-03-06)

NOTE:

  • From this version we will prefix randomly generated device-specific distinct_ids with "$device:". The prefix is applied the next time a new random ID is generated, any IDs generated by previous SDK versions and persisted on the device will continue to be used as-is until reset is called to generate a new ID. This does not change the value sent for the $device_id property, which will continue to be the randomly-generated ID without a prefix. Mixpanel's $identify endpoint has been updated to accept UUIDs with this prefix to coordinate with this change.

Enhancements

  • bump ios to 4.0.5 and android to 7.3.0 #99

Release v2.0.0

09 Sep 22:35
Compare
Choose a tag to compare

v2.0.0 (2022-09-09)

BREAKING CHANGE:

This major release removes all remaining calls to Mixpanel's /decide API endpoint. The main effect of this is that the SDK no longer fetches the remote status of your project's "Automatically collect common mobile events" setting. From this version forward, automatic event tracking can only be controlled by the, now required, parameter trackAutomaticEvents. Upon upgrading, existing implementations will need to add this parameter to their Mixpanel initializer calls.

import 'package:mixpanel_flutter/mixpanel_flutter.dart';

class MixpanelManager {
  static Mixpanel? _instance;

  static Future<Mixpanel> init() async {
    if (_instance == null) {
      _instance = await Mixpanel.init("YOUR_PROJECT_TOKEN", trackAutomaticEvents: true);
    }
    return _instance!;
  }
}

Enhancements

  • add param 'trackAutomaticEvents' to 'init' #86

Release v1.6.0

24 Jun 22:36
Compare
Choose a tag to compare

v1.6.0 (2022-06-24)

Enhancements

  • bump versions to get millisecond precision for event time property #82

Release v1.5.1

20 May 23:35
Compare
Choose a tag to compare

v1.5.1 (2022-05-20)

Enhancements

  • bump versions to remove survey #79