Releases: mixpanel/mixpanel-swift
Releases · mixpanel/mixpanel-swift
Release v4.1.0
v4.1.0 (2023-03-23)
NOTE:
Starting from this version, we have added a new optional boolean parameter performFullFlush to the flush() method. Default to false, a partial flush will be executed for reducing memory footprint. The updated flush() is as follows:
/*
- parameter performFullFlush: A optional boolean value indicating whether a full flush should be performed. If `true`,
- a full flush will be triggered, sending all events to the server. Default to `false`, a partial flush will be executed
- for reducing memory footprint.
- parameter completion: an optional completion handler for when the flush has completed.
*/
public func flush(performFullFlush: Bool = false, completion: (() -> Void)? = nil)
Enhancements
Release v4.0.6
Release v4.0.5
v4.0.5 (2023-03-01)
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
Fixes
Release v4.0.4
Release v4.0.3
Release v4.0.2
Release v4.0.1
Release v4.0.0
v4.0.0 (2022-08-16)
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.
Enhancements
- Remove Decide and make trackAutomaticEvents required parameter #545